Functions | |
def | fillPileupHistogram |
def | MyErf |
def | parseInputFile |
Variables | |
list | CalculationModeChoices = ['truth', 'observed'] |
string | default = 'PileupCalc.root' |
string | help = 'output root file' |
tuple | histFile = ROOT.TFile.Open(output, 'recreate') |
tuple | inpf = open(options.inputfile, 'r') |
tuple | inputfilecontent = inpf.read() |
tuple | inputPileupRange = parseInputFile(options.inputLumiJSON) |
tuple | inputRange = selectionParser.selectionParser(inputfilecontent) |
list | LSPUlist = inputPileupRange[run] |
list | lumiInfo = LSPUlist[LSnumber] |
nbins = options.numPileupBins | |
list | output = args[0] |
tuple | parser |
## Main ProgramMore... | |
tuple | pileupHist |
type = float, | |
upper = options.maxPileupBin | |
string | VERSION = '1.00' |
def pileupCalc.fillPileupHistogram | ( | lumiInfo, | |
calcOption, | |||
hist, | |||
minbXsec, | |||
Nbins | |||
) |
lumiinfo:[intlumi per LS, mean interactions ] intlumi is the deadtime corrected average integraged lumi per lumisection
Definition at line 54 of file pileupCalc.py.
References MyErf(), and mathSSE.sqrt().
def pileupCalc.MyErf | ( | input | ) |
Definition at line 22 of file pileupCalc.py.
References funct.abs(), and create_public_lumi_plots.exp.
Referenced by fillPileupHistogram().
def pileupCalc.parseInputFile | ( | inputfilename | ) |
output ({run:[ls:[inlumi, meanint]]})
Definition at line 10 of file pileupCalc.py.
list pileupCalc.CalculationModeChoices = ['truth', 'observed'] |
Definition at line 172 of file pileupCalc.py.
string pileupCalc.default = 'PileupCalc.root' |
Definition at line 183 of file pileupCalc.py.
string pileupCalc.help = 'output root file' |
Definition at line 184 of file pileupCalc.py.
tuple pileupCalc.histFile = ROOT.TFile.Open(output, 'recreate') |
Definition at line 278 of file pileupCalc.py.
tuple pileupCalc.inpf = open(options.inputfile, 'r') |
Definition at line 240 of file pileupCalc.py.
tuple pileupCalc.inputfilecontent = inpf.read() |
Definition at line 241 of file pileupCalc.py.
tuple pileupCalc.inputPileupRange = parseInputFile(options.inputLumiJSON) |
Definition at line 247 of file pileupCalc.py.
tuple pileupCalc.inputRange = selectionParser.selectionParser(inputfilecontent) |
Definition at line 242 of file pileupCalc.py.
list pileupCalc.LSPUlist = inputPileupRange[run] |
Definition at line 257 of file pileupCalc.py.
Definition at line 262 of file pileupCalc.py.
Referenced by edm.BranchTypeToInfoTreeName().
pileupCalc.nbins = options.numPileupBins |
Definition at line 237 of file pileupCalc.py.
Referenced by npstat::HistoND< Numeric, Axis >.accumulateBinsLoop(), FedTimingAlgorithm.analyse(), ApvTimingAlgorithm.analyse(), FastFedCablingAlgorithm.analyse(), OptoScanAlgorithm.analyse(), DaqScopeModeAlgorithm.analyse(), BigEventsDebugger< T >.analyze(), DQMMessageLogger.beginJob(), BigEventsDebugger< T >.BigEventsDebugger(), FastFedCablingTask.book(), ApvTimingTask.book(), FedTimingTask.book(), VpspScanTask.book(), OptoScanTask.book(), PedestalsTask.book(), FedCablingTask.book(), ecaldqm::MESetEcal.book(), DTTriggerEfficiencyTask.bookChamberHistos(), DTLocalTriggerEfficiencyTest.bookChambHistos(), DTLocalTriggerSynchTest.bookChambHistos(), DTTriggerEfficiencyTest.bookChambHistos(), TopDiLeptonDQM.bookHistograms(), L1TDTTF.bookHistograms(), L1TGMT.bookHistograms(), JetMETHLTOfflineSource.bookHistograms(), DTLocalTriggerTask.bookHistos(), DTLocalTriggerSynchTask.bookHistos(), TrackerOfflineValidation.bookHists(), TrackerOfflineValidation.bookSummaryHists(), BTagEntry.BTagEntry(), L1TDTTFClient.buildPhiEtaPlotO(), L1TDTTFClient.buildPhiEtaPlotOFC(), PixelLumiDQM.calculateBunchMask(), CentralityBins.CentralityBins(), SamplingAlgorithm.correctProfile(), reco::DiscretizedEnergyFlow.DiscretizedEnergyFlow(), FitterFuncs::PulseShapeFunctor.EvalPulse(), PedestalsTask.fill(), FineDelayTask.fill(), PedsFullNoiseTask.fill(), SiStripSummaryCreator.fillHistos(), ThroughputServiceClient.fillSummaryPlots(), ecaldqm::binning.getBinningMEM_(), PrimaryVertexValidation.getMAD(), PrimaryVertexValidation.getMedian(), TrackerOfflineValidationSummary.getMedian(), TrackerOfflineValidation.getMedian(), heppy::BTagSF.getSFb(), heppy::BTagSF.getSFc(), MuonResidualsFitter.histogramChi2GaussianFit(), MSLayersKeeperX0Averaged.init(), ExpressionHisto< T >.initialize(), PhiScaleHelper.makeBinnedScale(), DTLocalTriggerEfficiencyTest.makeEfficiencyME(), MuIsoValidation.MakeLogBinsForProfile(), AlignmentMonitorMuonSystemMap1D::MuonSystemMapPlot1D.MuonSystemMapPlot1D(), DTSegmentAnalysisTest.performClientDiagnostic(), DistortedPFCandProducer.produce(), DistortedMuonProducer.produce(), ISRWeightProducer.produce(), SamplingAlgorithm.pruneProfile(), CSCCrosstalkGenerator.ratio(), HcalTDCReco.reconstruct(), RecoTauPlotDiscriminator.RecoTauPlotDiscriminator(), Comp2RefEqualH.runTest(), NoisyChannel.runTest(), CompareToMedian.runTest(), HcalQIEShape.setLowEdges(), HcalDigiMonitor.setup(), MonitorElement.ShiftFillLast(), smartGausProfile(), smartProfile(), th1ToFormulaLin(), and JetMETHLTOfflineSource.TriggerPosition().
list pileupCalc.output = args[0] |
Definition at line 219 of file pileupCalc.py.
tuple pileupCalc.parser |
Definition at line 168 of file pileupCalc.py.
tuple pileupCalc.pileupHist |
Definition at line 233 of file pileupCalc.py.
pileupCalc.type = float, |
Definition at line 192 of file pileupCalc.py.
pileupCalc.upper = options.maxPileupBin |
Definition at line 238 of file pileupCalc.py.
Referenced by LHEAnalyzer.analyze(), MomentumDependentPedeLabeler.buildMomentumDependencyMap(), ConstrainedTreeBuilder.covarianceMatrix(), ConstrainedTreeBuilderT.covarianceMatrix(), InterpolatedPulse< 1500U >.derivative(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController.dumpPython(), cmsPerfSuiteHarvest.exportIgProfReport(), TableParser.extractPages(), FileNamesHelper.getJobID_fromIgProfLogName(), MagVolumeOutsideValidity.MagVolumeOutsideValidity(), InterpolatedPulse< 1500U >.secondDerivative(), jetTools.AddJetCollection.toolCode(), and MFGrid3D.valueInTesla().
string pileupCalc.VERSION = '1.00' |
Definition at line 2 of file pileupCalc.py.