ATLAS Offline Software
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 
25 #include "AsgTools/AsgTool.h"
26 
27 
29 
30 {
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
HIJetCellSubtractorTool::HIJetCellSubtractorTool
HIJetCellSubtractorTool(const std::string &myname)
Definition: HIJetCellSubtractorTool.cxx:17
index
Definition: index.py:1
InDetAccessor::phi0
@ phi0
Definition: InDetAccessor.h:33
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
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
xAOD::HIEventShape_v2
Interface class for the HI reconstruction EDM.
Definition: HIEventShape_v2.h:32
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
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
Abstract base for JetModifiers applying constituent based subtraction.
Definition: HIJetSubtractorToolBase.h:24
HIJetSubtractorToolBase.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
HIEventShapeIndex
Definition: HIEventShapeIndex.h:16
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
Concrete implementation of HIJetSubtractorToolBase. Class used by HIClusterSubtraction and HIJetConst...
Definition: HIJetCellSubtractorTool.h:30
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
IHISubtractorTool
Abstract interface for tools that implement constituent based subtraction.
Definition: IHISubtractorTool.h:31
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
AsgTool.h
dq_make_web_display.cl
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
Definition: dq_make_web_display.py:26