ATLAS Offline Software
Loading...
Searching...
No Matches
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
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;
30 StatusCode applyPuppiWeights(xAOD::PFOContainer* cont) const;
31 StatusCode applyPuppiWeights(xAOD::FlowElementContainer* cont) const;
32
33 private:
34
35 // puppi parameters
36 double m_R0;
37 double m_Rmin;
38 double m_beta;
44
47
49
50};
51
52#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Property holding a SG store/key/clid from which a ReadHandle is made.
JetConstituentModifierBase(const std::string &name)
virtual StatusCode finalize() override
double m_centralPTCutOffset
StatusCode applyPuppiWeights(xAOD::PFOContainer *cont) const
virtual StatusCode process_impl(xAOD::IParticleContainer *cont) const override final
PuppiWeightTool(const std::string &name)
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainer_key
virtual StatusCode initialize() override final
Dummy implementation of the initialisation function.
bool m_includeCentralNeutralsInAlpha
double m_forwardPTCutOffset
Property holding a SG store/key/clid from which a ReadHandle is made.
FlowElementContainer_v1 FlowElementContainer
Definition of the current "pfo container version".
PFOContainer_v1 PFOContainer
Definition of the current "pfo container version".
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.