babymaker  e95a6a9342d4604277fe7cc6149b6b5b24447d89
Namespaces | Variables
get_sig_puweights.py File Reference

Go to the source code of this file.

Namespaces

 get_sig_puweights
 

Variables

tuple get_sig_puweights.cmssw = os.getenv("CMSSW_BASE")
 
string get_sig_puweights.lumi_json = cmssw+"babymaker/data/json/pileup_latest.txt"
 
string get_sig_puweights.json = cmssw+"babymaker/data/json/golden_Cert_271036-284044_13TeV_23Sep2016ReReco_Collisions16.json"
 
tuple get_sig_puweights.mcfile = TChain("tree")
 
tuple get_sig_puweights.hmc = TH1D("hmc","hmc",75,0,75)
 
string get_sig_puweights.calc_mode = "true"
 
dictionary get_sig_puweights.mbxsec_dict
 
string get_sig_puweights.cmd = "pileupCalc.py"
 
tuple get_sig_puweights.fdata = TFile("sig_pileup_"+imb+".root","update")
 
tuple get_sig_puweights.htmp = fdata.Get("pileup")
 
list get_sig_puweights.wgt = [htmp.GetBinContent(i+1) for i in range(htmp.GetNbinsX())]