ATLAS Offline Software
MuonPatternCombinationDetailedTrackTruthMaker.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONPATTERNCOMBINATIONDETAILEDTRACKTRUTHMAKER_H
6 #define MUONPATTERNCOMBINATIONDETAILEDTRACKTRUTHMAKER_H
7 
8 #include <string>
9 #include <vector>
10 
12 #include "GaudiKernel/ToolHandle.h"
14 
23 public:
24  MuonPatternCombinationDetailedTrackTruthMaker(const std::string &name, ISvcLocator *pSvcLocator);
25 
26  virtual StatusCode initialize();
27  virtual StatusCode execute();
28 
29 private:
30  Gaudi::Property<std::vector<std::string>> m_PRD_TruthNames{
31  this, "PRD_TruthNames", {"CSC_TruthMap", "RPC_TruthMap", "TGC_TruthMap", "MDT_TruthMap"}, "PRD truth maps in any order"};
32 
33  Gaudi::Property<std::string> m_trackCollectionName{this, "TrackCollectionName", "MooreTracks", "Track input"};
34 
35  Gaudi::Property<std::string> m_collection{this, "MuonPatternCombinationCollection", "MuonHoughPatternCombinations",
36  "Muon pattern combination collection input"};
37 
38  Gaudi::Property<std::string> m_detailedTrackTruthName{this, "DetailedTrackTruthNames", "", "DetailedTrackTruthCollection output"};
39 
40  ToolHandle<Trk::IDetailedMuonPatternTruthBuilder> m_truthTool{this, "TruthTool",
41  "Trk::DetailedMuonPatternTruthBuilder/DetailedMuonPatternTruthBuilder"};
42 };
43 
44 #endif /*MUONPATTERNCOMBINATIONDETAILEDTRACKTRUTHMAKER_H*/
IDetailedMuonPatternTruthBuilder.h
MuonPatternCombinationDetailedTrackTruthMaker::execute
virtual StatusCode execute()
Definition: MuonPatternCombinationDetailedTrackTruthMaker.cxx:32
AthAlgorithm.h
MuonPatternCombinationDetailedTrackTruthMaker::initialize
virtual StatusCode initialize()
Definition: MuonPatternCombinationDetailedTrackTruthMaker.cxx:25
MuonPatternCombinationDetailedTrackTruthMaker::m_collection
Gaudi::Property< std::string > m_collection
Definition: MuonPatternCombinationDetailedTrackTruthMaker.h:35
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonPatternCombinationDetailedTrackTruthMaker
This algorithm produces track truth data using Muon PRD truth collections.
Definition: MuonPatternCombinationDetailedTrackTruthMaker.h:22
AthAlgorithm
Definition: AthAlgorithm.h:47
MuonPatternCombinationDetailedTrackTruthMaker::m_trackCollectionName
Gaudi::Property< std::string > m_trackCollectionName
Definition: MuonPatternCombinationDetailedTrackTruthMaker.h:33
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
MuonPatternCombinationDetailedTrackTruthMaker::MuonPatternCombinationDetailedTrackTruthMaker
MuonPatternCombinationDetailedTrackTruthMaker(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MuonPatternCombinationDetailedTrackTruthMaker.cxx:18
MuonPatternCombinationDetailedTrackTruthMaker::m_truthTool
ToolHandle< Trk::IDetailedMuonPatternTruthBuilder > m_truthTool
Definition: MuonPatternCombinationDetailedTrackTruthMaker.h:40
MuonPatternCombinationDetailedTrackTruthMaker::m_detailedTrackTruthName
Gaudi::Property< std::string > m_detailedTrackTruthName
Definition: MuonPatternCombinationDetailedTrackTruthMaker.h:38
MuonPatternCombinationDetailedTrackTruthMaker::m_PRD_TruthNames
Gaudi::Property< std::vector< std::string > > m_PRD_TruthNames
Definition: MuonPatternCombinationDetailedTrackTruthMaker.h:30