ATLAS Offline Software
CaloCellContainerCorrectorTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 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 {
18 public:
19  CaloCellContainerCorrectorTool(const std::string& type,
20  const std::string& name,
21  const IInterface* parent) ;
22 
23  typedef ToolHandleArray<CaloCellCorrection> ::iterator
25 
26  virtual StatusCode initialize() override;
27  // update theCellContainer
28  virtual StatusCode process ( CaloCellContainer* theCellContainer,
29  const EventContext& ctx ) const override;
30 
31 
32  private:
33 // properties
34 
35  std::vector<int> m_caloNums ; // which calo to correct
36  //reminder enum SUBCALO { LAREM = 0, LARHEC = 1, LARFCAL = 2, TILE = 3, NSUBCALO = 4, NOT_VALID=999999 };
37 
38  ToolHandleArray<CaloCellCorrection> m_cellCorrectionTools;
39 
41 
43  const CaloCellContainer::iterator & itrCellEnd,
44  const EventContext& ctx) const;
45 
46 
47 };
48 
49 #endif
50 
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
CaloCellContainerCorrectorTool::initialize
virtual StatusCode initialize() override
Definition: CaloCellContainerCorrectorTool.cxx:49
CaloCellContainerCorrectorTool
Definition: CaloCellContainerCorrectorTool.h:17
CaloCellContainerCorrectorTool::m_cellCorrectionTools
ToolHandleArray< CaloCellCorrection > m_cellCorrectionTools
Definition: CaloCellContainerCorrectorTool.h:38
CaloCellContainerCorrectorTool::CaloCellContainerCorrectorTool
CaloCellContainerCorrectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: CaloCellContainerCorrectorTool.cxx:27
CaloCellContainerCorrectorTool::m_caloSelection
bool m_caloSelection
Definition: CaloCellContainerCorrectorTool.h:40
CaloCellContainerCorrectorTool::m_caloNums
std::vector< int > m_caloNums
Definition: CaloCellContainerCorrectorTool.h:35
CaloCellCorrection.h
CaloCellContainerCorrectorTool::processOnCellIterators
StatusCode processOnCellIterators(const CaloCellContainer::iterator &itrCellBeg, const CaloCellContainer::iterator &itrCellEnd, const EventContext &ctx) const
Definition: CaloCellContainerCorrectorTool.cxx:136
DataModel_detail::iterator
(Non-const) Iterator class for DataVector/DataList.
Definition: DVLIterator.h:184
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
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CaloCellContainerCorrectorTool::CellCorrectionToolIterator
ToolHandleArray< CaloCellCorrection >::iterator CellCorrectionToolIterator
Definition: CaloCellContainerCorrectorTool.h:24
CaloCellContainer.h
CaloCellContainerCorrectorTool::process
virtual StatusCode process(CaloCellContainer *theCellContainer, const EventContext &ctx) const override
Definition: CaloCellContainerCorrectorTool.cxx:89
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
ICaloCellMakerTool.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78