ATLAS Offline Software
AsgEventScaleFactorAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 #ifndef ASG_ANALYSIS_ALGORITHMS__ASG_EVENT_SCALE_FACTOR_ALG_H
9 #define ASG_ANALYSIS_ALGORITHMS__ASG_EVENT_SCALE_FACTOR_ALG_H
10 
19 
20 namespace CP
21 {
23 
25  {
27  public:
28  AsgEventScaleFactorAlg (const std::string& name,
29  ISvcLocator* pSvcLocator);
30 
31 
32  public:
33  StatusCode initialize () override;
34 
35  public:
36  StatusCode execute () override;
37 
38 
40  private:
42 
44  private:
46  this, "eventInfo", "EventInfo", "the event info object to run on"};
47 
49  private:
51  this, "particles", "", "the particle collection to run on"};
52 
54  private:
56  this, "preselection", "", "the preselection to apply"};
57 
59  private:
61  this, "scaleFactorInputDecoration", "", "the decoration for the input efficiency scale factor"};
62 
64  private:
66  this, "scaleFactorOutputDecoration", "", "the decoration for the output efficiency scale factor"};
67  };
68 }
69 
70 #endif
CP::AsgEventScaleFactorAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: AsgEventScaleFactorAlg.h:41
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
SysWriteDecorHandle.h
CP::AsgEventScaleFactorAlg::m_eventInfoHandle
SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info we run on (empty by default)
Definition: AsgEventScaleFactorAlg.h:45
SysListHandle.h
CP::AsgEventScaleFactorAlg::execute
StatusCode execute() override
Definition: AsgEventScaleFactorAlg.cxx:50
CP::AsgEventScaleFactorAlg
an algorithm for calculating per-event scale factors
Definition: AsgEventScaleFactorAlg.h:25
CP::AsgEventScaleFactorAlg::m_particleHandle
SysReadHandle< xAOD::IParticleContainer > m_particleHandle
the jet collection we run on
Definition: AsgEventScaleFactorAlg.h:50
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition: SysReadHandle.h:32
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
SysReadHandle.h
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IParticleContainer.h
CP::SysReadDecorHandle< float >
CP::AsgEventScaleFactorAlg::m_scaleFactorOutputDecoration
SysWriteDecorHandle< float > m_scaleFactorOutputDecoration
the decoration for writing the scale factor
Definition: AsgEventScaleFactorAlg.h:65
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SysReadSelectionHandle.h
CP::AsgEventScaleFactorAlg::m_scaleFactorInputDecoration
SysReadDecorHandle< float > m_scaleFactorInputDecoration
the decoration for reading the scale factor
Definition: AsgEventScaleFactorAlg.h:60
EventInfo.h
SysReadDecorHandle.h
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::AsgEventScaleFactorAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: AsgEventScaleFactorAlg.h:55
CP::SysWriteDecorHandle< float >
CP::AsgEventScaleFactorAlg::AsgEventScaleFactorAlg
AsgEventScaleFactorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition: AsgEventScaleFactorAlg.cxx:21
CP::AsgEventScaleFactorAlg::initialize
StatusCode initialize() override
Definition: AsgEventScaleFactorAlg.cxx:29