ATLAS Offline Software
PileupAreaCalibStep.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JETCALIBTOOLS_JETPILEUPAREACALIBSTEP_H
6 #define JETCALIBTOOLS_JETPILEUPAREACALIBSTEP_H 1
7 
8 /* Implementation of JetAreaSubtraction class
9  * This class will apply the jet area pile up correction
10  *
11  * Date: Jan 2024
12  */
13 
14 #include "AsgTools/AsgTool.h"
19 
20 
21 namespace PUCorrection {
22  struct PU3DCorrectionHelper;
23 }
24 
26  virtual public IJetCalibStep
27 {
28 
30 
31  public:
32  PileupAreaCalibStep(const std::string& name="PileupAreaCalibStep");
33 
34  virtual StatusCode initialize() override;
35  virtual StatusCode calibrate(xAOD::JetContainer& jetCont) const override;
36 
37  private:
39 
40  Gaudi::Property<bool> m_useFull4vectorArea{this, "UseFull4vecArea", false, "doc"};
41  Gaudi::Property<bool> m_doOrigin{this, "DoOrigin", false, "doc"};
42 
43 
44 
45 };
46 
47 #endif
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
PropertyWrapper.h
PUCorrection
Definition: JetPileupCorrection.h:23
EventShape.h
PileupAreaCalibStep::m_useFull4vectorArea
Gaudi::Property< bool > m_useFull4vectorArea
Definition: PileupAreaCalibStep.h:40
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
IJetCalibStep.h
PileupAreaCalibStep
Definition: PileupAreaCalibStep.h:27
PileupAreaCalibStep::m_rhoKey
SG::ReadHandleKey< xAOD::EventShape > m_rhoKey
Definition: PileupAreaCalibStep.h:38
PileupAreaCalibStep::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition: PileupAreaCalibStep.cxx:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
PU3DCorrectionHelper
PileupAreaCalibStep::calibrate
virtual StatusCode calibrate(xAOD::JetContainer &jetCont) const override
Apply calibration to a jet container.
Definition: PileupAreaCalibStep.cxx:28
PileupAreaCalibStep::m_doOrigin
Gaudi::Property< bool > m_doOrigin
Definition: PileupAreaCalibStep.h:41
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
PileupAreaCalibStep::PileupAreaCalibStep
PileupAreaCalibStep(const std::string &name="PileupAreaCalibStep")
Definition: PileupAreaCalibStep.cxx:14
IJetCalibStep
Definition: IJetCalibStep.h:27
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
AsgTool.h