ATLAS Offline Software
LArSuperCellBCIDEmAlg.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 
16 #ifndef LARROD_LARSUPERCELLBCIDEMALG
17 #define LARROD_LARSUPERCELLBCIDEMALG
18 
20 #include "GaudiKernel/ToolHandle.h"
27 
29 {
30 
31 public :
32  LArSuperCellBCIDEmAlg( const std::string& name, ISvcLocator* pSvcLocator);
33  virtual ~LArSuperCellBCIDEmAlg() { }
35  StatusCode finalize() { return StatusCode::SUCCESS;}
36  StatusCode execute(const EventContext& context) const;
37 
38 private:
39 
41  ToolHandle<ICaloSuperCellIDTool> m_scidtool
42  { this, "SCIDTool", "CaloSuperCellIDTool" ,
43  "Offline / supercell mapping tool."};
44 
47  { this, "SCellContainerIn", "SCellContainer",
48  "SG key for the input supercell LAr channel container"};
49 
52  { this, "SCellContainerOut", "SCellEm",
53  "SG key for the output supercell LAr channel container"};
54 
57  {this, "BCIDAvgKey", "CaloBCIDAverage", "" };
58 
59 };
60 
61 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
LArSuperCellBCIDEmAlg::finalize
StatusCode finalize()
Definition: LArSuperCellBCIDEmAlg.h:35
LArSuperCellBCIDEmAlg::initialize
StatusCode initialize()
Definition: LArSuperCellBCIDEmAlg.cxx:24
ICaloSuperCellIDTool
Interface for tool to map between calorimeter cells and supercells.
Definition: ICaloSuperCellIDTool.h:31
SG::ReadHandleKey< CaloCellContainer >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
LArSuperCellBCIDEmAlg::m_sCellContainerOutKey
SG::WriteHandleKey< CaloCellContainer > m_sCellContainerOutKey
Property: SG key for the output supercell LAr channel container.
Definition: LArSuperCellBCIDEmAlg.h:52
SG::WriteHandleKey< CaloCellContainer >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArSuperCellBCIDEmAlg::m_sCellContainerInKey
SG::ReadHandleKey< CaloCellContainer > m_sCellContainerInKey
Property: SG key for the input calorimeter cell container.
Definition: LArSuperCellBCIDEmAlg.h:47
ReadCondHandleKey.h
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
LArSuperCellBCIDEmAlg::m_scidtool
ToolHandle< ICaloSuperCellIDTool > m_scidtool
Property: Offline / supercell mapping tool.
Definition: LArSuperCellBCIDEmAlg.h:42
LArSuperCellBCIDEmAlg::~LArSuperCellBCIDEmAlg
virtual ~LArSuperCellBCIDEmAlg()
Definition: LArSuperCellBCIDEmAlg.h:33
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CaloCellContainer.h
CaloBCIDAverage.h
LArSuperCellBCIDEmAlg::LArSuperCellBCIDEmAlg
LArSuperCellBCIDEmAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArSuperCellBCIDEmAlg.cxx:18
LArSuperCellBCIDEmAlg::execute
StatusCode execute(const EventContext &context) const
Definition: LArSuperCellBCIDEmAlg.cxx:35
LArSuperCellBCIDEmAlg
Definition: LArSuperCellBCIDEmAlg.h:29
LArSuperCellBCIDEmAlg::m_bcidAvgKey
SG::ReadHandleKey< CaloBCIDAverage > m_bcidAvgKey
Property SG Key for the CaloLumiBCID.
Definition: LArSuperCellBCIDEmAlg.h:57