ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloRec
src
CaloConstCellMaker.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id$
14
15
16
#ifndef CALOREC_CALOCONSTCELLMAKER_H
17
#define CALOREC_CALOCONSTCELLMAKER_H
18
19
20
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
21
#include "GaudiKernel/ServiceHandle.h"
22
#include "GaudiKernel/ToolHandle.h"
23
#include "
CaloEvent/CaloConstCellContainer.h
"
24
#include "
CaloInterface/ICaloConstCellMakerTool.h
"
25
#include "
StoreGate/WriteHandleKey.h
"
26
class
IChronoStatSvc;
27
28
36
class
CaloConstCellMaker
37
:
public
AthReentrantAlgorithm
38
{
39
public
:
45
CaloConstCellMaker
(
const
std::string& name, ISvcLocator* pSvcLocator);
46
47
49
virtual
StatusCode
initialize
()
override
;
50
52
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
53
54
55
private
:
57
Gaudi::Property<int>
m_ownPolicy
{
this
,
"OwnPolicy"
,
static_cast<
int
>
(
SG::VIEW_ELEMENTS
),
"Will the new container own its cells? Default is no."
};
58
60
ToolHandleArray<ICaloConstCellMakerTool>
m_caloCellMakerTools
{
this
,
"CaloCellMakerTools"
, {},
"List of tools to run."
};
61
63
SG::WriteHandleKey<CaloConstCellContainer>
m_caloCellsOutputKey
{
this
,
"CaloCellsOutputName"
,
""
,
"Output container name."
};
64
66
ServiceHandle<IChronoStatSvc>
m_chrono
;
67
};
68
69
70
#endif
// CALOREC_CALOCONSTCELLMAKER_H
AthReentrantAlgorithm.h
CaloConstCellContainer.h
CaloCellContainer that can accept const cell pointers.
ICaloConstCellMakerTool.h
Operate on pointers to const CaloCell.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CaloConstCellMaker::CaloConstCellMaker
CaloConstCellMaker(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
CaloConstCellMaker.cxx:31
CaloConstCellMaker::m_chrono
ServiceHandle< IChronoStatSvc > m_chrono
For timekeeping.
Definition
CaloConstCellMaker.h:66
CaloConstCellMaker::m_caloCellMakerTools
ToolHandleArray< ICaloConstCellMakerTool > m_caloCellMakerTools
Property: List of tools to run.
Definition
CaloConstCellMaker.h:60
CaloConstCellMaker::initialize
virtual StatusCode initialize() override
Standard Gaudi initialize method.
Definition
CaloConstCellMaker.cxx:42
CaloConstCellMaker::execute
virtual StatusCode execute(const EventContext &ctx) const override
Standard Gaudi execute method.
Definition
CaloConstCellMaker.cxx:68
CaloConstCellMaker::m_caloCellsOutputKey
SG::WriteHandleKey< CaloConstCellContainer > m_caloCellsOutputKey
Property: Output container key.
Definition
CaloConstCellMaker.h:63
CaloConstCellMaker::m_ownPolicy
Gaudi::Property< int > m_ownPolicy
Property: Will the new CellContainer will own its cells (default no)?
Definition
CaloConstCellMaker.h:57
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
SG::VIEW_ELEMENTS
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
Definition
OwnershipPolicy.h:18
Generated on
for ATLAS Offline Software by
1.17.0