ATLAS Offline Software
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-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
16 #ifndef CALOREC_CALOCONSTCELLMAKER_H
17 #define CALOREC_CALOCONSTCELLMAKER_H
18 
19 
21 #include "GaudiKernel/ServiceHandle.h"
22 #include "GaudiKernel/ToolHandle.h"
24 class IChronoStatSvc;
26 
27 
36  : public AthReentrantAlgorithm
37 {
38 public:
44  CaloConstCellMaker(const std::string& name, ISvcLocator* pSvcLocator);
45 
46 
48  virtual StatusCode initialize() override;
49 
51  virtual StatusCode execute(const EventContext& ctx) const override;
52 
53 
54 private:
57 
59  ToolHandleArray<ICaloConstCellMakerTool> m_caloCellMakerTools;
60 
63 
66 };
67 
68 
69 #endif // CALOREC_CALOCONSTCELLMAKER_H
ICaloConstCellMakerTool
Operate on pointers to const CaloCell.
Definition: ICaloConstCellMakerTool.h:37
CaloConstCellMaker::m_caloCellMakerTools
ToolHandleArray< ICaloConstCellMakerTool > m_caloCellMakerTools
Property: List of tools to run.
Definition: CaloConstCellMaker.h:59
CaloConstCellMaker::m_chrono
ServiceHandle< IChronoStatSvc > m_chrono
For timekeeping.
Definition: CaloConstCellMaker.h:65
CaloConstCellMaker::execute
virtual StatusCode execute(const EventContext &ctx) const override
Standard Gaudi execute method.
Definition: CaloConstCellMaker.cxx:77
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SG::WriteHandleKey< CaloConstCellContainer >
CaloConstCellMaker::CaloConstCellMaker
CaloConstCellMaker(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: CaloConstCellMaker.cxx:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloConstCellMaker::m_ownPolicy
int m_ownPolicy
Property: Will the new CellContainer will own its cells (default no)?
Definition: CaloConstCellMaker.h:56
CaloConstCellMaker
Create a CaloConstCellContainer.
Definition: CaloConstCellMaker.h:37
CaloConstCellMaker::m_caloCellsOutputKey
SG::WriteHandleKey< CaloConstCellContainer > m_caloCellsOutputKey
Property: Output container key.
Definition: CaloConstCellMaker.h:62
CaloConstCellMaker::initialize
virtual StatusCode initialize() override
Standard Gaudi initialize method.
Definition: CaloConstCellMaker.cxx:51
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CaloConstCellContainer.h
CaloCellContainer that can accept const cell pointers.
ServiceHandle< IChronoStatSvc >