ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
FastShower
FastCaloSim
src
EmptyCellBuilderTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
// USED IN ATLFAST3
5
#ifndef FASTCALOSIM_EMPTYCELLBUILDERTOOL_H
6
#define FASTCALOSIM_EMPTYCELLBUILDERTOOL_H
7
14
15
#include "
CaloInterface/ICaloCellMakerTool.h
"
16
#include "
AthenaBaseComps/AthAlgTool.h
"
17
#include "
CaloDetDescr/CaloDetDescrManager.h
"
18
#include "
StoreGate/ReadCondHandleKey.h
"
19
20
class
EmptyCellBuilderTool
:
public
extends<AthAlgTool, ICaloCellMakerTool>
21
{
22
public
:
23
EmptyCellBuilderTool
(
const
std::string&
type
,
24
const
std::string& name,
25
const
IInterface* parent);
26
27
virtual
StatusCode
initialize
()
override
;
28
29
// update theCellContainer
30
virtual
StatusCode
process
(
CaloCellContainer
* theCellContainer,
31
const
EventContext& ctx)
const override
;
32
private
:
33
void
create_empty_calo
(
const
EventContext& ctx,
34
CaloCellContainer
* theCellContainer)
const
;
35
36
37
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloMgrKey
{ this
38
,
"CaloDetDescrManager"
39
,
"CaloDetDescrManager"
40
,
"SG Key for CaloDetDescrManager in the Condition Store"
};
41
};
42
43
#endif
AthAlgTool.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
ICaloCellMakerTool.h
ReadCondHandleKey.h
CaloCellContainer
Container class for CaloCell.
Definition
CaloCellContainer.h:55
EmptyCellBuilderTool::initialize
virtual StatusCode initialize() override
Definition
EmptyCellBuilderTool.cxx:20
EmptyCellBuilderTool::create_empty_calo
void create_empty_calo(const EventContext &ctx, CaloCellContainer *theCellContainer) const
Definition
EmptyCellBuilderTool.cxx:36
EmptyCellBuilderTool::EmptyCellBuilderTool
EmptyCellBuilderTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
EmptyCellBuilderTool.cxx:13
EmptyCellBuilderTool::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition
EmptyCellBuilderTool.h:37
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
process
const std::string process
Definition
fbtTestBasics.cxx:76
type
Generated on
for ATLAS Offline Software by
1.17.0