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 43 of file compare.py.
Referenced by save().
def compare.hoverlay | ( | hists, | |
xtitle, | |||
ytitle, | |||
name | |||
) |
def compare.LegendSettings | ( | leg, | |
ncolumn | |||
) |
Definition at line 53 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 231 of file compare.py.
References mps_check.array.
def compare.overlay | ( | hists, | |
ytitle, | |||
header, | |||
addon | |||
) |
Definition at line 122 of file compare.py.
References LegendSettings(), print(), sistrip::SpyUtilities.range(), and save().
Referenced by FWCaloTowerDetailView.build(), FWMuonDetailView.build(), FWPhotonDetailView.build(), FWElectronDetailView.build(), and SiStripHitEffFromCalibTree.makeSummary().
def compare.save | ( | canvas, | |
name | |||
) |
Definition at line 47 of file compare.py.
References ensureDir(), and python.rootplot.root2matplotlib.replace().
Referenced by hoverlay(), and overlay().
tuple compare.argc = len(argvs) |
Definition at line 17 of file compare.py.
compare.argvs = sys.argv |
Definition at line 16 of file compare.py.
string compare.den_sel = '1' |
Definition at line 328 of file compare.py.
tuple compare.hist = TH1F('h_' + hname + '_' + rel, 'h_' + hname + '_' + rel, hdict['nbin'], hdict['min'], hdict['max']) |
Definition at line 375 of file compare.py.
list compare.hists = [] |
Definition at line 318 of file compare.py.
Referenced by trklet::TrackletCalculatorBase.barrelSeeding(), AlignmentMonitorGeneric.book(), TrigObjTnPHistColl::HistDefs.bookHists(), PPSTimingCalibrationPCLHarvester.dqmEndJob(), EcalSelectiveReadoutValidation.EcalSelectiveReadoutValidation(), trklet::MatchCalculator.execute(), MillePedeMonitor.fillResidualHitHists(), PedsFullNoiseHistograms.histoAnalysis(), main(), and trklet::MatchProcessor.matchCalculator().
dictionary compare.hvardict |
Definition at line 350 of file compare.py.
string compare.loose_id = 'tau_decayModeFindingOldDMs > 0.5 && tau_byLooseCombinedIsolationDeltaBetaCorr3Hits > 0.5' |
Definition at line 307 of file compare.py.
string compare.num_sel = reco_cut |
Definition at line 327 of file compare.py.
string compare.reco_cut = 'tau_pt > 20 && abs(tau_eta) < 2.3' |
Definition at line 306 of file compare.py.
list compare.runtype = argvs[1] |
Definition at line 23 of file compare.py.
dictionary compare.sampledict |
Definition at line 309 of file compare.py.
tuple compare.tfile = TFile(rdict['file']) |
Definition at line 324 of file compare.py.
Referenced by SiStripGainFromCalibTree.algoAnalyzeTheTree(), MaterialBudgetHcalAnalysis.beginJob(), HitParentTest.beginJob(), HcalSimHitAnalysis.beginJob(), HOSimHitStudy.beginJob(), EcalSimHitStudy.beginJob(), MaterialBudgetCastorHistos.book(), MaterialBudgetHcalHistos.book(), MaterialBudgetForward.book(), MaterialBudget.book(), CaloSimHitAnalysis.CaloSimHitAnalysis(), CaloSimHitStudy.CaloSimHitStudy(), CherenkovAnalysis.CherenkovAnalysis(), ECalSD.ECalSD(), ElectronStudy.ElectronStudy(), HCalSD.HCalSD(), HcalTB02Histo.HcalTB02Histo(), HcalTB04Histo.HcalTB04Histo(), HcalTB06Histo.HcalTB06Histo(), HFGflash.HFGflash(), HFShowerParam.HFShowerParam(), HGCalTBMB.HGCalTBMB(), HGCalTBMBAnalyzer.HGCalTBMBAnalyzer(), HLTCSCOverlapFilter.HLTCSCOverlapFilter(), HGCSD.initRun(), MuonAlignmentFromReference.MuonAlignmentFromReference(), and XtalDedxAnalysis.XtalDedxAnalysis().
string compare.tlabel = 'Z #rightarrow #tau#tau' |
Definition at line 27 of file compare.py.
Referenced by cscdqm::EventProcessor.getCSCFromMap().
tuple compare.tree = tfile.Get('per_tau') |
Definition at line 325 of file compare.py.
dictionary compare.vardict |
Definition at line 275 of file compare.py.
Definition at line 28 of file compare.py.