ATLAS Offline Software
TrkTrackFakeReader.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 TRKTRACKFAKEREADER_H
6 #define TRKTRACKFAKEREADER_H
7 
27 // Base class
31 #include <string>
32 
33 
34 namespace Trk {
35  class Track;
36 }
38 
40  // Public methods:
42 public:
43 
45  TrkTrackFakeReader(const std::string &name,ISvcLocator *pSvcLocator);
46 
48  virtual StatusCode initialize();
49 
51  virtual StatusCode execute();
52 
54  virtual StatusCode finalize();
55 
57  // Private methods:
59 private:
60 
62  // Private data:
64 private:
65 
66  void compareTracks(const Trk::Track* ref, const Trk::Track* readTrk);
67 
68  SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_pixelDetEleCollKey{this, "PixelDetEleCollKey", "PixelDetectorElementCollection", "Key of SiDetectorElementCollection for Pixel"};
69 
70 };
71 
72 #endif // INDETRAWDATAFAKEREADER_H
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
TrkTrackFakeReader::finalize
virtual StatusCode finalize()
Algorithm finalize at end of job.
Definition: TrkTrackFakeReader.cxx:98
TrkTrackFakeReader::initialize
virtual StatusCode initialize()
Algorithm initialize at begin of job.
Definition: TrkTrackFakeReader.cxx:60
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
TrkTrackFakeReader::m_pixelDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
Definition: TrkTrackFakeReader.h:68
TrkTrackFakeReader::execute
virtual StatusCode execute()
Algorithm execute once per event.
Definition: TrkTrackFakeReader.cxx:68
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SiDetectorElementCollection.h
TrkTrackFakeReader::TrkTrackFakeReader
TrkTrackFakeReader(const std::string &name, ISvcLocator *pSvcLocator)
Algorithm constructor.
Definition: TrkTrackFakeReader.cxx:54
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection >
ref
const boost::regex ref(r_ef)
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
TrkTrackFakeReader
Test Algorithm for POOL I/O uses TrkTracks as test data.
Definition: TrkTrackFakeReader.h:37
TrkTrackFakeReader::compareTracks
void compareTracks(const Trk::Track *ref, const Trk::Track *readTrk)
Definition: TrkTrackFakeReader.cxx:104