ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
AtlasTest
DatabaseTest
AthenaPoolTest
src
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
17
18
#include "
AthenaBaseComps/AthAlgorithm.h
"
19
#include "
CaloDetDescr/CaloDetDescrManager.h
"
20
#include "
StoreGate/ReadCondHandleKey.h
"
21
22
class
PixelID
;
23
class
SCT_ID
;
24
class
TRT_ID
;
25
class
CaloCell_ID
;
26
class
CaloCellContainer
;
27
28
class
RDOReaderDoubleSelector
:
public
AthAlgorithm
{
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
(
const
EventContext& ctx)
override
;
43
45
virtual
StatusCode
finalize
()
override
;
46
48
// Private methods:
50
private
:
51
53
RDOReaderDoubleSelector
();
54
56
RDOReaderDoubleSelector
(
const
RDOReaderDoubleSelector
&);
57
59
RDOReaderDoubleSelector
&
operator=
(
const
RDOReaderDoubleSelector
&);
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
82
const
PixelID
*
m_pixelId
;
83
85
const
SCT_ID
*
m_sctId
;
86
88
const
TRT_ID
*
m_trtId
;
89
91
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloMgrKey
{ this
92
,
"CaloDetDescrManager"
93
,
"CaloDetDescrManager"
94
,
"SG Key for CaloDetDescrManager in the Condition Store"
};
95
97
const
CaloCell_ID
*
m_calocellId
;
98
};
99
100
#endif
// RDOREADERDOUBLESELECTOR_H
AthAlgorithm.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
ReadCondHandleKey.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
CaloCellContainer
Container class for CaloCell.
Definition
CaloCellContainer.h:55
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
PixelID
This is an Identifier helper class for the Pixel subdetector.
Definition
PixelID.h:69
RDOReaderDoubleSelector::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Need DD mgr to create cells.
Definition
RDOReaderDoubleSelector.h:91
RDOReaderDoubleSelector::m_trtId
const TRT_ID * m_trtId
IDhelper for creating objects.
Definition
RDOReaderDoubleSelector.h:88
RDOReaderDoubleSelector::checkPixel
StatusCode checkPixel() const
Compare objects read with newly created ones.
Definition
RDOReaderDoubleSelector.cxx:87
RDOReaderDoubleSelector::checkCells
StatusCode checkCells() const
Compare objects read with newly created ones.
Definition
RDOReaderDoubleSelector.cxx:365
RDOReaderDoubleSelector::finalize
virtual StatusCode finalize() override
Algorithm finalize at end of job.
Definition
RDOReaderDoubleSelector.cxx:467
RDOReaderDoubleSelector::m_pixelId
const PixelID * m_pixelId
IDhelper for creating objects.
Definition
RDOReaderDoubleSelector.h:82
RDOReaderDoubleSelector::initialize
virtual StatusCode initialize() override
Algorithm initialize at begin of job.
Definition
RDOReaderDoubleSelector.cxx:61
RDOReaderDoubleSelector::checkSCT
StatusCode checkSCT() const
Compare objects read with newly created ones.
Definition
RDOReaderDoubleSelector.cxx:188
RDOReaderDoubleSelector::RDOReaderDoubleSelector
RDOReaderDoubleSelector(const std::string &name, ISvcLocator *pSvcLocator)
Algorithm constructor.
Definition
RDOReaderDoubleSelector.cxx:51
RDOReaderDoubleSelector::operator=
RDOReaderDoubleSelector & operator=(const RDOReaderDoubleSelector &)
Avoid use of copy operator.
RDOReaderDoubleSelector::checkTRT
StatusCode checkTRT() const
Compare objects read with newly created ones.
Definition
RDOReaderDoubleSelector.cxx:273
RDOReaderDoubleSelector::m_calocellId
const CaloCell_ID * m_calocellId
Need id helper to create cells.
Definition
RDOReaderDoubleSelector.h:97
RDOReaderDoubleSelector::execute
virtual StatusCode execute(const EventContext &ctx) override
Algorithm execute once per event.
Definition
RDOReaderDoubleSelector.cxx:76
RDOReaderDoubleSelector::m_sctId
const SCT_ID * m_sctId
IDhelper for creating objects.
Definition
RDOReaderDoubleSelector.h:85
RDOReaderDoubleSelector::printCells
void printCells(const CaloCellContainer *larCont) const
Print out cell info.
Definition
RDOReaderDoubleSelector.cxx:437
RDOReaderDoubleSelector::RDOReaderDoubleSelector
RDOReaderDoubleSelector()
Avoid use of default constructor.
RDOReaderDoubleSelector::RDOReaderDoubleSelector
RDOReaderDoubleSelector(const RDOReaderDoubleSelector &)
Avoid use of copy constructor.
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
TRT_ID
This is an Identifier helper class for the TRT subdetector.
Definition
TRT_ID.h:84
Generated on
for ATLAS Offline Software by
1.17.0