ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisCommon
FakeBkgTools
FakeBkgTools
ApplyFakeFactor.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
12
13
#ifndef ApplyFakeFactor_H
14
#define ApplyFakeFactor_H
15
16
#include <
FakeBkgTools/BaseLinearFakeBkgTool.h
>
17
18
namespace
CP
19
{
20
21
class
ATLAS_NOT_THREAD_SAFE
ApplyFakeFactor
:
public
CP::BaseLinearFakeBkgTool
22
{
23
24
ASG_TOOL_CLASS2
(
ApplyFakeFactor
,
ILinearFakeBkgTool
,
IFakeBkgTool
)
25
26
public
:
28
ApplyFakeFactor
(
const
std::string&
name
);
29
31
~ApplyFakeFactor
();
32
33
// Main methods
34
public
:
35
// Initialize this class
36
37
virtual
StatusCode
initialize
()
override
;
38
39
protected
:
40
// Methods which must be implemented
41
virtual
StatusCode
addEventCustom
()
override
;
42
virtual
StatusCode
getEventWeightCustom
(
FakeBkgTools::Weight
& weight,
const
FakeBkgTools::FinalState
&
fs
)
override
;
43
45
virtual
FakeBkgTools::Client
clientForDB
()
override
final
;
46
47
private
:
48
49
bool
eventSatisfiesCriteria
(
const
FakeBkgTools::FinalState
&
fs
,
unsigned
long
& expectedTightLeptonsBitset);
50
};
51
52
}
53
54
//----------------------------------------------------------------------------------------
55
#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::ApplyFakeFactor::addEventCustom
virtual StatusCode addEventCustom() override
Definition
ApplyFakeFactor.cxx:37
CP::ApplyFakeFactor::ApplyFakeFactor
ApplyFakeFactor(const std::string &name)
Standard constructor.
Definition
ApplyFakeFactor.cxx:15
CP::ApplyFakeFactor::getEventWeightCustom
virtual StatusCode getEventWeightCustom(FakeBkgTools::Weight &weight, const FakeBkgTools::FinalState &fs) override
Definition
ApplyFakeFactor.cxx:44
CP::ApplyFakeFactor::eventSatisfiesCriteria
bool eventSatisfiesCriteria(const FakeBkgTools::FinalState &fs, unsigned long &expectedTightLeptonsBitset)
Definition
ApplyFakeFactor.cxx:133
CP::ApplyFakeFactor::clientForDB
virtual FakeBkgTools::Client clientForDB() override final
This indicates which type of efficiencies/fake factor need to be filled.
Definition
ApplyFakeFactor.cxx:27
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