ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
HeavyIonRec
HIJetRec
src
HIJetCellSubtractorTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// HIJetCellSubtractorTool.h
6
7
#ifndef HIJETREC_HIJETCELLSUBTRACTORTOOL_H
8
#define HIJETREC_HIJETCELLSUBTRACTORTOOL_H
9
22
23
24
#include "
HIJetRec/HIJetSubtractorToolBase.h
"
25
#include "
AsgTools/AsgTool.h
"
26
27
28
class
HIJetCellSubtractorTool
:
public
HIJetSubtractorToolBase
29
30
{
31
ASG_TOOL_CLASS
(
HIJetCellSubtractorTool
,
IHISubtractorTool
)
32
HIJetCellSubtractorTool
(
const
std::string& myname);
33
34
public
:
35
41
42
virtual
void
subtract
(
xAOD::IParticle::FourMom_t
& subtr_mom,
const
xAOD::IParticle
* cl_in,
const
xAOD::HIEventShapeContainer
* shape,
const
HIEventShapeIndex
*
index
,
const
ToolHandle<IHIUEModulatorTool>& modulator,
const
xAOD::HIEventShape
* eshape)
const override
;
43
virtual
void
subtractWithMoments
(
xAOD::CaloCluster
* cl,
const
xAOD::HIEventShapeContainer
* shape,
const
HIEventShapeIndex
*
index
,
const
ToolHandle<IHIUEModulatorTool>& modulator,
const
xAOD::HIEventShape
* eshape)
const override
;
44
virtual
void
updateUsingCluster
(
xAOD::HIEventShapeContainer
* shape,
const
HIEventShapeIndex
*
index
,
const
xAOD::CaloCluster
* cl)
const override
;
45
46
private
:
47
void
UpdateShape
(
xAOD::HIEventShapeContainer
* shape,
const
HIEventShapeIndex
*
index
,
const
CaloCell
* theCell,
float
geoWeight,
float
eta0,
float
phi0,
bool
isNeg)
const
;
48
49
50
};
51
52
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
HIJetSubtractorToolBase.h
CaloCell
Data object for each calorimeter readout cell.
Definition
CaloCell.h:57
HIEventShapeIndex
Definition
HIEventShapeIndex.h:16
HIJetCellSubtractorTool::subtractWithMoments
virtual void subtractWithMoments(xAOD::CaloCluster *cl, const xAOD::HIEventShapeContainer *shape, const HIEventShapeIndex *index, const ToolHandle< IHIUEModulatorTool > &modulator, const xAOD::HIEventShape *eshape) const override
Definition
HIJetCellSubtractorTool.cxx:119
HIJetCellSubtractorTool::updateUsingCluster
virtual void updateUsingCluster(xAOD::HIEventShapeContainer *shape, const HIEventShapeIndex *index, const xAOD::CaloCluster *cl) const override
Method to update the shape based on a given cluster two sets of indices are passed by reference and u...
Definition
HIJetCellSubtractorTool.cxx:74
HIJetCellSubtractorTool::subtract
virtual void subtract(xAOD::IParticle::FourMom_t &subtr_mom, const xAOD::IParticle *cl_in, const xAOD::HIEventShapeContainer *shape, const HIEventShapeIndex *index, const ToolHandle< IHIUEModulatorTool > &modulator, const xAOD::HIEventShape *eshape) const override
Implements method defined in base Navigates back to cells to do subtraction First argument is referen...
Definition
HIJetCellSubtractorTool.cxx:22
HIJetCellSubtractorTool::HIJetCellSubtractorTool
HIJetCellSubtractorTool(const std::string &myname)
Definition
HIJetCellSubtractorTool.cxx:17
HIJetCellSubtractorTool::UpdateShape
void UpdateShape(xAOD::HIEventShapeContainer *shape, const HIEventShapeIndex *index, const CaloCell *theCell, float geoWeight, float eta0, float phi0, bool isNeg) const
Definition
HIJetCellSubtractorTool.cxx:87
HIJetSubtractorToolBase::HIJetSubtractorToolBase
HIJetSubtractorToolBase(const std::string &myname)
Definition
HIJetSubtractorToolBase.cxx:9
IHISubtractorTool
Abstract interface for tools that implement constituent based subtraction.
Definition
IHISubtractorTool.h:31
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
xAOD::IParticle::FourMom_t
TLorentzVector FourMom_t
Definition of the 4-momentum type.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:69
index
Definition
index.py:1
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
xAOD::HIEventShapeContainer
HIEventShapeContainer_v2 HIEventShapeContainer
Define the latest version of the container.
Definition
HIEventShapeContainer.h:17
xAOD::HIEventShape
HIEventShape_v2 HIEventShape
Definition of the latest event info version.
Definition
HIEventShape.h:16
Generated on
for ATLAS Offline Software by
1.17.0