ATLAS Offline Software
TrackTruthSimilaritySelector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRACKTRUTHSIMILARITYSELECTOR_H
6 #define TRACKTRUTHSIMILARITYSELECTOR_H
7 
8 #include <string>
9 #include <vector>
10 
12 #include "GaudiKernel/ToolHandle.h"
16 
18 public:
19  TrackTruthSimilaritySelector(const std::string &name,ISvcLocator *pSvcLocator);
20 
21  virtual StatusCode initialize() override;
22  virtual StatusCode execute() override;
23  virtual StatusCode finalize() override;
24 
25 private:
26  // DetailedTrackTruthCollection input
27  SG::ReadHandleKey<DetailedTrackTruthCollection> m_detailed{this, "DetailedTrackTruthName", "", ""};
28 
29  // TrackTruthCollection output
30  SG::WriteHandleKey<TrackTruthCollection> m_out{this, "OutputName", "", ""};
31 
32  // Match quality tool
33  ToolHandle<Trk::IDetailedTrackTruthSimilarity> m_matchTool
34  {this, "TrackTruthSimilarityTool", "Trk::TruthMatchRatio", "Track-truth similarity tool"};
35 
37 };
38 
39 #endif/*TRACKTRUTHSIMILARITYSELECTOR_H*/
IDetailedTrackTruthSimilarity.h
TrackTruthSimilaritySelector::m_out
SG::WriteHandleKey< TrackTruthCollection > m_out
Definition: TrackTruthSimilaritySelector.h:30
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
TrackTruthSimilaritySelector::finalize
virtual StatusCode finalize() override
Definition: TrackTruthSimilaritySelector.cxx:28
TrackTruthSimilaritySelector
Definition: TrackTruthSimilaritySelector.h:17
SG::ReadHandleKey< DetailedTrackTruthCollection >
TrackTruthSimilaritySelector::m_detailed
SG::ReadHandleKey< DetailedTrackTruthCollection > m_detailed
Definition: TrackTruthSimilaritySelector.h:27
TrackTruthSimilaritySelector::execute
virtual StatusCode execute() override
Definition: TrackTruthSimilaritySelector.cxx:34
AthAlgorithm.h
TrackTruthCollection
Definition: TrackTruthCollection.h:21
DetailedTrackTruthCollection.h
SG::WriteHandleKey< TrackTruthCollection >
TrackTruthCollection.h
TrackTruthSimilaritySelector::fillOutput
void fillOutput(TrackTruthCollection *out, const DetailedTrackTruthCollection *in)
Definition: TrackTruthSimilaritySelector.cxx:65
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrackTruthSimilaritySelector::m_matchTool
ToolHandle< Trk::IDetailedTrackTruthSimilarity > m_matchTool
Definition: TrackTruthSimilaritySelector.h:34
AthAlgorithm
Definition: AthAlgorithm.h:47
TrackTruthSimilaritySelector::TrackTruthSimilaritySelector
TrackTruthSimilaritySelector(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrackTruthSimilaritySelector.cxx:12
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
DetailedTrackTruthCollection
Definition: DetailedTrackTruthCollection.h:20
TrackTruthSimilaritySelector::initialize
virtual StatusCode initialize() override
Definition: TrackTruthSimilaritySelector.cxx:18