working on branch:
ZjetsFF -R21-init (to be merged soon to master)
$ pwd
/afs/cern.ch/work/s/sosen/Fakes/HWWAnalysis/HWWAnalysisCode
$ git checkout ZjetsFF-R21-init
FF plotting (single fakes for now)
plotting macro : (
https://gitlab.cern.ch/atlas-physics/higgs/hww/HWWAnalysisCode/blob/master/share/fakefactors/plotting/makeFFPlots.cxx
)
bool initializeSamples(std::map<TString, Sample*> samples)
void make2DPlots_numden_and_statunc(std::map<TString, Sample*>& samples)
int
makeEWSubtractionPlots( Sample* sample, bool doElectron, bool doMuon, bool isDijetsFF, bool getAboluteVariation=false, std::map<unsigned int, TH2F*>* returnMap=nullptr )
void makeFFVsPtPlots(std::map<TString, Sample*>& samples, bool plotAbsoluteVariations=false)
void makeDirs(std::map<TString, Sample*>& samples)
void mainFcn(std::map<TString, Sample*>& samples, const e_PARTICLE part, bool plotAbsoluteVariations=false)
/****************************************/
/****** MACRO BEGINS HERE *********/
/****************************************/
int makeFFPlots(
bool doElectron = true, // run Electron
bool doMuon = true, // run Muon
// TString text_on_plot = "#splitline{id: Tight and new iso full pT}{anti-id: Medium full pT, d0 dropped}",
//TString text_on_plot = "anti-id: Medium full pT, d0 dropped",
// TString text_on_plot = "new selections",
TString text_on_plot = "",
bool DEBUG = false, // print out a bunch of messages
bool make2DNumAndDenStatUncPlots = false, // make 2D plots with numerator and denominator stat uncertainties
bool FlavorSplitMode = false,
bool doCorrFactors = false,
bool doSyst_EWsubtr = false,
bool isDijetsFF = false,// if false assume Zjet. important for EW subtr computation. TODO: improve this
bool plotAbsoluteVariations = false // if true, plot also the EW up/down variation on the pt-FF-plots
)
--
SouravSen - 2019-03-03