ATLAS Offline Software
ILinearFakeBkgTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ILINEAR_FAKE_BKG_TOOL_H
6 #define ILINEAR_FAKE_BKG_TOOL_H
7 
9 
10 #include <string>
11 
12 namespace CP
13 {
14 
16 class ILinearFakeBkgTool : virtual public IFakeBkgTool
17 {
18  public:
19 
27  virtual StatusCode getEventWeight(float& weight, const std::string& selection = defaultSelection(), const std::string& process = defaultProcess()) = 0;
28 
29 };
30 
31 }
32 
33 #endif
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
SUSY_SimplifiedModel_PostInclude.process
string process
Definition: SUSY_SimplifiedModel_PostInclude.py:42
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::ILinearFakeBkgTool::getEventWeight
virtual StatusCode getEventWeight(float &weight, const std::string &selection=defaultSelection(), const std::string &process=defaultProcess())=0
returns an event weight addEvent() must have been called before hand.
selection
const std::string selection
Definition: fbtTestBasics.cxx:74
CP::ILinearFakeBkgTool
Interface for the tools providing an estimate of the fake lepton background, which are able to provid...
Definition: ILinearFakeBkgTool.h:17
CP::IFakeBkgTool::defaultSelection
static constexpr const char * defaultSelection()
default value taken by the 'selection' argument of several methods or properties It indicates how the...
Definition: IFakeBkgTool.h:33
CP::IFakeBkgTool::defaultProcess
static constexpr const char * defaultProcess()
default value taken by the 'process' argument of several methods or properties It indicates what shou...
Definition: IFakeBkgTool.h:38
IFakeBkgTool.h