Recreating David's first set of R21 fakes plots: https://indico.cern.ch/event/804144/#19-first-look-at-fake-in-rel21

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

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2019-03-12 - SouravSen
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback