![]() |
![]() |
Functions | |
def | ensureDir |
def | hoverlay |
def | LegendSettings |
def | makeCompareVars |
def | makeEffPlotsVars |
def | overlay |
def | save |
Variables | |
tuple | argc = len(argvs) |
argvs = sys.argv | |
string | den_sel = '1' |
tuple | hist = TH1F('h_' + hname + '_' + rel, 'h_' + hname + '_' + rel, hdict['nbin'], hdict['min'], hdict['max']) |
list | hists = [] |
dictionary | hvardict |
string | loose_id = 'tau_decayModeFindingOldDMs > 0.5 && tau_byLooseCombinedIsolationDeltaBetaCorr3Hits > 0.5' |
num_sel = reco_cut | |
string | reco_cut = 'tau_pt > 20 && abs(tau_eta) < 2.3' |
list | runtype = argvs[1] |
dictionary | sampledict |
tuple | tfile = TFile(rdict['file']) |
string | tlabel = 'Z #rightarrow #tau#tau' |
tuple | tree = tfile.Get('per_tau') |
dictionary | vardict |
string | xlabel = 'gen. tau p_{T}^{vis} (GeV)' |
def compare.ensureDir | ( | directory | ) |
Definition at line 40 of file compare.py.
Referenced by save().
def compare.hoverlay | ( | hists, | |
xtitle, | |||
ytitle, | |||
name | |||
) |
def compare.LegendSettings | ( | leg, | |
ncolumn | |||
) |
Definition at line 50 of file compare.py.
Referenced by hoverlay(), makeCompareVars(), and overlay().
def compare.makeCompareVars | ( | tree, | |
var, | |||
sel, | |||
leglist, | |||
nbin, | |||
xmin, | |||
xmax, | |||
xtitle, | |||
ytitle, | |||
scale, | |||
name | |||
) |
def compare.makeEffPlotsVars | ( | tree, | |
varx, | |||
vary, | |||
sel, | |||
nbinx, | |||
xmin, | |||
xmax, | |||
nbiny, | |||
ymin, | |||
ymax, | |||
xtitle, | |||
ytitle, | |||
leglabel = None , |
|||
header = '' , |
|||
addon = '' , |
|||
option = 'pt' , |
|||
marker = 20 |
|||
) |
Definition at line 228 of file compare.py.
References mps_check.array.
def compare.overlay | ( | hists, | |
ytitle, | |||
header, | |||
addon | |||
) |
Definition at line 119 of file compare.py.
References LegendSettings(), and save().
Referenced by FWCaloTowerDetailView.build(), FWMuonDetailView.build(), FWPhotonDetailView.build(), FWElectronDetailView.build(), and SiStripHitEffFromCalibTree.makeSummary().
def compare.save | ( | canvas, | |
name | |||
) |
Definition at line 44 of file compare.py.
References ensureDir(), and python.rootplot.root2matplotlib.replace().
Referenced by hoverlay(), and overlay().
tuple compare.argc = len(argvs) |
Definition at line 14 of file compare.py.
compare.argvs = sys.argv |
Definition at line 13 of file compare.py.
string compare.den_sel = '1' |
Definition at line 325 of file compare.py.
tuple compare.hist = TH1F('h_' + hname + '_' + rel, 'h_' + hname + '_' + rel, hdict['nbin'], hdict['min'], hdict['max']) |
Definition at line 372 of file compare.py.
list compare.hists = [] |
Definition at line 315 of file compare.py.
Referenced by AlignmentMonitorGeneric.book(), EcalSelectiveReadoutValidation.EcalSelectiveReadoutValidation(), PedsFullNoiseHistograms.histoAnalysis(), and main().
dictionary compare.hvardict |
Definition at line 347 of file compare.py.
string compare.loose_id = 'tau_decayModeFindingOldDMs > 0.5 && tau_byLooseCombinedIsolationDeltaBetaCorr3Hits > 0.5' |
Definition at line 304 of file compare.py.
string compare.num_sel = reco_cut |
Definition at line 324 of file compare.py.
string compare.reco_cut = 'tau_pt > 20 && abs(tau_eta) < 2.3' |
Definition at line 303 of file compare.py.
Definition at line 20 of file compare.py.
Referenced by RPCTechTriggerConfig.RPCTechTriggerConfig(), and RunTypeDef.setRunType().
dictionary compare.sampledict |
Definition at line 306 of file compare.py.
tuple compare.tfile = TFile(rdict['file']) |
Definition at line 321 of file compare.py.
Referenced by SiStripGainFromCalibTree.algoAnalyzeTheTree(), MaterialBudgetCastorHistos.book(), MaterialBudgetHcalHistos.book(), MaterialBudget.book(), MaterialBudgetForward.book(), DreamSD.DreamSD(), ElectronStudy.ElectronStudy(), HCalSD.HCalSD(), HcalTB02Histo.HcalTB02Histo(), HcalTB04Histo.HcalTB04Histo(), HcalTB06Histo.HcalTB06Histo(), HFGflash.HFGflash(), HFShowerParam.HFShowerParam(), HGCalTBMB.HGCalTBMB(), HLTCSCOverlapFilter.HLTCSCOverlapFilter(), and MuonAlignmentFromReference.MuonAlignmentFromReference().
string compare.tlabel = 'Z #rightarrow #tau#tau' |
Definition at line 24 of file compare.py.
Referenced by cscdqm::EventProcessor.getCSCFromMap().
tuple compare.tree = tfile.Get('per_tau') |
Definition at line 322 of file compare.py.
dictionary compare.vardict |
Definition at line 272 of file compare.py.
Definition at line 25 of file compare.py.