ATLAS Offline Software
LArCellContFakeReader.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_LARCELLCONTFAKEREADER_H
6 #define ATHENAPOOLTEST_LARCELLCONTFAKEREADER_H
7 
32 
33 class CaloCell_ID;
34 class CaloCellContainer;
35 
36 
38 public:
39 
41  LArCellContFakeReader(const std::string &name,ISvcLocator *pSvcLocator);
42 
44  virtual StatusCode initialize() override;
45 
47  virtual StatusCode execute() override;
48 
50  virtual StatusCode finalize() override;
51 
53  // Private methods:
55 private:
56 
59 
62 
65 
67  // Private data:
69 private:
70 
72  void printCells(const CaloCellContainer* larCont) const;
73 
76  , "CaloDetDescrManager"
77  , "CaloDetDescrManager"
78  , "SG Key for CaloDetDescrManager in the Condition Store" };
79 
82 };
83 
84 #endif // SRC_LARCELLCONTFAKEREADER_H
LArCellContFakeReader::printCells
void printCells(const CaloCellContainer *larCont) const
Print out cell info.
Definition: LArCellContFakeReader.cxx:117
LArCellContFakeReader::initialize
virtual StatusCode initialize() override
Algorithm initialize at begin of job.
Definition: LArCellContFakeReader.cxx:35
LArCellContFakeReader::operator=
LArCellContFakeReader & operator=(const LArCellContFakeReader &)
Avoid use of copy operator.
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArCellContFakeReader::execute
virtual StatusCode execute() override
Algorithm execute once per event.
Definition: LArCellContFakeReader.cxx:44
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
LArCellContFakeReader::LArCellContFakeReader
LArCellContFakeReader(const LArCellContFakeReader &)
Avoid use of copy constructor.
LArCellContFakeReader::finalize
virtual StatusCode finalize() override
Algorithm finalize at end of job.
Definition: LArCellContFakeReader.cxx:147
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
SG::ReadCondHandleKey< CaloDetDescrManager >
LArCellContFakeReader::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Need DD mgr to create cells.
Definition: LArCellContFakeReader.h:75
LArCellContFakeReader
Test Algorithm for POOL I/O uses CaloCellContainer as test data.
Definition: LArCellContFakeReader.h:37
LArCellContFakeReader::LArCellContFakeReader
LArCellContFakeReader()
Avoid use of default constructor.
LArCellContFakeReader::m_calocellId
const CaloCell_ID * m_calocellId
Need id helper to create cells.
Definition: LArCellContFakeReader.h:81