CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Functions | Variables
compare.py File Reference

Go to the source code of this file.

Namespaces

 compare
 

Functions

def compare.ensureDir
 
def compare.hoverlay
 
def compare.LegendSettings
 
def compare.makeCompareVars
 
def compare.makeEffPlotsVars
 
def compare.overlay
 
def compare.save
 

Variables

tuple compare.argc = len(argvs)
 
 compare.argvs = sys.argv
 
string compare.den_sel = '1'
 
tuple compare.hist = TH1F('h_' + hname + '_' + rel, 'h_' + hname + '_' + rel, hdict['nbin'], hdict['min'], hdict['max'])
 
list compare.hists = []
 
dictionary compare.hvardict
 
string compare.loose_id = 'tau_decayModeFindingOldDMs > 0.5 && tau_byLooseCombinedIsolationDeltaBetaCorr3Hits > 0.5'
 
 compare.num_sel = reco_cut
 
string compare.reco_cut = 'tau_pt > 20 && abs(tau_eta) < 2.3'
 
list compare.runtype = argvs[1]
 
dictionary compare.sampledict
 
tuple compare.tfile = TFile(rdict['file'])
 
string compare.tlabel = 'Z #rightarrow #tau#tau'
 
tuple compare.tree = tfile.Get('per_tau')
 
dictionary compare.vardict
 
string compare.xlabel = 'gen. tau p_{T}^{vis} (GeV)'