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 393 of file histoStyle.py.
References sistrip::SpyUtilities.range().
def histoStyle.createRatioFromGraph | ( | hVal, | |
hRef | |||
) |
Definition at line 408 of file histoStyle.py.
References sistrip::SpyUtilities.range().
def histoStyle.graphProducer | ( | plot, | |
histos, | |||
tagFlav = "B" , |
|||
mistagFlav = ["C" , |
|||
DUSG, | |||
isVal = True |
|||
) |
Definition at line 240 of file histoStyle.py.
References bitset_utilities.append(), SiStripPI.max, and sistrip::SpyUtilities.range().
def histoStyle.histoProducer | ( | plot, | |
histos, | |||
keys, | |||
isVal = True |
|||
) |
Definition at line 184 of file histoStyle.py.
References SiStripPI.max, sistrip::SpyUtilities.range(), and MultipleCompare.Rebin().
def histoStyle.savePlots | ( | title, | |
saveName, | |||
listFromats, | |||
plot, | |||
Histos, | |||
keyHisto, | |||
listLegend, | |||
options, | |||
ratios = None , |
|||
legendName = "" |
|||
) |
Definition at line 314 of file histoStyle.py.
References hippyaddtobaddatafiles.cd(), print(), ecalTPGAnalyzer_cfg.Print, sistrip::SpyUtilities.range(), str, and gpuVertexFinder.while().
string histoStyle.Banner = "CMS Preliminary" |
Definition at line 54 of file histoStyle.py.
histoStyle.batch = False |
Definition at line 50 of file histoStyle.py.
histoStyle.doRatio = True |
Definition at line 55 of file histoStyle.py.
Referenced by HcalLutAnalyzer.analyze().
histoStyle.drawLegend = False |
Definition at line 52 of file histoStyle.py.
string histoStyle.drawOption = "" |
Definition at line 56 of file histoStyle.py.
Referenced by drawHistograms(), and TauDQMHistPlotter.endRun().
list histoStyle.EtaPtBin |
Definition at line 60 of file histoStyle.py.
Referenced by MiniAODTaggerAnalyzer.bookHistograms(), MiniAODTaggerHarvester.dqmEndJob(), BTagPerformanceHarvester.getEtaPtBin(), BTagPerformanceAnalyzerOnData.getEtaPtBin(), and BTagPerformanceAnalyzerMC.getEtaPtBin().
string histoStyle.fileNameRef = "BTagRelVal_TTbar_Startup_612SLHC1_14.root" |
Definition at line 42 of file histoStyle.py.
string histoStyle.fileNameVal = "BTagRelVal_TTbar_Startup_14_612SLHC2.root" |
Definition at line 41 of file histoStyle.py.
list histoStyle.listFlavors |
Definition at line 83 of file histoStyle.py.
list histoStyle.listFromats |
Definition at line 127 of file histoStyle.py.
list histoStyle.listHistos |
Definition at line 136 of file histoStyle.py.
list histoStyle.listTag |
Definition at line 68 of file histoStyle.py.
dictionary histoStyle.mapColor |
Definition at line 93 of file histoStyle.py.
dictionary histoStyle.mapLineStyle |
Definition at line 122 of file histoStyle.py.
dictionary histoStyle.mapLineWidth |
Definition at line 118 of file histoStyle.py.
dictionary histoStyle.mapMarker |
Definition at line 114 of file histoStyle.py.
Definition at line 58 of file histoStyle.py.
histoStyle.printBanner = False |
Definition at line 53 of file histoStyle.py.
string histoStyle.RefRel = "612SLHC1_14" |
Definition at line 45 of file histoStyle.py.
string histoStyle.RefSample = "TTbar_FullSim" |
Definition at line 48 of file histoStyle.py.
tuple histoStyle.unity = TF1("unity","1",-1000,1000) |
Definition at line 131 of file histoStyle.py.
string histoStyle.ValRel = "612SLHC2_14" |
Definition at line 44 of file histoStyle.py.
string histoStyle.ValSample = "TTbar_FullSim" |
Definition at line 47 of file histoStyle.py.
int histoStyle.weight = 1 |
Definition at line 51 of file histoStyle.py.
Referenced by LutXml::_Config._Config(), KalmanVertexUpdator< N >.add(), reco::TrackKinematics.add(), lhef::LHERunInfo::Counter.add(), MuonTruth.addChannel(), RPCRawDataCounts.addDccRecord(), Accumulator.addEntry(), CaloValidationStatistics.addEntry(), MultiTrajectoryStateAssembler.addInvalidState(), TtFullLepKinSolver.addKinSolInfo(), addMeas(), MuonDT2ChamberResidual.addResidual(), MuonCSCChamberResidual.addResidual(), MuonDT13ChamberResidual.addResidual(), CSCPairResidualsConstraint.addTrack(), FedCablingAlgorithm.analyse(), JetAnaPythia< Jet >.analyze(), HistoAnalyzer< C >.analyze(), BTagPerformanceAnalyzerMC.analyze(), MuonTruth.analyze(), HLTMCtruth.analyze(), TauValidation.analyze(), WValidation.analyze(), BasicHepMCHeavyIonValidation.analyze(), DrellYanValidation.analyze(), BasicGenParticleValidation.analyze(), BasicHepMCValidation.analyze(), MBUEandQCDValidation.analyze(), HiggsValidation.analyze(), EtlDigiHitsValidation.analyze(), DuplicationChecker.analyze(), EtlSimHitsValidation.analyze(), AnotherPrimaryVertexAnalyzer.analyze(), EtlLocalRecoValidation.analyze(), MCVerticesAnalyzer.analyze(), Rivet::CMS_2013_I1224539_DIJET.analyze(), MCvsRecoVerticesAnalyzer.analyze(), FSQDiJetAve.analyze(), EgHLTOfflineSource.analyze(), IsolatedTracksNxN.analyze(), Rivet::HiggsTemplateCrossSections.analyze(), RecAnalyzerMinbias.analyzeHcal(), RegressionHelper.applyCombinationRegression(), areaInfo.areaInfo(), GsfVertexUpdator.assembleVertexComponents(), CaloTowersCreationAlgo.assignHitEcal(), CaloTowersCreationAlgo.assignHitHcal(), ticl.assignPCAtoTracksters(), reco::tau::RecoTauVertexAssociator.associatedVertex(), QuickTrackAssociatorByHitsImpl.associateTrack(), JetAnaPythia< Jet >.beginJob(), BremsstrahlungSimulator.brem(), fastsim::Bremsstrahlung.brem(), AlignmentTask.buildStandardConstraints(), ticl::TracksterP4FromEnergySum.calcP4(), GsfVertexWeightCalculator.calculate(), ClusterShapeAlgo.Calculate_EnergyDepTopology(), PositionCalc.Calculate_Location(), ECAL2DPositionCalcWithDepthCorr.calculateAndSetPositionActual(), TBPositionCalc.CalculateCMSPos(), HGCalImagingAlgo.calculatePositionWithFraction(), QGTagger.calcVariables(), XHistogram.check_weight(), DD4hep_XHistogram.check_weight(), DAFTrackProducerAlgorithm.checkHits(), riemannFit.circleFit(), MultiGaussianStateCombiner1D.combine(), EpCombinationTool.combine(), PairProductionSimulator.compute(), CandIsolatorFromDeposits::SingleDeposit.compute(), PFCandIsolatorFromDeposits::SingleDeposit.compute(), PileupJetIdAlgo.computeIdVariables(), MVAJetPuId.computeIdVariables(), MuScleFitUtils.computeWeight(), EcalTPGParamBuilder.computeWeights(), MassWindow.count(), FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >.count(), BackgroundHandler.countEventsInAllWindows(), MultiVertexFitter.createSeed(), DreamSD.curve_LY(), HcalTB02SD.curve_LY(), ECalSD.curve_LY(), CaloSteppingAction.curve_LY(), SignedImpactParameter3D.distanceWithJetAxis(), CSCOfflineMonitor.doEfficiencies(), CSCValidation.doEfficiencies(), DTCertificationSummary.dqmEndJob(), DTResolutionAnalysisTest.dqmEndJob(), DTRunConditionVarClient.dqmEndJob(), MuScleFit.duringFastLoop(), CalorimetryManager.EMShowerSimulation(), CaloTowersCreationAlgo.emShwrLogWeightPos(), lhef::LHEReader::XMLHandler.endElement(), AdaptiveVertexReconstructor.erase(), FastCircleFit.FastCircleFit(), VertexHistogramMaker.fill(), BPhysicsValidation::ParticleMonitor.Fill(), BasicHepMCValidation::ParticleMonitor.Fill(), ConfigurableHisto.fill(), HParticle.Fill(), HPartVSEta.Fill(), HPartVSPhi.Fill(), HPartVSPt.Fill(), HMassVSPart.Fill(), HMassVSPartProfile.Fill(), HcalDigisClient.fill1D(), HcalDigisClient.fill2D(), fillEBMap_SingleIOV(), fillEBMap_TwoIOVs(), fillEEMap_SingleIOV(), fillEEMap_TwoIOVs(), SiPixelDataQuality.fillGlobalQualityPlot(), HLXMonitor.FillHistograms(), GenWeightsTableProducer.fillLHEWeightTables(), SVTagInfoValidationAnalyzer.fillRecoToSim(), recoBSVTagInfoValidationAnalyzer.fillRecoToSim(), SVTagInfoValidationAnalyzer.fillSimToReco(), recoBSVTagInfoValidationAnalyzer.fillSimToReco(), HGCalHistoSeedingImpl.fillSmoothRPhiHistoClusters(), cond::payloadInspector::Histogram1< AxisType, PayloadType, IOV_M >.fillWithBinAndValue(), cond::payloadInspector::Histogram1< AxisType, PayloadType, IOV_M >.fillWithValue(), cond::payloadInspector::Histogram2D< PayloadType, IOV_M >.fillWithValue(), HepMCFilterDriver.filter(), TauSpinnerFilter.filter(), MCVerticesWeight.filter(), reco::PositiveSideGhostTrackFitter.fit(), MuonResiduals1DOFFitter.fit(), PFDisplacedVertexFinder.fitVertexFromSeed(), FullModelReactionDynamics.GenerateNBodyEvent(), gen::Hydjet2Hadronizer.generatePartonsAndHadronize(), QuickTrackAssociatorByHitsImpl.getAllSimTrackIdentifiers(), CaloSD.getAttenuation(), CaloSteppingAction.getBirkHC(), ECalSD.getBirkL3(), CaloSteppingAction.getBirkL3(), metsig::METSignificance.getCovariance(), QuickTrackAssociatorByHitsImpl.getDoubleCount(), TotemT2ScintSD.getEnergyDeposit(), AHCalSD.getEnergyDeposit(), HGCalTB16SD01.getEnergyDeposit(), HcalTB06BeamSD.getEnergyDeposit(), EcalTBH4BeamSD.getEnergyDeposit(), DreamSD.getEnergyDeposit(), HcalTB02SD.getEnergyDeposit(), ECalSD.getEnergyDeposit(), EcalClusterToolsT< noZS >.getEnergyDepTopology(), FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >.getFilteredCands(), HFShowerParam.getHits(), GsfBetheHeitlerUpdator.getMixtureParameters(), hgcal::ClusterTools.getMultiClusterPosition(), Qjets.GetNextDistance(), TtFullLepKinSolver.getNuSolution(), HGCalShowerShapeHelper::ShowerShapeCalc.getPCAWidths(), CaloMeanResponse.getWeight(), AdaptiveVertexFitter.getWeight(), hgcal::ClusterTools.getWidths(), HGCalRecHitWorkerSimple.HGCalRecHitWorkerSimple(), tnp::BaseTreeFiller.init(), reco::GhostTrack.initStates(), fastsim::PairProduction.interact(), CSCPairResidualsConstraint.isFiducial(), IPTools.jetTrackDistance(), likelihood(), reco.makeSpecific(), reco::PFDisplacedVertexSeed.mergeWith(), reco::tau::qcuts.minPackedCandVertexWeight(), EGRegressionModifierV1.modifyObject(), 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(), TauValidation.photons(), MuonResiduals1DOFFitter.plot(), MuonResiduals6DOFrphiFitter.plot(), MuonResiduals5DOFFitter.plot(), MuonResiduals6DOFFitter.plot(), MuonResidualsFitter.plotweighted(), RandArrayFunction.PrepareTable(), PrescaleWeightProvider.prescaleWeight(), PrintMaterialBudgetInfo.printInfo(), MultiClustersFromTrackstersProducer.produce(), PATPuppiJetSpecificProducer.produce(), LHECOMWeightProducer.produce(), ShiftedParticleMETcorrInputProducer.produce(), PFCandMETcorrInputProducer.produce(), ShiftedParticleProducer.produce(), edm::BeamHaloProducer.produce(), MultShiftMETcorrInputProducer.produce(), MultShiftMETcorrDBInputProducer.produce(), HFJetShowerShape.produce(), FastPrimaryVertexWithWeightsProducer.produce(), GenFilterEfficiencyProducer.produce(), GenWeightsTableProducer.produce(), EcalTBWeightsXMLTranslator.readWeightSet(), EcalWeightSetXMLTranslator.readXML(), FastHFShowerLibrary.recoHFShowerLibrary(), KalmanVertexUpdator< N >.remove(), CaloTowersCreationAlgo.rescale(), CaloTowersCreationAlgo.rescaleTowers(), BtoCharmDecayVertexMergerT< VTX >.resolveBtoDchain(), AdaptiveVertexFitter.reWeightTracks(), EcalClusterToolsT< noZS >.roundnessSelectedBarrelRecHits(), PFSpecificAlgo.run(), METAlgo.run(), L1Analysis::L1AnalysisEvent.Set(), UpdateTProfile.setBinContent(), FWGUIManager.setFrom(), HGCalShowerShapeHelper::ShowerShapeCalc.setLayerWiseInfo(), tauImpactParameter::LagrangeMultipliersFitter.setWeight(), Histograms.SetWeight(), HcalTriggerPrimitiveAlgo.setWeightQIE11(), CandIsolatorFromDeposits::SingleDeposit.SingleDeposit(), PFCandIsolatorFromDeposits::SingleDeposit.SingleDeposit(), TauValidation.spinEffectsWHpm(), TauValidation.spinEffectsZH(), sistrip::MeasureLA.summarize_module_muH_byLayer(), TBposition(), hcalCalib.Terminate(), CTPPSTimingTrackRecognition< TRACK_TYPE, HIT_TYPE >.timeEval(), PF_PU_AssoMapAlgos.TrackWeightAssociation(), EcalTPGParamBuilder.uncodeWeight(), KalmanVertexUpdator< N >.update(), HcaluLUTTPGCoder.update(), SimG4HGCalValidation.update(), CommissioningTask.updateHistoSet(), reco::PFDisplacedVertexSeed.updateSeedPoint(), GsfMaterialEffectsUpdator.updateState(), MultiVertexFitter.updateWeights(), VertexTrackFactory< 6 >.vertexTrack(), vtxMean(), QuickTrackAssociatorByHitsImpl.weightedNumberOfTrackClusters(), TtFullLepKinSolver.WeightSolfromMC(), AdaptiveVertexFitter.weightTracks(), MuonResidualsTwoBin.wmean(), and reco.writeSpecific().