ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisCommon
FakeBkgTools
FakeBkgTools
ApplyE2YFakeRate.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ApplyE2YFakeRate_H
6
#define ApplyE2YFakeRate_H
7
8
#include <
FakeBkgTools/BaseLinearFakeBkgTool.h
>
9
#include <array>
10
11
namespace
CP
12
{
13
14
class
ATLAS_NOT_THREAD_SAFE
ApplyE2YFakeRate
:
public
CP::BaseLinearFakeBkgTool
15
{
16
17
ASG_TOOL_CLASS2
(
ApplyE2YFakeRate
,
ILinearFakeBkgTool
,
IFakeBkgTool
)
18
19
public
:
21
ApplyE2YFakeRate
(
const
std::string&
name
);
22
24
~ApplyE2YFakeRate
();
25
26
// Main methods
27
public
:
28
// Initialize this class
29
30
virtual
StatusCode
initialize
()
override
;
31
32
protected
:
33
// Methods which must be implemented
34
virtual
StatusCode
addEventCustom
()
override
;
35
virtual
StatusCode
getEventWeightCustom
(
FakeBkgTools::Weight
& weight,
const
FakeBkgTools::FinalState
&
fs
)
override
;
36
38
virtual
FakeBkgTools::Client
clientForDB
()
override
final
;
39
40
private
:
41
int
m_e2y_option
=1;
42
};
43
44
}
45
46
//----------------------------------------------------------------------------------------
47
#endif
ASG_TOOL_CLASS2
#define ASG_TOOL_CLASS2(CLASSNAME, INT1, INT2)
Definition
AsgToolMacros.h:77
BaseLinearFakeBkgTool.h
fs
static Double_t fs
Definition
LArPhysWaveHECTool.cxx:37
CP::ApplyE2YFakeRate::clientForDB
virtual FakeBkgTools::Client clientForDB() override final
This indicates which type of efficiencies/fake factor need to be filled.
Definition
ApplyE2YFakeRate.cxx:28
CP::ApplyE2YFakeRate::ApplyE2YFakeRate
ApplyE2YFakeRate(const std::string &name)
Standard constructor.
Definition
ApplyE2YFakeRate.cxx:14
CP::ApplyE2YFakeRate::m_e2y_option
int m_e2y_option
Definition
ApplyE2YFakeRate.h:41
CP::ApplyE2YFakeRate::addEventCustom
virtual StatusCode addEventCustom() override
Definition
ApplyE2YFakeRate.cxx:38
CP::ApplyE2YFakeRate::getEventWeightCustom
virtual StatusCode getEventWeightCustom(FakeBkgTools::Weight &weight, const FakeBkgTools::FinalState &fs) override
Definition
ApplyE2YFakeRate.cxx:45
CP::BaseLinearFakeBkgTool
Definition
BaseLinearFakeBkgTool.h:39
CP::IFakeBkgTool
Top-level interface for the tools providing an estimate of the fake lepton background All the tools,...
Definition
IFakeBkgTool.h:27
CP::ILinearFakeBkgTool
Interface for the tools providing an estimate of the fake lepton background, which are able to provid...
Definition
ILinearFakeBkgTool.h:17
FakeBkgTools::FinalState
Definition
FakeBkgInternals.h:98
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
FakeBkgTools::Client
Client
Definition
FakeBkgInternals.h:141
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
xAOD::ATLAS_NOT_THREAD_SAFE
void ErrorHandler ATLAS_NOT_THREAD_SAFE(Int_t level, Bool_t abort, const char *location, const char *message)
Function filtering the warnings coming from ROOT.
Definition
Init.cxx:105
initialize
void initialize()
Definition
run_EoverP.cxx:894
FakeBkgTools::Weight
a structure to hold a weight together with a variable number of systematic uncertainties
Definition
FakeBkgInternals.h:62
Generated on
for ATLAS Offline Software by
1.17.0