ATLAS Offline Software
Loading...
Searching...
No Matches
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
20namespace CP
21{
23
25 {
27 public:
29
30
31 public:
32 StatusCode initialize () override;
33
34 public:
35 StatusCode execute (const EventContext& ctx) override;
36
37
39 private:
41
43 private:
45 this, "eventInfo", "EventInfo", "the event info object to run on"};
46
48 private:
50 this, "particles", "", "the particle collection to run on"};
51
53 private:
55 this, "preselection", "", "the preselection to apply"};
56
58 private:
60 this, "scaleFactorInputDecoration", "", "the decoration for the input efficiency scale factor"};
61
63 private:
65 this, "scaleFactorOutputDecoration", "", "the decoration for the output efficiency scale factor"};
66 };
67}
68
69#endif
an algorithm for calculating per-event scale factors
SysReadHandle< xAOD::IParticleContainer > m_particleHandle
the jet collection we run on
SysReadSelectionHandle m_preselection
the preselection we apply to our input
SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info we run on (empty by default)
SysWriteDecorHandle< float > m_scaleFactorOutputDecoration
the decoration for writing the scale factor
SysListHandle m_systematicsList
the systematics list we run
SysReadDecorHandle< float > m_scaleFactorInputDecoration
the decoration for reading the scale factor
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
a data handle for reading systematics varied input data
a data handle for reading systematically varied selection properties from objects
a data handle for reading systematics varied input data
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
virtual::StatusCode execute()
execute this algorithm
Select isolated Photons, Electrons and Muons.