ATLAS Offline Software
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 
13 #ifndef ApplyFakeFactor_H
14 #define ApplyFakeFactor_H
15 
17 
18 namespace CP
19 {
20 
22 {
23 
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
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
ASG_TOOL_CLASS2
#define ASG_TOOL_CLASS2(CLASSNAME, INT1, INT2)
Definition: AsgToolMacros.h:77
initialize
void initialize()
Definition: run_EoverP.cxx:894
FakeBkgTools::Client
Client
Definition: FakeBkgInternals.h:141
CP::ApplyFakeFactor
Definition: ApplyFakeFactor.h:22
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
CP::IFakeBkgTool
Top-level interface for the tools providing an estimate of the fake lepton background All the tools,...
Definition: IFakeBkgTool.h:27
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::BaseLinearFakeBkgTool
Definition: BaseLinearFakeBkgTool.h:39
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
FakeBkgTools::Weight
a structure to hold a weight together with a variable number of systematic uncertainties
Definition: FakeBkgInternals.h:62
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
BaseLinearFakeBkgTool.h
Herwig7_QED_EvtGen_ll.fs
dictionary fs
Definition: Herwig7_QED_EvtGen_ll.py:17