ATLAS Offline Software
Calorimeter
CaloRec
src
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
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
CaloInterface/ICaloCellMakerTool.h
"
10
#include "
CaloEvent/CaloCellContainer.h
"
11
#include "
CaloUtils/CaloCellCorrection.h
"
12
13
#include "GaudiKernel/ToolHandle.h"
14
15
class
CaloCellContainerCorrectorTool
16
:
public
extends<AthAlgTool, ICaloCellMakerTool>
17
{
18
public
:
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
CaloCellContainerCorrectorTool::initialize
virtual StatusCode initialize() override
Definition:
CaloCellContainerCorrectorTool.cxx:28
CaloCellContainerCorrectorTool
Definition:
CaloCellContainerCorrectorTool.h:17
CaloCellContainerCorrectorTool::m_cellCorrectionTools
ToolHandleArray< CaloCellCorrection > m_cellCorrectionTools
Definition:
CaloCellContainerCorrectorTool.h:33
CaloCellContainerCorrectorTool::m_caloSelection
bool m_caloSelection
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:115
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
CaloCellContainer.h
CaloCellContainerCorrectorTool::process
virtual StatusCode process(CaloCellContainer *theCellContainer, const EventContext &ctx) const override
Definition:
CaloCellContainerCorrectorTool.cxx:68
CaloCellContainer
Container class for CaloCell.
Definition:
CaloCellContainer.h:55
ICaloCellMakerTool.h
CaloCellContainerCorrectorTool::m_caloNums
Gaudi::Property< std::vector< int > > m_caloNums
Definition:
CaloCellContainerCorrectorTool.h:30
CaloCell_Base_ID::NSUBCALO
@ NSUBCALO
Definition:
CaloCell_Base_ID.h:43
Generated on Wed Sep 3 2025 21:07:18 for ATLAS Offline Software by
1.8.18