ATLAS Offline Software
LArCellContFakeWriter.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_LARCELLCONTFAKEWRITER_H
6 #define ATHENAPOOLTEST_LARCELLCONTFAKEWRITER_H
7 
32 
33 class CaloCell_ID;
34 class CaloCellContainer;
35 
36 
38 public:
39 
41  LArCellContFakeWriter(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 
85 #endif // SRC_LARCELLCONTFAKEWRITER_H
LArCellContFakeWriter::LArCellContFakeWriter
LArCellContFakeWriter()
Avoid use of default constructor.
LArCellContFakeWriter::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Need DD mgr to create cells.
Definition: LArCellContFakeWriter.h:75
LArCellContFakeWriter::LArCellContFakeWriter
LArCellContFakeWriter(const LArCellContFakeWriter &)
Avoid use of copy constructor.
LArCellContFakeWriter::finalize
virtual StatusCode finalize() override
Algorithm finalize at end of job.
Definition: LArCellContFakeWriter.cxx:109
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
LArCellContFakeWriter::execute
virtual StatusCode execute() override
Algorithm execute once per event.
Definition: LArCellContFakeWriter.cxx:52
LArCellContFakeWriter::initialize
virtual StatusCode initialize() override
Algorithm initialize at begin of job.
Definition: LArCellContFakeWriter.cxx:43
AthAlgorithm.h
LArCellContFakeWriter
Test Algorithm for POOL I/O uses CaloCellContainer for LAr as test data.
Definition: LArCellContFakeWriter.h:37
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
LArCellContFakeWriter::operator=
LArCellContFakeWriter & operator=(const LArCellContFakeWriter &)
Avoid use of copy operator.
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 >
LArCellContFakeWriter::m_calocellId
const CaloCell_ID * m_calocellId
Need id helper to create cells.
Definition: LArCellContFakeWriter.h:81
LArCellContFakeWriter::printCells
void printCells(const CaloCellContainer *larCont) const
Print out cell info.
Definition: LArCellContFakeWriter.cxx:81