ATLAS Offline Software
TBCellContainerFillerTool.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 TBREC_TBCELLCONTAINERFILLERTOOL_H
6 #define TBREC_TBCELLCONTAINERFILLERTOOL_H
7 
10 #include "GaudiKernel/ToolHandle.h"
13 
14 class MsgStream;
15 class CaloCell_ID;
16 class LArOnlineID;
17 
19  : public extends<AthAlgTool, ICaloCellMakerTool>
20 {
21  public:
22 
23  TBCellContainerFillerTool(const std::string& type, const std::string& name,
24  const IInterface* parent) ;
25 
26  virtual StatusCode initialize() override;
27 
28  // update theCellContainer
29  virtual StatusCode process (CaloCellContainer* theCellContainer,
30  const EventContext& ctx) const override;
31 
32  private:
34  , "CaloDetDescrManager"
35  , "CaloDetDescrManager"
36  , "SG Key for CaloDetDescrManager in the Condition Store" };
37 
38  const CaloCell_ID * m_theCaloCCIDM{nullptr};
39  const LArOnlineID* m_onlineHelper{nullptr};
40  unsigned int m_hashMax{0};
41 };
42 
43 #endif
TBCellContainerFillerTool::m_hashMax
unsigned int m_hashMax
Definition: TBCellContainerFillerTool.h:40
TBCellContainerFillerTool::m_theCaloCCIDM
const CaloCell_ID * m_theCaloCCIDM
Definition: TBCellContainerFillerTool.h:38
TBCellContainerFillerTool::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition: TBCellContainerFillerTool.h:33
TBCellContainerFillerTool::TBCellContainerFillerTool
TBCellContainerFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TBCellContainerFillerTool.cxx:13
TBCellContainerFillerTool::initialize
virtual StatusCode initialize() override
Definition: TBCellContainerFillerTool.cxx:24
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
TBCellContainerFillerTool::m_onlineHelper
const LArOnlineID * m_onlineHelper
Definition: TBCellContainerFillerTool.h:39
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArOnlineID
Definition: LArOnlineID.h:20
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
ICaloCellMakerTool.h
SG::ReadCondHandleKey< CaloDetDescrManager >
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TBCellContainerFillerTool::process
virtual StatusCode process(CaloCellContainer *theCellContainer, const EventContext &ctx) const override
Definition: TBCellContainerFillerTool.cxx:38
TBCellContainerFillerTool
Definition: TBCellContainerFillerTool.h:20