ATLAS Offline Software
Loading...
Searching...
No Matches
FakeBkgCalculatorAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#ifndef ASG_FAKEBKGCALCULATORALG_H
8#define ASG_FAKEBKGCALCULATORALG_H
9
10// Algorithm includes
17
18// Framework includes
22
24
25
26namespace CP {
27
29
30 public:
32 virtual StatusCode initialize() override;
33 virtual StatusCode execute() override;
34
35 private:
37
38 // configurable properties
39 Gaudi::Property<std::string> m_definition {this, "Definition", "", "lepton definition used by FakeBkgTools from IFF"};
40 Gaudi::Property<std::string> m_process {this, "Process", "", "target process used by FakeBkgTools from IFF"};
41
42 // inputs needed for calculation
44 this, "electrons", "", "the electron container to use"
45 };
47 this, "electronSelection", "", "the selection on the input electrons"
48 };
50 this, "electronSelectionTarget", "", "the tight selection on the input electrons"
51 };
52
54 this, "muons", "", "the muon container to use"
55 };
57 this, "muonSelection", "", "the selection on the input muons"
58 };
60 this, "muonSelectionTarget", "", "the tight selection on the input muons"
61 };
62
64 this, "eventInfo", "EventInfo", "the EventInfo container to read selection deciosions from"
65 };
66
68 this, "eventPreselection", "", "event preselection to check before running this algorithm"
69 };
70
71 ToolHandle<ILinearFakeBkgTool> m_fakeTool {
72 this, "FakeTool", "", "the tool for fake lepton estimate among the different [FakeBkgTools](https://gitlab.cern.ch/atlas/athena/-/tree/main/PhysicsAnalysis/AnalysisCommon/FakeBkgTools). The currently available one is `CP::AsymptMatrixTool`"
73 };
74
75 // output container
77 this, "FakeToolOutput", "FakeToolOutput_%SYS%", "decoration name for the Fake Tool output"
78 };
79
80 };
81
82} // namespace
83
84#endif
CP::SysReadSelectionHandle m_muonSelectionTarget
CP::SysWriteDecorHandle< float > m_fakeToolOutput
CP::SysReadHandle< xAOD::ElectronContainer > m_electronsHandle
Gaudi::Property< std::string > m_definition
virtual StatusCode initialize() override
virtual StatusCode execute() override
CP::SysReadSelectionHandle m_muonSelection
ToolHandle< ILinearFakeBkgTool > m_fakeTool
CP::SysReadSelectionHandle m_preselection
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
CP::SysReadHandle< xAOD::MuonContainer > m_muonsHandle
CP::SysListHandle m_systematicsList
CP::SysReadSelectionHandle m_electronSelection
Gaudi::Property< std::string > m_process
CP::SysReadSelectionHandle m_electronSelectionTarget
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 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
Select isolated Photons, Electrons and Muons.