ATLAS Offline Software
CaloCellsHandlerTool.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef TRIGL0GEPPERF_CaloCellsHandlerTool_H
6 #define TRIGL0GEPPERF_CaloCellsHandlerTool_H
7 
9 
11 #include "CaloEvent/CaloCell.h"
12 #include "GaudiKernel/ToolHandle.h"
16 
17 #include "./CustomCaloCell.h"
18 
19 #include <vector>
20 
21 
22 using GepCellMap = std::map<unsigned int,Gep::CustomCaloCell>;
23 using pGepCellMap = std::unique_ptr<GepCellMap>;
24 
26 
27 public:
28 
29  CaloCellsHandlerTool(const std::string& type,
30  const std::string& name,
31  const IInterface* parent);
32 
33  virtual ~CaloCellsHandlerTool();
34 
36 
38  pGepCellMap&,
39  const EventContext& ctx) const;
40 
41 
42  private:
43 
49  "electronicNoiseKey",
50  "totalNoise",
51  "SG Key of CaloNoise data object"};
52 
53 
56  "totalNoiseKey",
57  "totalNoise",
58  "SG Key of CaloNoise data object"};
59 
60 
61  const CaloCell_ID* m_CaloCell_ID{nullptr};
62  std::vector<unsigned int> getNeighbours(const CaloCellContainer& allcells,
63  const CaloCell* acell,
64  const EventContext&) const;
65 
66 };
67 
68 #endif
RunTileCalibRec.cells
cells
Definition: RunTileCalibRec.py:271
CaloCell.h
CaloCellsHandlerTool::m_electronicNoiseKey
SG::ReadCondHandleKey< CaloNoise > m_electronicNoiseKey
Key of the CaloNoise Conditions data object.
Definition: CaloCellsHandlerTool.h:48
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
CaloCell_ID.h
CaloCellsHandlerTool::m_totalNoiseKey
SG::ReadCondHandleKey< CaloNoise > m_totalNoiseKey
Definition: CaloCellsHandlerTool.h:55
pGepCellMap
std::unique_ptr< GepCellMap > pGepCellMap
Definition: CaloCellsHandlerTool.h:23
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
CaloCellsHandlerTool::getGepCellMap
StatusCode getGepCellMap(const CaloCellContainer &cells, pGepCellMap &, const EventContext &ctx) const
Definition: CaloCellsHandlerTool.cxx:28
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
CaloCellsHandlerTool::CaloCellsHandlerTool
CaloCellsHandlerTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: CaloCellsHandlerTool.cxx:9
CustomCaloCell.h
CaloCellsHandlerTool::~CaloCellsHandlerTool
virtual ~CaloCellsHandlerTool()
Definition: CaloCellsHandlerTool.cxx:14
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
CaloNoise.h
CaloCellContainer.h
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
SG::ReadCondHandleKey< CaloNoise >
GepCellMap
std::map< unsigned int, Gep::CustomCaloCell > GepCellMap
Definition: CaloCellsHandlerTool.h:22
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CaloCellsHandlerTool::getNeighbours
std::vector< unsigned int > getNeighbours(const CaloCellContainer &allcells, const CaloCell *acell, const EventContext &) const
Definition: CaloCellsHandlerTool.cxx:142
CaloCellsHandlerTool
Definition: CaloCellsHandlerTool.h:25
AthAlgTool
Definition: AthAlgTool.h:26
CaloCellsHandlerTool::m_CaloCell_ID
const CaloCell_ID * m_CaloCell_ID
Definition: CaloCellsHandlerTool.h:61
CaloCellsHandlerTool::initialize
StatusCode initialize()
Definition: CaloCellsHandlerTool.cxx:16