ATLAS Offline Software
PuppiWeightTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef PUPPIWeightTool_h
5 #define PUPPIWeightTool_h
6 
10 
14 #include "xAODPFlow/PFOContainer.h"
16 #include "JetRecTools/Puppi.h"
17 #include <string>
18 
21 
22  public:
23 
24  PuppiWeightTool(const std::string& name);
25 
26  virtual StatusCode initialize() override final;
27  virtual StatusCode finalize() override;
28 
29  virtual StatusCode process_impl(xAOD::IParticleContainer* cont) const override final;
32 
33  private:
34 
35  // puppi parameters
36  double m_R0;
37  double m_Rmin;
38  double m_beta;
43  double m_etaBoundary;
44 
47 
49 
50 };
51 
52 #endif
PuppiWeightTool::m_vertexContainer_key
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainer_key
Definition: PuppiWeightTool.h:48
PuppiWeightTool
Definition: PuppiWeightTool.h:19
FlowElementContainer.h
PuppiWeightTool::applyPuppiWeights
StatusCode applyPuppiWeights(xAOD::PFOContainer *cont) const
Definition: PuppiWeightTool.cxx:77
PuppiWeightTool::applyPuppiWeights
StatusCode applyPuppiWeights(xAOD::FlowElementContainer *cont) const
PuppiWeightTool::process_impl
virtual StatusCode process_impl(xAOD::IParticleContainer *cont) const override final
Definition: PuppiWeightTool.cxx:66
JetConstituentModifierBase.h
PFOContainer.h
PuppiWeightTool::initialize
virtual StatusCode initialize() override final
Dummy implementation of the initialisation function.
Definition: PuppiWeightTool.cxx:38
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
PuppiWeightTool::m_Rmin
double m_Rmin
Definition: PuppiWeightTool.h:37
PuppiWeightTool::finalize
virtual StatusCode finalize() override
Definition: PuppiWeightTool.cxx:58
Puppi.h
PuppiWeightTool::m_applyWeight
bool m_applyWeight
Definition: PuppiWeightTool.h:46
PuppiWeightTool::m_R0
double m_R0
Definition: PuppiWeightTool.h:36
CaloCluster.h
IJetConstituentModifier
Definition: IJetConstituentModifier.h:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PuppiWeightTool::m_forwardPTCutSlope
double m_forwardPTCutSlope
Definition: PuppiWeightTool.h:42
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
IParticleContainer.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
PuppiWeightTool::m_beta
double m_beta
Definition: PuppiWeightTool.h:38
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
JetConstituentModifierBase
Definition: JetConstituentModifierBase.h:22
PuppiWeightTool::m_etaBoundary
double m_etaBoundary
Definition: PuppiWeightTool.h:43
VertexContainer.h
PuppiWeightTool::m_centralPTCutSlope
double m_centralPTCutSlope
Definition: PuppiWeightTool.h:40
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
CaloClusterContainer.h
PuppiWeightTool::m_includeCentralNeutralsInAlpha
bool m_includeCentralNeutralsInAlpha
Definition: PuppiWeightTool.h:45
PuppiWeightTool::m_centralPTCutOffset
double m_centralPTCutOffset
Definition: PuppiWeightTool.h:39
PuppiWeightTool::PuppiWeightTool
PuppiWeightTool(const std::string &name)
Definition: PuppiWeightTool.cxx:20
PuppiWeightTool::m_forwardPTCutOffset
double m_forwardPTCutOffset
Definition: PuppiWeightTool.h:41