ATLAS Offline Software
TrkTrackFakeWriter.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRKTRACKFAKEWRITER_H
6 #define TRKTRACKFAKEWRITER_H
7 
34 #include "FakeTrackBuilder.h"
35 class PixelID;
36 class SCT_ID;
37 class TRT_ID;
38 
39 
41 
43  // Public methods:
45 public:
46 
48  TrkTrackFakeWriter(const std::string &name,ISvcLocator *pSvcLocator);
49 
51  virtual StatusCode initialize();
52 
54  virtual StatusCode execute();
55 
57  virtual StatusCode finalize();
58 
60  // Private methods:
62 private:
63 
66 
69 
72 
74  // Private data:
76 private:
77 
78  SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_pixelDetEleCollKey{this, "PixelDetEleCollKey", "PixelDetectorElementCollection", "Key of SiDetectorElementCollection for Pixel"};
79 
80  unsigned int m_eventcounter;
81  bool m_doInDet;
83 
84 };
85 
86 #endif // INDETRAWDATAFAKEWRITER_H
87 
88 
TrkTrackFakeWriter
Test Algorithm for POOL I/O uses TrkTracks as test data.
Definition: TrkTrackFakeWriter.h:40
TRT_RDO_Container.h
TrkTrackFakeWriter::initialize
virtual StatusCode initialize()
Algorithm initialize at begin of job.
Definition: TrkTrackFakeWriter.cxx:72
TrkTrackFakeWriter::finalize
virtual StatusCode finalize()
Algorithm finalize at end of job.
Definition: TrkTrackFakeWriter.cxx:116
TrkTrackFakeWriter::m_doInDet
bool m_doInDet
Definition: TrkTrackFakeWriter.h:81
TrkTrackFakeWriter::m_eventcounter
unsigned int m_eventcounter
Definition: TrkTrackFakeWriter.h:80
TrkTrackFakeWriter::TrkTrackFakeWriter
TrkTrackFakeWriter()
Avoid use of default constructor.
TrkTrackFakeWriter::m_addBrokenTracks
bool m_addBrokenTracks
Definition: TrkTrackFakeWriter.h:82
AthAlgorithm.h
SCT_RDO_Container.h
FakeTrackBuilder.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrkTrackFakeWriter::m_pixelDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
Definition: TrkTrackFakeWriter.h:78
AthAlgorithm
Definition: AthAlgorithm.h:47
TrkTrackFakeWriter::execute
virtual StatusCode execute()
Algorithm execute once per event.
Definition: TrkTrackFakeWriter.cxx:83
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TrkTrackFakeWriter::operator=
TrkTrackFakeWriter & operator=(const TrkTrackFakeWriter &)
Avoid use of copy operator.
SiDetectorElementCollection.h
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection >
SiClusterContainer.h
TRT_ID
Definition: TRT_ID.h:84
SCT_ID
Definition: SCT_ID.h:68
PixelID
Definition: PixelID.h:67
TrkTrackFakeWriter::TrkTrackFakeWriter
TrkTrackFakeWriter(const TrkTrackFakeWriter &)
Avoid use of copy constructor.