Functions | |
def | createRatio |
def | createRatioFromGraph |
def | graphProducer |
def | histoProducer |
def | savePlots |
Variables | |
string | Banner = "CMS Preliminary" |
batch = False | |
doRatio = True | |
drawLegend = False | |
string | drawOption = "" |
list | EtaPtBin |
string | fileNameRef = "BTagRelVal_TTbar_Startup_612SLHC1_14.root" |
string | fileNameVal = "BTagRelVal_TTbar_Startup_14_612SLHC2.root" |
list | listFlavors |
list | listFromats |
list | listHistos |
list | listTag |
dictionary | mapColor |
dictionary | mapLineStyle |
dictionary | mapLineWidth |
dictionary | mapMarker |
string | pathInFile = "/DQMData/Run 1/Btag/Run summary/" |
printBanner = False | |
string | RefRel = "612SLHC1_14" |
string | RefSample = "TTbar_FullSim" |
tuple | unity = TF1("unity","1",-1000,1000) |
string | ValRel = "612SLHC2_14" |
string | ValSample = "TTbar_FullSim" |
int | weight = 1 |
def histoStyle.createRatio | ( | hVal, | |
hRef | |||
) |
Definition at line 392 of file histoStyle.py.
def histoStyle.createRatioFromGraph | ( | hVal, | |
hRef | |||
) |
Definition at line 407 of file histoStyle.py.
def histoStyle.graphProducer | ( | plot, | |
histos, | |||
tagFlav = "B" , |
|||
mistagFlav = ["C" , |
|||
DUSG, | |||
isVal = True |
|||
) |
Definition at line 239 of file histoStyle.py.
References python.multivaluedict.append(), and max().
def histoStyle.histoProducer | ( | plot, | |
histos, | |||
keys, | |||
isVal = True |
|||
) |
Definition at line 183 of file histoStyle.py.
References max(), and MultipleCompare.Rebin().
def histoStyle.savePlots | ( | title, | |
saveName, | |||
listFromats, | |||
plot, | |||
Histos, | |||
keyHisto, | |||
listLegend, | |||
options, | |||
ratios = None , |
|||
legendName = "" |
|||
) |
Definition at line 313 of file histoStyle.py.
References ecalTPGAnalyzer_cfg.Print.
string histoStyle.Banner = "CMS Preliminary" |
Definition at line 53 of file histoStyle.py.
histoStyle.batch = False |
Definition at line 49 of file histoStyle.py.
histoStyle.doRatio = True |
Definition at line 54 of file histoStyle.py.
histoStyle.drawLegend = False |
Definition at line 51 of file histoStyle.py.
string histoStyle.drawOption = "" |
Definition at line 55 of file histoStyle.py.
Referenced by drawHistograms(), and TauDQMHistPlotter.endRun().
list histoStyle.EtaPtBin |
Definition at line 59 of file histoStyle.py.
Referenced by BTagPerformanceAnalyzerOnData.getEtaPtBin(), and BTagPerformanceAnalyzerMC.getEtaPtBin().
string histoStyle.fileNameRef = "BTagRelVal_TTbar_Startup_612SLHC1_14.root" |
Definition at line 41 of file histoStyle.py.
string histoStyle.fileNameVal = "BTagRelVal_TTbar_Startup_14_612SLHC2.root" |
Definition at line 40 of file histoStyle.py.
list histoStyle.listFlavors |
Definition at line 82 of file histoStyle.py.
list histoStyle.listFromats |
Definition at line 126 of file histoStyle.py.
list histoStyle.listHistos |
Definition at line 135 of file histoStyle.py.
list histoStyle.listTag |
Definition at line 67 of file histoStyle.py.
dictionary histoStyle.mapColor |
Definition at line 92 of file histoStyle.py.
dictionary histoStyle.mapLineStyle |
Definition at line 121 of file histoStyle.py.
dictionary histoStyle.mapLineWidth |
Definition at line 117 of file histoStyle.py.
dictionary histoStyle.mapMarker |
Definition at line 113 of file histoStyle.py.
Definition at line 57 of file histoStyle.py.
histoStyle.printBanner = False |
Definition at line 52 of file histoStyle.py.
string histoStyle.RefRel = "612SLHC1_14" |
Definition at line 44 of file histoStyle.py.
string histoStyle.RefSample = "TTbar_FullSim" |
Definition at line 47 of file histoStyle.py.
tuple histoStyle.unity = TF1("unity","1",-1000,1000) |
Definition at line 130 of file histoStyle.py.
string histoStyle.ValRel = "612SLHC2_14" |
Definition at line 43 of file histoStyle.py.
string histoStyle.ValSample = "TTbar_FullSim" |
Definition at line 46 of file histoStyle.py.
int histoStyle.weight = 1 |
Definition at line 50 of file histoStyle.py.
Referenced by PhysicsTools::LeastSquares.add(), reco::TrackKinematics.add(), KalmanVertexUpdator< N >.add(), lhef::LHERunInfo::Counter.add(), MuonTruth.addChannel(), RPCRawDataCounts.addDccRecord(), Accumulator.addEntry(), CaloValidationStatistics.addEntry(), MultiTrajectoryStateAssembler.addInvalidState(), TtFullLepKinSolver.addKinSolInfo(), addMeas(), MuonDT13ChamberResidual.addResidual(), MuonCSCChamberResidual.addResidual(), MuonDT2ChamberResidual.addResidual(), CSCPairResidualsConstraint.addTrack(), FedCablingAlgorithm.analyse(), EWKSystUnc.analyze(), ZLONLOHistogrammer.analyze(), ZMCHistogrammer.analyze(), zPdfUnc.analyze(), JetAnaPythia< Jet >.analyze(), GenMuonRadCorrAnalyzer.analyze(), HistoAnalyzer< C >.analyze(), MuonTruth.analyze(), TtSemiLepSignalSelMVATrainer.analyze(), EmbeddingKineReweightNtupleProducer.analyze(), BasicHepMCHeavyIonValidation.analyze(), BasicHepMCValidation.analyze(), DrellYanValidation.analyze(), WValidation.analyze(), HiggsValidation.analyze(), BasicGenParticleValidation.analyze(), MBUEandQCDValidation.analyze(), Rivet::CMS_EWK_10_010.analyze(), DuplicationChecker.analyze(), BTagPerformanceAnalyzerMC.analyze(), AnotherPrimaryVertexAnalyzer.analyze(), Rivet::CMS_EWK_11_021.analyze(), Rivet::CMS_2011_I930319.analyze(), MCVerticesAnalyzer.analyze(), TauValidation.analyze(), MCvsRecoVerticesAnalyzer.analyze(), Rivet::CMS_FSQ_12_020.analyze(), EgHLTOfflineSource.analyze(), Rivet::MC_LES_HOUCHES_SYSTEMATICS_CMS.analyze(), IsolatedTracksNxN.analyze(), Rivet::CMS_EWK_10_012.analyze(), MCEmbeddingValidationAnalyzer.analyze(), RegressionHelper.applyCombinationRegression(), GsfVertexUpdator.assembleVertexComponents(), CaloTowersCreationAlgo.assignHit(), reco::tau::RecoTauVertexAssociator.associatedVertex(), JetAnaPythia< Jet >.beginJob(), BremsstrahlungSimulator.brem(), GsfVertexWeightCalculator.calculate(), ClusterShapeAlgo.Calculate_EnergyDepTopology(), PositionCalc.Calculate_Location(), TBPositionCalc.CalculateCMSPos(), XHistogram.check_weight(), MultiGaussianStateCombiner1D.combine(), EpCombinationTool.combine(), PairProductionSimulator.compute(), CandIsolatorFromDeposits::SingleDeposit.compute(), PFCandIsolatorFromDeposits::SingleDeposit.compute(), MuScleFitUtils.computeWeight(), EcalTPGParamBuilder.computeWeights(), MassWindow.count(), BackgroundHandler.countEventsInAllWindows(), MultiVertexFitter.createSeed(), DreamSD.curve_LY(), HcalTB02SD.curve_LY(), ECalSD.curve_LY(), SignedImpactParameter3D.distanceWithJetAxis(), CSCOfflineMonitor.doEfficiencies(), CSCValidation.doEfficiencies(), PhysicsTools::TrainProcessor.doTrainData(), MuScleFit.duringFastLoop(), CalorimetryManager.EMShowerSimulation(), CaloTowersCreationAlgo.emShwrLogWeightPos(), lhef::LHEReader::XMLHandler.endElement(), DTCertificationSummary.endRun(), DTResolutionAnalysisTest.endRun(), DTRunConditionVarClient.endRun(), AdaptiveVertexReconstructor.erase(), reco::Jet.etaetaMoment(), reco::Jet.etaphiMoment(), reco::Jet.etaPhiStatistics(), evaluateTtFullHadSignalSel(), evaluateTtSemiLepSignalSel(), VertexHistogramMaker.fill(), ConfigurableHisto.fill(), HParticle.Fill(), HPartVSEta.Fill(), HPartVSPhi.Fill(), HPartVSPt.Fill(), HMassVSPart.Fill(), HMassVSPartProfile.Fill(), HcalDigisClient.fill1D(), HcalDigisClient.fill2D(), SiPixelDataQuality.fillGlobalQualityPlot(), HLXMonitor.FillHistograms(), MCEmbeddingValidationAnalyzer::plotEntryTypeEvtWeight.fillHistograms(), SVTagInfoValidationAnalyzer.fillRecoToSim(), recoBSVTagInfoValidationAnalyzer.fillRecoToSim(), recoBSVTagInfoValidationAnalyzer.fillSimToReco(), SVTagInfoValidationAnalyzer.fillSimToReco(), MCVerticesWeight.filter(), reco::PositiveSideGhostTrackFitter.fit(), MuonResiduals1DOFFitter.fit(), PFDisplacedVertexFinder.fitVertexFromSeed(), SherpaHadronizer.generatePartonsAndHadronize(), CaloSD.getAttenuation(), ECalSD.getBirkL3(), HcalTB06BeamSD.getEnergyDeposit(), EcalTBH4BeamSD.getEnergyDeposit(), ECalSD.getEnergyDeposit(), HcalTB02SD.getEnergyDeposit(), HCalSD.getEnergyDeposit(), EcalClusterTools.getEnergyDepTopology(), HFShowerParam.getHits(), TtFullLepKinSolver.getNuSolution(), DreamSD.getStepInfo(), CaloMeanResponse.getWeight(), AdaptiveVertexFitter.getWeight(), tnp::BaseTreeFiller.init(), reco::GhostTrack.initStates(), CSCPairResidualsConstraint.isFiducial(), IPTools.jetTrackDistance(), likelihood(), reco::PFDisplacedVertexSeed.mergeWith(), MuonResiduals1DOFFitter_FCN(), MuonResiduals5DOFFitter_FCN(), MuonResiduals6DOFFitter_FCN(), MuonResiduals6DOFrphiFitter_FCN(), SmsModeFinder3d.operator()(), MtvClusterizer1D< T >.operator()(), FsmwClusterizer1D< T >.operator()(), FsmwModeFinder3d.operator()(), npstat::LinInterpolatedTableND< Numeric, Axis >.operator()(), DTSegmentAnalysisTest.performClientDiagnostic(), reco::Jet.phiphiMoment(), TauValidation.photons(), MuonResiduals1DOFFitter.plot(), MuonResiduals5DOFFitter.plot(), MuonResiduals6DOFFitter.plot(), MuonResiduals6DOFrphiFitter.plot(), MuonResidualsFitter.plotweighted(), PrescaleWeightProvider.prescaleWeight(), PrintMaterialBudgetInfo.printInfo(), HCalSD.ProcessHits(), WeakEffectsWeightProducer.produce(), ISRGammaWeightProducer.produce(), ISRWeightProducer.produce(), FSRWeightProducer.produce(), LHECOMWeightProducer.produce(), edm::BeamHaloProducer.produce(), ZmumuEvtSelEffCorrWeightProducer.produce(), MuonRadiationCorrWeightProducer.produce(), EmbeddingKineReweightProducer.produce(), AlCaECALRecHitReducer.produce(), FastPrimaryVertexWithWeightsProducer.produce(), EcalTBWeightsXMLTranslator.readWeightSet(), EcalWeightSetXMLTranslator.readXML(), KalmanVertexUpdator< N >.remove(), CaloTowersCreationAlgo.rescale(), CaloTowersCreationAlgo.rescaleTowers(), BtoCharmDecayVertexMerger.resolveBtoDchain(), AdaptiveVertexFitter.reWeightTracks(), EcalClusterTools.roundnessSelectedBarrelRecHits(), PhysicsTools::MLP.set(), UpdateTProfile.setBinContent(), FWGUIManager.setFrom(), tauImpactParameter::LagrangeMultipliersFitter.setWeight(), Histograms.SetWeight(), CandIsolatorFromDeposits::SingleDeposit.SingleDeposit(), PFCandIsolatorFromDeposits::SingleDeposit.SingleDeposit(), TauValidation.spinEffectsWHpm(), TauValidation.spinEffectsZH(), sistrip::MeasureLA.summarize_module_muH_byLayer(), TBposition(), hcalCalib.Terminate(), PF_PU_AssoMapAlgos.TrackWeightAssociation(), EcalTPGParamBuilder.uncodeWeight(), KalmanVertexUpdator< N >.update(), CommissioningTask.updateHistoSet(), reco::PFDisplacedVertexSeed.updateSeedPoint(), GsfMaterialEffectsUpdator.updateState(), MultiVertexFitter.updateWeights(), VertexTrackFactory< 6 >.vertexTrack(), vtxMean(), TtFullLepKinSolver.WeightSolfromMC(), AdaptiveVertexFitter.weightTracks(), and MuonResidualsTwoBin.wmean().