ATLAS Offline Software
InDetDetailedTrackTruthMaker.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef INDETDETAILEDTRACKTRUTHMAKER_H
6 #define INDETDETAILEDTRACKTRUTHMAKER_H
7 
8 #include <string>
9 
11 #include "GaudiKernel/ToolHandle.h"
12 #include "StoreGate/ReadHandle.h"
13 #include "StoreGate/WriteHandle.h"
14 
17 
19 
21 
22 namespace InDet {
23 
32 
33 public:
34  InDetDetailedTrackTruthMaker(const std::string &name,ISvcLocator *pSvcLocator);
35 
36  virtual StatusCode initialize();
37  virtual StatusCode execute(const EventContext &ctx) const;
38  virtual StatusCode finalize();
39 
40 private:
41  // PRD inputs
45  // Track input
47 
48  // DetailedTrackTruthCollection output
50 
51  // Tool Handle for truth tool
52  ToolHandle<Trk::IDetailedTrackTruthBuilder> m_truthTool;
53 
54 };
55 
56 
57 } // namespace InDet
58 
59 #endif/*INDETDETAILEDTRACKTRUTHMAKER_H*/
IDetailedTrackTruthBuilder.h
InDet::InDetDetailedTrackTruthMaker::m_PRDTruthNameTRT
SG::ReadHandleKey< PRD_MultiTruthCollection > m_PRDTruthNameTRT
Definition: InDetDetailedTrackTruthMaker.h:44
InDet
DUMMY Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::InDetDetailedTrackTruthMaker::m_detailedTrackTruthName
SG::WriteHandleKey< DetailedTrackTruthCollection > m_detailedTrackTruthName
Definition: InDetDetailedTrackTruthMaker.h:49
InDet::InDetDetailedTrackTruthMaker::m_PRDTruthNameSCT
SG::ReadHandleKey< PRD_MultiTruthCollection > m_PRDTruthNameSCT
Definition: InDetDetailedTrackTruthMaker.h:43
SG::ReadHandleKey< PRD_MultiTruthCollection >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
WriteHandle.h
Handle class for recording to StoreGate.
DetailedTrackTruthCollection.h
SG::WriteHandleKey< DetailedTrackTruthCollection >
InDet::InDetDetailedTrackTruthMaker::m_truthTool
ToolHandle< Trk::IDetailedTrackTruthBuilder > m_truthTool
Definition: InDetDetailedTrackTruthMaker.h:52
InDet::InDetDetailedTrackTruthMaker::m_trackCollectionName
SG::ReadHandleKey< TrackCollection > m_trackCollectionName
Definition: InDetDetailedTrackTruthMaker.h:46
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDet::InDetDetailedTrackTruthMaker::finalize
virtual StatusCode finalize()
Definition: InDetDetailedTrackTruthMaker.cxx:60
TrackCollection.h
InDet::InDetDetailedTrackTruthMaker::initialize
virtual StatusCode initialize()
Definition: InDetDetailedTrackTruthMaker.cxx:34
AthReentrantAlgorithm.h
InDet::InDetDetailedTrackTruthMaker::execute
virtual StatusCode execute(const EventContext &ctx) const
Definition: InDetDetailedTrackTruthMaker.cxx:67
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
InDet::InDetDetailedTrackTruthMaker::InDetDetailedTrackTruthMaker
InDetDetailedTrackTruthMaker(const std::string &name, ISvcLocator *pSvcLocator)
Definition: InDetDetailedTrackTruthMaker.cxx:15
InDet::InDetDetailedTrackTruthMaker
This algorithm produces track truth data using InDet PRD truth collections.
Definition: InDetDetailedTrackTruthMaker.h:31
InDet::InDetDetailedTrackTruthMaker::m_PRDTruthNamePixel
SG::ReadHandleKey< PRD_MultiTruthCollection > m_PRDTruthNamePixel
Definition: InDetDetailedTrackTruthMaker.h:42
PRD_MultiTruthCollection.h
ReadHandle.h
Handle class for reading from StoreGate.