ATLAS Offline Software
LArFCalTowerBuilderToolTestAlg.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-2022 CERN for the benefit of the ATLAS collaboration
5 */
14 #ifndef LARRECUTILS_LARFCALTOWERBUILDERTOOLTESTALG_H
15 #define LARRECUTILS_LARFCALTOWERBUILDERTOOLTESTALG_H
16 
17 
18 
20 #include "CaloEvent/CaloTowerSeg.h"
22 #include "GaudiKernel/ToolHandle.h"
25 #include <vector>
26 class CaloCellContainer;
27 class CaloTowerContainer;
29 
30 
32  : public AthAlgorithm
33 {
34 public:
38  LArFCalTowerBuilderToolTestAlg (const std::string& name,
39  ISvcLocator* pSvcLocator);
40 
41 
45  virtual StatusCode initialize() override;
46 
47 
51  virtual StatusCode execute() override;
52 
53 
54 private:
56  StatusCode test_subseg (const EventContext& ctx,
57  const CaloTowerSeg::SubSeg& subseg,
58  const CaloCellContainer* cells,
59  const CaloTowerContainer* tow0);
60  StatusCode test1();
61 
62  ToolHandle<ICaloTowerBuilderToolBase> m_builder;
63  std::vector<CaloCell_ID::SUBCALO> m_calos;
67  , "CaloDetDescrManager"
68  , "CaloDetDescrManager"
69  , "SG Key for CaloDetDescrManager in the Condition Store" };
70 };
71 
72 
73 
74 
75 #endif // not LARRECUTILS_LARFCALTOWERBUILDERTOOLTESTALG_H
RunTileCalibRec.cells
cells
Definition: RunTileCalibRec.py:271
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LArFCalTowerBuilderToolTestAlg::m_builder
ToolHandle< ICaloTowerBuilderToolBase > m_builder
Definition: LArFCalTowerBuilderToolTestAlg.h:62
LArFCalTowerBuilderToolTestAlg::m_seg
CaloTowerSeg m_seg
Definition: LArFCalTowerBuilderToolTestAlg.h:64
CaloTowerSeg.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
CaloCell_ID.h
CaloTowerSeg::SubSeg
A rectangular window within the segmentation.
Definition: CaloTowerSeg.h:220
AthAlgorithm.h
ICaloTowerBuilderToolBase
Definition: ICaloTowerBuilderToolBase.h:38
CaloTowerContainer
Storable container class for CaloTower.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloTowerContainer.h:77
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArFCalTowerBuilderToolTestAlg::make_cells
CaloCellContainer * make_cells()
Definition: LArFCalTowerBuilderToolTestAlg.cxx:74
LArFCalTowerBuilderToolTestAlg::execute
virtual StatusCode execute() override
Standard Gaudi execute method.
Definition: LArFCalTowerBuilderToolTestAlg.cxx:205
AthAlgorithm
Definition: AthAlgorithm.h:47
LArFCalTowerBuilderToolTestAlg::m_calos
std::vector< CaloCell_ID::SUBCALO > m_calos
Definition: LArFCalTowerBuilderToolTestAlg.h:63
ReadCondHandleKey.h
LArFCalTowerBuilderToolTestAlg::initialize
virtual StatusCode initialize() override
Standard Gaudi initialize method.
Definition: LArFCalTowerBuilderToolTestAlg.cxx:60
LArFCalTowerBuilderToolTestAlg::LArFCalTowerBuilderToolTestAlg
LArFCalTowerBuilderToolTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: LArFCalTowerBuilderToolTestAlg.cxx:48
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArFCalTowerBuilderToolTestAlg::m_seed
uint32_t m_seed
Definition: LArFCalTowerBuilderToolTestAlg.h:65
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
SG::ReadCondHandleKey< CaloDetDescrManager >
LArFCalTowerBuilderToolTestAlg
Definition: LArFCalTowerBuilderToolTestAlg.h:33
CaloTowerSeg
Data object stores CaloTower segmentation.
Definition: CaloTowerSeg.h:37
LArFCalTowerBuilderToolTestAlg::test1
StatusCode test1()
Definition: LArFCalTowerBuilderToolTestAlg.cxx:158
LArFCalTowerBuilderToolTestAlg::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition: LArFCalTowerBuilderToolTestAlg.h:66
LArFCalTowerBuilderToolTestAlg::test_subseg
StatusCode test_subseg(const EventContext &ctx, const CaloTowerSeg::SubSeg &subseg, const CaloCellContainer *cells, const CaloTowerContainer *tow0)
Definition: LArFCalTowerBuilderToolTestAlg.cxx:96