ATLAS Offline Software
Loading...
Searching...
No Matches
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
17
18namespace CP
19{
20
22{
23
25
26public:
28 ApplyFakeFactor(const std::string& name);
29
32
33 // Main methods
34public:
35 // Initialize this class
36
37 virtual StatusCode initialize() override;
38
39protected:
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
47private:
48
49 bool eventSatisfiesCriteria(const FakeBkgTools::FinalState& fs, unsigned long& expectedTightLeptonsBitset);
50};
51
52}
53
54//----------------------------------------------------------------------------------------
55#endif
#define ASG_TOOL_CLASS2(CLASSNAME, INT1, INT2)
static Double_t fs
virtual StatusCode addEventCustom() override
ApplyFakeFactor(const std::string &name)
Standard constructor.
virtual StatusCode getEventWeightCustom(FakeBkgTools::Weight &weight, const FakeBkgTools::FinalState &fs) override
bool eventSatisfiesCriteria(const FakeBkgTools::FinalState &fs, unsigned long &expectedTightLeptonsBitset)
virtual FakeBkgTools::Client clientForDB() override final
This indicates which type of efficiencies/fake factor need to be filled.
Top-level interface for the tools providing an estimate of the fake lepton background All the tools,...
Interface for the tools providing an estimate of the fake lepton background, which are able to provid...
Select isolated Photons, Electrons and Muons.
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
void initialize()
a structure to hold a weight together with a variable number of systematic uncertainties