ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetTruth
InDetTruthAlgs
InDetTruthAlgs
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
10
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
11
#include "GaudiKernel/ToolHandle.h"
12
#include "
StoreGate/ReadHandle.h
"
13
#include "
StoreGate/WriteHandle.h
"
14
15
#include "
TrkTruthData/DetailedTrackTruthCollection.h
"
16
#include "
TrkTrack/TrackCollection.h
"
17
18
#include "
TrkToolInterfaces/IDetailedTrackTruthBuilder.h
"
19
20
#include "
TrkTruthData/PRD_MultiTruthCollection.h
"
21
22
namespace
InDet
{
23
30
31
class
InDetDetailedTrackTruthMaker
:
public
AthReentrantAlgorithm
{
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
42
SG::ReadHandleKey<PRD_MultiTruthCollection>
m_PRDTruthNamePixel
;
43
SG::ReadHandleKey<PRD_MultiTruthCollection>
m_PRDTruthNameSCT
;
44
SG::ReadHandleKey<PRD_MultiTruthCollection>
m_PRDTruthNameTRT
;
45
// Track input
46
SG::ReadHandleKey<TrackCollection>
m_trackCollectionName
;
47
48
// DetailedTrackTruthCollection output
49
SG::WriteHandleKey<DetailedTrackTruthCollection>
m_detailedTrackTruthName
;
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*/
AthReentrantAlgorithm.h
DetailedTrackTruthCollection.h
IDetailedTrackTruthBuilder.h
PRD_MultiTruthCollection.h
ReadHandle.h
Handle class for reading from StoreGate.
WriteHandle.h
Handle class for recording to StoreGate.
TrackCollection.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
InDet::InDetDetailedTrackTruthMaker::execute
virtual StatusCode execute(const EventContext &ctx) const
Definition
InDetDetailedTrackTruthMaker.cxx:67
InDet::InDetDetailedTrackTruthMaker::m_detailedTrackTruthName
SG::WriteHandleKey< DetailedTrackTruthCollection > m_detailedTrackTruthName
Definition
InDetDetailedTrackTruthMaker.h:49
InDet::InDetDetailedTrackTruthMaker::m_trackCollectionName
SG::ReadHandleKey< TrackCollection > m_trackCollectionName
Definition
InDetDetailedTrackTruthMaker.h:46
InDet::InDetDetailedTrackTruthMaker::finalize
virtual StatusCode finalize()
Definition
InDetDetailedTrackTruthMaker.cxx:60
InDet::InDetDetailedTrackTruthMaker::m_PRDTruthNameTRT
SG::ReadHandleKey< PRD_MultiTruthCollection > m_PRDTruthNameTRT
Definition
InDetDetailedTrackTruthMaker.h:44
InDet::InDetDetailedTrackTruthMaker::m_truthTool
ToolHandle< Trk::IDetailedTrackTruthBuilder > m_truthTool
Definition
InDetDetailedTrackTruthMaker.h:52
InDet::InDetDetailedTrackTruthMaker::InDetDetailedTrackTruthMaker
InDetDetailedTrackTruthMaker(const std::string &name, ISvcLocator *pSvcLocator)
Definition
InDetDetailedTrackTruthMaker.cxx:15
InDet::InDetDetailedTrackTruthMaker::initialize
virtual StatusCode initialize()
Definition
InDetDetailedTrackTruthMaker.cxx:34
InDet::InDetDetailedTrackTruthMaker::m_PRDTruthNamePixel
SG::ReadHandleKey< PRD_MultiTruthCollection > m_PRDTruthNamePixel
Definition
InDetDetailedTrackTruthMaker.h:42
InDet::InDetDetailedTrackTruthMaker::m_PRDTruthNameSCT
SG::ReadHandleKey< PRD_MultiTruthCollection > m_PRDTruthNameSCT
Definition
InDetDetailedTrackTruthMaker.h:43
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Generated on
for ATLAS Offline Software by
1.17.0