ATLAS Offline Software
Loading...
Searching...
No Matches
CaloCellContainerCorrectorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef CALOREC_CALOCELLCONTAINERCORRECTORTOOL_H
6#define CALOREC_CALOCELLCONTAINERCORRECTORTOOL_H
7
12
13#include "GaudiKernel/ToolHandle.h"
14
16 : public extends<AthAlgTool, ICaloCellMakerTool>
17{
18public:
19 using base_class::base_class;
20
21 virtual StatusCode initialize() override;
22 // update theCellContainer
23 virtual StatusCode process ( CaloCellContainer* theCellContainer,
24 const EventContext& ctx ) const override;
25
26
27 private:
28// properties
29
30 Gaudi::Property<std::vector<int> >m_caloNums{this,"CaloNums",{1,static_cast<int>(CaloCell_ID::NSUBCALO)} } ; // which calo to correct
31 //reminder enum SUBCALO { LAREM = 0, LARHEC = 1, LARFCAL = 2, TILE = 3, NSUBCALO = 4, NOT_VALID=999999 };
32
33 ToolHandleArray<CaloCellCorrection> m_cellCorrectionTools{this,"CellCorrectionToolNames",{}};
34
35 bool m_caloSelection=false;
36
37 StatusCode processOnCellIterators(const CaloCellContainer::iterator & itrCellBeg,
38 const CaloCellContainer::iterator & itrCellEnd,
39 const EventContext& ctx) const;
40
41
42};
43
44#endif
45
Gaudi::Property< std::vector< int > > m_caloNums
ToolHandleArray< CaloCellCorrection > m_cellCorrectionTools
StatusCode processOnCellIterators(const CaloCellContainer::iterator &itrCellBeg, const CaloCellContainer::iterator &itrCellEnd, const EventContext &ctx) const
Container class for CaloCell.
DataModel_detail::iterator< DataVector > iterator
Definition DataVector.h:842
const std::string process