ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
AtlasTest
DatabaseTest
AthenaPoolTest
src
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
19
27
28
29
#include "
AthenaBaseComps/AthAlgorithm.h
"
30
#include "
CaloDetDescr/CaloDetDescrManager.h
"
31
#include "
StoreGate/ReadCondHandleKey.h
"
32
33
class
CaloCell_ID
;
34
class
CaloCellContainer
;
35
36
37
class
LArCellContFakeWriter
:
public
AthAlgorithm
{
38
public
:
39
41
LArCellContFakeWriter
(
const
std::string &name,ISvcLocator *pSvcLocator);
42
44
virtual
StatusCode
initialize
()
override
;
45
47
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
48
50
virtual
StatusCode
finalize
()
override
;
51
53
// Private methods:
55
private
:
56
58
LArCellContFakeWriter
();
59
61
LArCellContFakeWriter
(
const
LArCellContFakeWriter
&);
62
64
LArCellContFakeWriter
&
operator=
(
const
LArCellContFakeWriter
&);
65
67
// Private data:
69
private
:
70
72
void
printCells
(
const
CaloCellContainer
* larCont)
const
;
73
75
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloMgrKey
{ this
76
,
"CaloDetDescrManager"
77
,
"CaloDetDescrManager"
78
,
"SG Key for CaloDetDescrManager in the Condition Store"
};
79
81
const
CaloCell_ID
*
m_calocellId
;
82
};
83
84
85
#endif
// SRC_LARCELLCONTFAKEWRITER_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
LArCellContFakeWriter::LArCellContFakeWriter
LArCellContFakeWriter(const std::string &name, ISvcLocator *pSvcLocator)
Algorithm constructor.
Definition
LArCellContFakeWriter.cxx:36
LArCellContFakeWriter::operator=
LArCellContFakeWriter & operator=(const LArCellContFakeWriter &)
Avoid use of copy operator.
LArCellContFakeWriter::LArCellContFakeWriter
LArCellContFakeWriter()
Avoid use of default constructor.
LArCellContFakeWriter::m_calocellId
const CaloCell_ID * m_calocellId
Need id helper to create cells.
Definition
LArCellContFakeWriter.h:81
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
LArCellContFakeWriter::execute
virtual StatusCode execute(const EventContext &ctx) override
Algorithm execute once per event.
Definition
LArCellContFakeWriter.cxx:52
LArCellContFakeWriter::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Need DD mgr to create cells.
Definition
LArCellContFakeWriter.h:75
LArCellContFakeWriter::printCells
void printCells(const CaloCellContainer *larCont) const
Print out cell info.
Definition
LArCellContFakeWriter.cxx:81
LArCellContFakeWriter::initialize
virtual StatusCode initialize() override
Algorithm initialize at begin of job.
Definition
LArCellContFakeWriter.cxx:43
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
Generated on
for ATLAS Offline Software by
1.17.0