test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions | Variables
estimatePileup.py File Reference

Go to the source code of this file.

Namespaces

 estimatePileup
 

Functions

def estimatePileup.fillPileupHistogram
 

Variables

string estimatePileup.action = 'store_true'
 
list estimatePileup.beamModeChoices = ["","stable", "quiet", "either"]
 
dictionary estimatePileup.csvDict = {}
 
tuple estimatePileup.dbGroup = optparse.OptionGroup(parser, "Database Options")
 
list estimatePileup.deadTable = runDTarray[2]
 
 estimatePileup.debug = options.debugLumi,
 
tuple estimatePileup.events = open(options.csvInput, 'r')
 
tuple estimatePileup.f = open(options.inputfile, 'r')
 
tuple estimatePileup.fileparsingResult = csvSelectionParser.csvSelectionParser(options.inputfile)
 
string estimatePileup.help = 'connect string to lumiDB (optional, default to frontier://LumiCalc/CMS_LUMI_PROD)'
 
tuple estimatePileup.hist
 
tuple estimatePileup.histFile = ROOT.TFile.Open(output, 'recreate')
 
list estimatePileup.histList = []
 
tuple estimatePileup.inputfilecontent = f.read()
 
tuple estimatePileup.inputGroup = optparse.OptionGroup(parser, "Input Options")
 
 estimatePileup.inputRange = options.runnumber
 Get input source. More...
 
string estimatePileup.mode = 'csv'
 
list estimatePileup.output = args[0]
 
tuple estimatePileup.parameters = LumiQueryAPI.ParametersObject()
 

## Main Program

More...
 
tuple estimatePileup.parser
 
tuple estimatePileup.pieces = sepRE.split(line.strip())
 
tuple estimatePileup.pileupGroup = optparse.OptionGroup(parser, "Pileup Options")
 
tuple estimatePileup.pileupHist
 Save what we need in the parameters object. More...
 
tuple estimatePileup.recordedData = LumiQueryAPI.recordedLumiForRange(session, parameters, inputRange)
 
dictionary estimatePileup.runLumiDict = {}
 
list estimatePileup.runNumber = runDTarray[0]
 pprint (recordedData) More...
 
tuple estimatePileup.sepRE = re.compile(r'[\s,;:]+')
 
list estimatePileup.xingInstLumiArray