|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef PILEUPREWEIGHTING_PILEUPREWEIGHTINGTOOL_H
7 #define PILEUPREWEIGHTING_PILEUPREWEIGHTINGTOOL_H
40 using CP::TPileupReweighting::operator
new;
42 using CP::TPileupReweighting::operator
delete;
43 using CP::TPileupReweighting::operator
delete[];
61 virtual Int_t
SetUniformBinning(Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy=0, Double_t ylow=0, Double_t yup=0) {
return m_activeTool->
SetUniformBinning(nbinsx, xlow, xup, nbinsy, ylow, yup); }
131 #ifndef XAOD_STANDALONE
136 virtual bool runLbnOK(Int_t runNbr, Int_t lbn);
144 std::unique_ptr< CP::TPileupReweighting >
m_upTool;
172 ToolHandle<Trig::ITrigDecisionTool>
m_tdt;
Int_t SetUniformBinning(Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy=0, Double_t ylow=0, Double_t yup=0)
Int_t SetBinning(Int_t nbinsx, Double_t *xbins, Int_t nbinsy=0, Double_t *ybins=0)
Add a histogram binning config.
Double_t GetIntegratedLumi(const TString &trigger="")
total luminosity loaded and accepted by the tool (in inverse pb)
Int_t Merge(TCollection *coll)
Class to wrap a set of SystematicVariations.
Select isolated Photons, Electrons and Muons.
UInt_t GetRandomLumiBlockNumber(UInt_t runNumber)
Get a random lumi block from the run number given.
Int_t AddPeriod(Int_t periodNumber, UInt_t start, UInt_t end)
Assign an mc RunNumber to a data period.
::StatusCode StatusCode
StatusCode definition for legacy code.
Double_t GetNumberOfEvents(Int_t channel)
totalMC maps should also hold the total number of entries for each channel
Class describing the basic event information.
Double_t GetIntegratedLumiFraction(Int_t periodNumber, UInt_t start, UInt_t end)
return fraction of lumi assigned to periodNumber (or mcRunNumber) that is between start and end data ...
Double_t GetSumOfEventWeights(Int_t channel)