Functions | |
def | ensureDir (directory) |
def | hoverlay (hists, xtitle, ytitle, name) |
def | LegendSettings (leg, ncolumn) |
def | makeCompareVars (tree, var, sel, leglist, nbin, xmin, xmax, xtitle, ytitle, scale, name) |
def | makeEffPlotsVars (tree, varx, vary, sel, nbinx, xmin, xmax, nbiny, ymin, ymax, xtitle, ytitle, leglabel=None, header='', addon='', option='pt', marker=20) |
def | overlay (hists, ytitle, header, addon) |
def | save (canvas, name) |
Variables | |
argc | |
argvs | |
den_sel | |
hist | |
hists | |
hvardict | |
loose_id | |
num_sel | |
reco_cut | |
runtype | |
sampledict | |
tfile | |
tlabel | |
tree | |
vardict | |
xlabel | |
def compare.ensureDir | ( | directory | ) |
Definition at line 44 of file compare.py.
Referenced by save().
def compare.hoverlay | ( | hists, | |
xtitle, | |||
ytitle, | |||
name | |||
) |
def compare.LegendSettings | ( | leg, | |
ncolumn | |||
) |
Definition at line 54 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 232 of file compare.py.
References mps_check.array.
def compare.overlay | ( | hists, | |
ytitle, | |||
header, | |||
addon | |||
) |
Definition at line 123 of file compare.py.
References LegendSettings(), print(), FastTimerService_cff.range, and save().
Referenced by FWCaloTowerDetailView.build(), FWMuonDetailView.build(), FWPhotonDetailView.build(), FWElectronDetailView.build(), and SiStripHitEffFromCalibTree.makeSummary().
def compare.save | ( | canvas, | |
name | |||
) |
Definition at line 48 of file compare.py.
References ensureDir(), and python.rootplot.root2matplotlib.replace().
Referenced by hoverlay(), and overlay().
compare.argc |
Definition at line 18 of file compare.py.
compare.argvs |
Definition at line 17 of file compare.py.
compare.den_sel |
Definition at line 329 of file compare.py.
compare.hist |
Definition at line 376 of file compare.py.
compare.hists |
Definition at line 319 of file compare.py.
Referenced by trklet::TrackletCalculatorBase.barrelSeeding(), AlignmentMonitorGeneric.book(), TrigObjTnPHistColl::HistDefs.bookHists(), ColourStatsBoxes(), CosmicGenFilterHelix.createHistsEnd(), CosmicGenFilterHelix.createHistsStart(), EcalSelectiveReadoutValidation.EcalSelectiveReadoutValidation(), trklet::MatchCalculator.execute(), PatZToMuMuAnalyzer.fill(), MillePedeMonitor.fillResidualHists(), MillePedeMonitor.fillResidualHitHists(), getHists(), PedsFullNoiseHistograms.histoAnalysis(), main(), trklet::MatchProcessor.matchCalculator(), CosmicGenFilterHelix.monitorEnd(), CosmicGenFilterHelix.monitorStart(), SetMinMaxRange(), and setStack().
compare.hvardict |
Definition at line 351 of file compare.py.
compare.loose_id |
Definition at line 308 of file compare.py.
compare.num_sel |
Definition at line 328 of file compare.py.
compare.reco_cut |
Definition at line 307 of file compare.py.
compare.runtype |
Definition at line 24 of file compare.py.
compare.sampledict |
Definition at line 310 of file compare.py.
compare.tfile |
Definition at line 325 of file compare.py.
Referenced by HitParentTest.beginJob(), HcalSimHitAnalysis.beginJob(), HOSimHitStudy.beginJob(), EcalSimHitStudy.beginJob(), MaterialBudgetCastorHistos.book(), MaterialBudgetHcalHistos.book(), MaterialBudget.book(), MaterialBudgetForward.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(), HLTCSCOverlapFilter.HLTCSCOverlapFilter(), HGCSD.initRun(), and XtalDedxAnalysis.XtalDedxAnalysis().
compare.tlabel |
Definition at line 28 of file compare.py.
Referenced by cscdqm::EventProcessor.getCSCFromMap().
compare.tree |
Definition at line 326 of file compare.py.
compare.vardict |
Definition at line 276 of file compare.py.
compare.xlabel |
Definition at line 29 of file compare.py.