#include runBunchTrainsOverlay(TString jetType = "") { gStyle->SetOptStat(0); gStyle->SetOptFit(0); gSystem->AddIncludePath(" -I${HOME}/RootUtils "); gSystem->CompileMacro ("Util.cpp", "k"); gSystem->CompileMacro ("BunchTrainsOverlay.C", "k"); TString newLabel = " "; TString preStr = "BunchTrainsOverlay_" + jetType; TString fileStr = preStr + "_MinBias_test_v01"; TString label = "Run 165591"; TString outDir = "/Users/fizisist/Work/ATLAS/Offset/Plots/BunchTrains/"; TString outFileName = fileStr + ".root"; TString psFile = outDir + fileStr; TString plotType = ".pdf"; bool dataMCCompare = true; vector fileNames; fileNames.push_back("/Users/fizisist/Work/ATLAS/Offset/OffsetAnalysis/bunchTrain_analysis_v01.root"); vector prefix; prefix.push_back(""); vector suffix; suffix.push_back(""); vector tags; tags.push_back("Data (#intLdt=160nb^{-1})"); if (jetType == "AntiKt4EMTopo") tags.push_back("150 ns bunch spacing"); vector plotDir; plotDir.push_back(""); vector weights; weights.push_back(1.0); bool savePlots = false; bool drawNorm = false; bool doRatio = true; bool setLogY = true; bool setLogZ = false; Int_t NOverlay = 1; BunchTrainsOverlay (NOverlay, outFileName, fileNames, prefix, suffix, tags, plotDir, weights, outDir, psFile, plotType, dataMCCompare, doRatio, drawNorm, label, savePlots, setLogY, setLogZ); }