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(), L1TDTTF.beginJob(), TopDiLeptonDQM.beginJob(), BTagHLTOfflineSource.beginRun(), JetMETHLTOfflineSource.beginRun(), BigEventsDebugger< T >.BigEventsDebugger(), FastFedCablingTask.book(), ApvTimingTask.book(), FedTimingTask.book(), VpspScanTask.book(), OptoScanTask.book(), PedestalsTask.book(), FedCablingTask.book(), L1TGMT.book_(), DTTriggerEfficiencyTask.bookChamberHistos(), DTLocalTriggerEfficiencyTest.bookChambHistos(), DTLocalTriggerSynchTest.bookChambHistos(), DTTriggerEfficiencyTest.bookChambHistos(), DTLocalTriggerSynchTask.bookHistos(), DTLocalTriggerTask.bookHistos(), TrackerOfflineValidation.bookHists(), TrackerOfflineValidation.bookSummaryHists(), L1TDTTFClient.buildPhiEtaPlotO(), L1TDTTFClient.buildPhiEtaPlotOFC(), CentralityBins.CentralityBins(), L1TauAnalyzer.convertToIntegratedEff(), SamplingAlgorithm.correctProfile(), reco::DiscretizedEnergyFlow.DiscretizedEnergyFlow(), ecaldqm::MESetEcal.doBook_(), PedestalsTask.fill(), FineDelayTask.fill(), PedsFullNoiseTask.fill(), SiStripSummaryCreator.fillHistos(), ecaldqm::binning.getBinningMEM_(), SiPixelActionExecutor.getData(), PrimaryVertexValidation.getMAD(), PrimaryVertexValidation.getMedian(), TrackerOfflineValidationSummary.getMedian(), TrackerOfflineValidation.getMedian(), HiEvtPlaneFlatCalib.HiEvtPlaneFlatCalib(), MuonResidualsFitter.histogramChi2GaussianFit(), ExpressionHisto< T >.initialize(), PhiScaleHelper.makeBinnedScale(), DTLocalTriggerEfficiencyTest.makeEfficiencyME(), MuIsoValidation.MakeLogBinsForProfile(), AlignmentMonitorMuonSystemMap1D::MuonSystemMapPlot1D.MuonSystemMapPlot1D(), DTSegmentAnalysisTest.performClientDiagnostic(), RivetAnalyzer.prebook(), 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(), BTagHLTOfflineSource.TriggerPosition(), 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(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController.dumpPython(), cmsPerfSuiteHarvest.exportIgProfReport(), FileNamesHelper.getJobID_fromIgProfLogName(), Splitter.Splitter.GetNsC(), MagVolumeOutsideValidity.MagVolumeOutsideValidity(), ConfigFiles.ConfigFiles.PrepareData(), jetTools.AddJetCollection.toolCode(), and MFGrid3D.valueInTesla().
string pileupCalc.VERSION = '1.00' |
Definition at line 2 of file pileupCalc.py.