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

InDetTrackScoringTools: Fix compilation warnings.

Compilation warnings: Initialization ordering.
parent 1c4febfd
No related branches found
No related tags found
No related merge requests found
......@@ -31,11 +31,6 @@ InDet::InDetAmbiScoringTool::InDetAmbiScoringTool(const std::string& t,
const std::string& n,
const IInterface* p ) :
AthAlgTool(t,n,p),
m_trkSummaryTool("Trk::TrackSummaryTool"),
m_selectortool("InDet::InDetTrtDriftCircleCutTool"),
m_summaryTypeScore(Trk::numberOfTrackSummaryTypes),
m_iBeamCondSvc("BeamCondSvc",n),
m_magFieldSvc("AtlasFieldSvc",n),
// Initialization of ScoreModifiers variables
m_maxDblHoles(-1),
m_maxPixHoles(-1),
......@@ -48,7 +43,12 @@ InDet::InDetAmbiScoringTool::InDetAmbiScoringTool(const std::string& t,
m_maxPixelHits(-1),
m_maxPixLay(-1),
m_maxLogProb(-1),
m_maxGangedFakes(-1)
m_maxGangedFakes(-1),
m_trkSummaryTool("Trk::TrackSummaryTool"),
m_selectortool("InDet::InDetTrtDriftCircleCutTool"),
m_summaryTypeScore(Trk::numberOfTrackSummaryTypes),
m_iBeamCondSvc("BeamCondSvc",n),
m_magFieldSvc("AtlasFieldSvc",n)
{
declareInterface<Trk::ITrackScoringTool>(this);
......
......@@ -22,17 +22,17 @@ InDet::InDetTrtTrackScoringTool::InDetTrtTrackScoringTool(const std::string& t,
const std::string& n,
const IInterface* p ) :
AthAlgTool(t,n,p),
m_summaryTypeScore(Trk::numberOfTrackSummaryTypes),
m_trkSummaryTool("Trk::TrackSummaryTool"),
m_selectortool("InDet::InDetTrtDriftCircleCutTool"),
m_magFieldSvc("AtlasFieldSvc",n),
// Initialization of ID TRT helper
m_trtId(nullptr),
// Initialization of ScoreModifiers variables
m_maxSigmaChi2(-1),
m_maxLogProb(-1),
m_maxTrtRatio(-1),
m_maxTrtFittedRatio(-1)
m_maxTrtFittedRatio(-1),
m_summaryTypeScore(Trk::numberOfTrackSummaryTypes),
m_trkSummaryTool("Trk::TrackSummaryTool"),
m_selectortool("InDet::InDetTrtDriftCircleCutTool"),
m_magFieldSvc("AtlasFieldSvc",n)
{
declareInterface<Trk::ITrackScoringTool>(this);
......
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