ATLAS Offline Software
RDOReaderDoubleSelector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ATHENAPOOLTEST_RDOREADERDOUBLESELECTOR_H
6 #define ATHENAPOOLTEST_RDOREADERDOUBLESELECTOR_H
7 
21 
22 class PixelID;
23 class SCT_ID;
24 class TRT_ID;
25 class CaloCell_ID;
26 class CaloCellContainer;
27 
29 
31  // Public methods:
33 public:
34 
36  RDOReaderDoubleSelector(const std::string &name,ISvcLocator *pSvcLocator);
37 
39  virtual StatusCode initialize() override;
40 
42  virtual StatusCode execute() override;
43 
45  virtual StatusCode finalize() override;
46 
48  // Private methods:
50 private:
51 
54 
57 
60 
62  // Private data:
64 private:
65 
67  StatusCode checkPixel() const;
68 
70  StatusCode checkSCT() const;
71 
73  StatusCode checkTRT() const;
74 
76  StatusCode checkCells() const;
77 
79  void printCells(const CaloCellContainer* larCont) const;
80 
83 
85  const SCT_ID* m_sctId;
86 
88  const TRT_ID* m_trtId;
89 
92  , "CaloDetDescrManager"
93  , "CaloDetDescrManager"
94  , "SG Key for CaloDetDescrManager in the Condition Store" };
95 
98 };
99 
100 #endif // RDOREADERDOUBLESELECTOR_H
RDOReaderDoubleSelector::m_sctId
const SCT_ID * m_sctId
IDhelper for creating objects.
Definition: RDOReaderDoubleSelector.h:85
RDOReaderDoubleSelector::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Need DD mgr to create cells.
Definition: RDOReaderDoubleSelector.h:91
RDOReaderDoubleSelector::execute
virtual StatusCode execute() override
Algorithm execute once per event.
Definition: RDOReaderDoubleSelector.cxx:76
RDOReaderDoubleSelector::finalize
virtual StatusCode finalize() override
Algorithm finalize at end of job.
Definition: RDOReaderDoubleSelector.cxx:467
RDOReaderDoubleSelector::m_calocellId
const CaloCell_ID * m_calocellId
Need id helper to create cells.
Definition: RDOReaderDoubleSelector.h:97
RDOReaderDoubleSelector::RDOReaderDoubleSelector
RDOReaderDoubleSelector()
Avoid use of default constructor.
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
AthAlgorithm.h
RDOReaderDoubleSelector::checkTRT
StatusCode checkTRT() const
Compare objects read with newly created ones.
Definition: RDOReaderDoubleSelector.cxx:273
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
RDOReaderDoubleSelector::checkCells
StatusCode checkCells() const
Compare objects read with newly created ones.
Definition: RDOReaderDoubleSelector.cxx:365
RDOReaderDoubleSelector::printCells
void printCells(const CaloCellContainer *larCont) const
Print out cell info.
Definition: RDOReaderDoubleSelector.cxx:437
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
RDOReaderDoubleSelector::m_pixelId
const PixelID * m_pixelId
IDhelper for creating objects.
Definition: RDOReaderDoubleSelector.h:82
SG::ReadCondHandleKey< CaloDetDescrManager >
TRT_ID
Definition: TRT_ID.h:84
RDOReaderDoubleSelector::initialize
virtual StatusCode initialize() override
Algorithm initialize at begin of job.
Definition: RDOReaderDoubleSelector.cxx:61
RDOReaderDoubleSelector::m_trtId
const TRT_ID * m_trtId
IDhelper for creating objects.
Definition: RDOReaderDoubleSelector.h:88
SCT_ID
Definition: SCT_ID.h:68
RDOReaderDoubleSelector::RDOReaderDoubleSelector
RDOReaderDoubleSelector(const RDOReaderDoubleSelector &)
Avoid use of copy constructor.
RDOReaderDoubleSelector::checkPixel
StatusCode checkPixel() const
Compare objects read with newly created ones.
Definition: RDOReaderDoubleSelector.cxx:87
RDOReaderDoubleSelector::checkSCT
StatusCode checkSCT() const
Compare objects read with newly created ones.
Definition: RDOReaderDoubleSelector.cxx:188
PixelID
Definition: PixelID.h:67
RDOReaderDoubleSelector
Definition: RDOReaderDoubleSelector.h:28
RDOReaderDoubleSelector::operator=
RDOReaderDoubleSelector & operator=(const RDOReaderDoubleSelector &)
Avoid use of copy operator.