Functions | |
def | fillPileupHistogram |
Variables | |
string | action = 'store_true' |
list | beamModeChoices = ["","stable", "quiet", "either"] |
dictionary | csvDict = {} |
tuple | dbGroup = optparse.OptionGroup(parser, "Database Options") |
list | deadTable = runDTarray[2] |
debug = options.debugLumi, | |
tuple | events = open(options.csvInput, 'r') |
tuple | f = open(options.inputfile, 'r') |
tuple | fileparsingResult = csvSelectionParser.csvSelectionParser(options.inputfile) |
string | help = 'connect string to lumiDB (optional, default to frontier://LumiCalc/CMS_LUMI_PROD)' |
tuple | hist |
tuple | histFile = ROOT.TFile.Open(output, 'recreate') |
list | histList = [] |
tuple | inputfilecontent = f.read() |
tuple | inputGroup = optparse.OptionGroup(parser, "Input Options") |
inputRange = options.runnumber | |
Get input source. More... | |
string | mode = 'csv' |
list | output = args[0] |
tuple | parameters = LumiQueryAPI.ParametersObject() |
## Main ProgramMore... | |
tuple | parser |
tuple | pieces = sepRE.split(line.strip()) |
tuple | pileupGroup = optparse.OptionGroup(parser, "Pileup Options") |
tuple | pileupHist |
Save what we need in the parameters object. More... | |
tuple | recordedData = LumiQueryAPI.recordedLumiForRange(session, parameters, inputRange) |
dictionary | runLumiDict = {} |
list | runNumber = runDTarray[0] |
pprint (recordedData) More... | |
tuple | sepRE = re.compile(r'[\s,;:]+') |
list | xingInstLumiArray |
def estimatePileup.fillPileupHistogram | ( | deadTable, | |
parameters, | |||
runNumber = 0 , |
|||
hist = None , |
|||
debug = False , |
|||
mode = 'deadtable' |
|||
) |
Given a deadtable and run number, will (create if necessary and) fill histogram with expected pileup distribution. If a histogram is created, it is owned by the user and is his/her responsibility to clean up the memory.
Definition at line 14 of file estimatePileup.py.
string estimatePileup.action = 'store_true' |
Definition at line 140 of file estimatePileup.py.
list estimatePileup.beamModeChoices = ["","stable", "quiet", "either"] |
Definition at line 102 of file estimatePileup.py.
dictionary estimatePileup.csvDict = {} |
Definition at line 194 of file estimatePileup.py.
Definition at line 105 of file estimatePileup.py.
list estimatePileup.deadTable = runDTarray[2] |
Definition at line 259 of file estimatePileup.py.
estimatePileup.debug = options.debugLumi, |
Definition at line 224 of file estimatePileup.py.
tuple estimatePileup.events = open(options.csvInput, 'r') |
Definition at line 193 of file estimatePileup.py.
tuple estimatePileup.f = open(options.inputfile, 'r') |
Definition at line 248 of file estimatePileup.py.
tuple estimatePileup.fileparsingResult = csvSelectionParser.csvSelectionParser(options.inputfile) |
Definition at line 246 of file estimatePileup.py.
string estimatePileup.help = 'connect string to lumiDB (optional, default to frontier://LumiCalc/CMS_LUMI_PROD)' |
Definition at line 109 of file estimatePileup.py.
tuple estimatePileup.hist |
Definition at line 215 of file estimatePileup.py.
Referenced by APVCyclePhaseMonitor.beginRun(), Book.book(), TouchableToHistory.buildAll(), ClusMultInvestPlots(), Combined2DHisto(), CombinedHisto(), examples::TrackAnalysisAlgorithm.draw(), fwlite::Scanner< Collection >.draw(), fwlite::Scanner< Collection >.draw2D(), fwlite::Scanner< Collection >.drawProf(), L1TEventInfoClient.dumpContentMonitorElements(), EcalPedHists.endJob(), EcalURecHitHists.endJob(), EcalCosmicsHists.endJob(), DQMHistNormalizer.endRun(), ExpressionHisto< T >.fill(), edm::Principal.fillPrincipal(), EgHLTOfflineSummaryClient.getEgHLTSumHist_(), TouchableToHistory.getNavStory(), fwlite::Scanner< Collection >.getSameH1(), fwlite::Scanner< Collection >.getSameH2(), fwlite::Scanner< Collection >.getSameProf(), SiStripSummaryCreator.getSummaryME(), FWEveViewManager.highlightAdded(), HistoAnalyzer< C >.HistoAnalyzer(), MuonResidualsFitter.histogramChi2GaussianFit(), EcalDisplaysByEvent.init2DEcalHist(), EcalDisplaysByEvent.init3DEcalHist(), EcalURecHitHists.initHists(), EcalCosmicsHists.initHists(), ExpressionHisto< T >.initialize(), main(), LA_Filler_Fitter.make_and_fit_symmchi2(), SiStripSpyDisplayModule.MakeDigiHist_(), ValidateGeometry.makeHistogram(), SiStripSpyDisplayModule.MakeProcessedRawDigiHist_(), SiStripSpyDisplayModule.MakeRawDigiHist_(), DDExpandedView.mergedSpecificsV(), DQMGenericClient.normalizeToEntries(), DQMRivetClient.normalizeToIntegral(), DQMRivetClient.normalizeToLumi(), CSCAlignmentCorrections.plot(), MuonResidualsFitter.plotsimple(), MuonResidualsFitter.plotweighted(), EcalPedHists.readEBdigis(), EcalPedHists.readEEdigis(), DQMRivetClient.scaleByFactor(), DDExpandedView.specificsV(), tfwliteselectortest::ThingsTSelector.terminate(), tfwliteselectortest::ThingsTSelector2.terminate(), __class__< T >.terminate(), sistrip::EnsembleCalibrationLA.write_ensembles_plots(), sistrip::MeasureLA.write_report_plots(), and sistrip::EnsembleCalibrationLA.write_samples_plots().
tuple estimatePileup.histFile = ROOT.TFile.Open(output, 'recreate') |
Definition at line 227 of file estimatePileup.py.
list estimatePileup.histList = [] |
Definition at line 186 of file estimatePileup.py.
tuple estimatePileup.inputfilecontent = f.read() |
Definition at line 249 of file estimatePileup.py.
Definition at line 106 of file estimatePileup.py.
tuple estimatePileup.inputRange = options.runnumber |
Get input source.
Definition at line 241 of file estimatePileup.py.
Referenced by SiStripNoiseNormalizedWithApvGainBuilder.analyze(), SiStripApvGainBuilderFromTag.analyze(), SiStripGain.fillNewGain(), cms::ReconstructerFP420.produce(), cms::TrackerizerFP420.produce(), cms::ClusterizerFP420.produce(), cms::DigitizerFP420.produce(), PixelDigiCollection.put(), DigiCollectionFP420.put(), TrackCollectionFP420.put(), ClusterCollectionFP420.put(), RecoCollectionFP420.put(), ClusterCollectionFP420.putclear(), TrackCollectionFP420.putclear(), RecoCollectionFP420.putclear(), DigiCollectionFP420.putclear(), FP420TrackMain.run(), and FP420ClusterMain.run().
string estimatePileup.mode = 'csv' |
Definition at line 225 of file estimatePileup.py.
list estimatePileup.output = args[0] |
Definition at line 157 of file estimatePileup.py.
tuple estimatePileup.parameters = LumiQueryAPI.ParametersObject() |
Definition at line 101 of file estimatePileup.py.
tuple estimatePileup.parser |
Definition at line 103 of file estimatePileup.py.
tuple estimatePileup.pieces = sepRE.split(line.strip()) |
Definition at line 196 of file estimatePileup.py.
Definition at line 107 of file estimatePileup.py.
tuple estimatePileup.pileupHist |
Save what we need in the parameters object.
Let's start the fun
Definition at line 183 of file estimatePileup.py.
tuple estimatePileup.recordedData = LumiQueryAPI.recordedLumiForRange(session, parameters, inputRange) |
Definition at line 255 of file estimatePileup.py.
dictionary estimatePileup.runLumiDict = {} |
Definition at line 192 of file estimatePileup.py.
list estimatePileup.runNumber = runDTarray[0] |
pprint (recordedData)
Definition at line 258 of file estimatePileup.py.
tuple estimatePileup.sepRE = re.compile(r'[\s,;:]+') |
Definition at line 191 of file estimatePileup.py.
list estimatePileup.xingInstLumiArray |
Definition at line 205 of file estimatePileup.py.