Skip to content
Snippets Groups Projects
Commit 234445bb authored by scott snyder's avatar scott snyder
Browse files

NSWCalibTools: Fix read of uninitialied member.

Make sure members of CalibratedStrip are initialized.
See ATLASRECTS-5988.
parent ebc3af9f
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
#ifndef INSWCalibTool_h
#define INSWCalibTool_h
......@@ -19,13 +19,13 @@ static const InterfaceID IID_INSWCalibTool("Muon::INSWCalibTool",1,0);
namespace NSWCalib {
struct CalibratedStrip {
double charge;
double time;
double resTime;
double distDrift;
double resTransDistDrift;
double resLongDistDrift;
double dx;
double charge = 0;
double time = 0;
double resTime = 0;
double distDrift = 0;
double resTransDistDrift = 0;
double resLongDistDrift = 0;
double dx = 0;
Identifier identifier;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment