ATLAS Offline Software
Loading...
Searching...
No Matches
JvtEfficiencyAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8#ifndef JET_ANALYSIS_ALGORITHMS__JVT_EFFICIENCY_ALG_H
9#define JET_ANALYSIS_ALGORITHMS__JVT_EFFICIENCY_ALG_H
10
20
21namespace CP
22{
24
26 {
28 public:
30 StatusCode initialize () override;
31 StatusCode execute () override;
32
33
34
36 private:
37 ToolHandle<CP::IJvtEfficiencyTool> m_efficiencyTool{
38 this, "efficiencyTool", "", "the JVT efficiency tool to apply"};
39
41 private:
43
45 private:
47 this, "jets", "", "the jet collection to run on"};
48
50 private:
52 this, "preselection", "", "the preselection to apply"};
53
55 private:
57 this, "selection", "", "the input decoration for the JVT selection"};
58
60 private:
62 this, "scaleFactorDecoration", "", "the decoration for the JVT efficiency scale factor"};
63
65 private:
66 Gaudi::Property<bool> m_skipBadEfficiency{
67 this,
68 "skipBadEfficiency",
69 false,
70 "Whether to skip calculating scale factors for objects that failed the JVT selection"};
71
73 private:
75 };
76}
77
78#endif
an algorithm for calling IJEREfficiencyTool
StatusCode execute() override
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
SysReadHandle< xAOD::JetContainer > m_jetHandle
the jet collection we run on
SysListHandle m_systematicsList
the systematics list we run
ToolHandle< CP::IJvtEfficiencyTool > m_efficiencyTool
the efficiency tool
SysReadSelectionHandle m_preselection
the preselection we apply to our input
SysWriteDecorHandle< float > m_scaleFactorDecoration
the decoration for the JVT scale factor
SysReadSelectionHandle m_selectionHandle
the decoration for the JVT selection
Gaudi::Property< bool > m_skipBadEfficiency
whether to skip efficiency calculation if the selection failed
StatusCode initialize() override
a helper to translate a CP::CorrectionCode into a StatusCode
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.