CMS 3D CMS Logo

Classes | Namespaces | Functions | Variables

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/RecoVertex/BeamSpotProducer/scripts/root/BxAnalysis/lumiregperbunch.py File Reference

Go to the source code of this file.

Classes

class  lumiregperbunch::bsmeas

Namespaces

namespace  lumiregperbunch

Functions

def lumiregperbunch::readroot
def lumiregperbunch::timeof

Variables

tuple lumiregperbunch::allmeas = readroot()
list lumiregperbunch::bxmeas = allmeas[bx]
tuple lumiregperbunch::file = open(filename,'w')
string lumiregperbunch::filename = "/"
string lumiregperbunch::FILL = ''
tuple lumiregperbunch::line = str(meastime)
dictionary lumiregperbunch::lines = {}
tuple lumiregperbunch::lumimax = lumirange.split('-')
tuple lumiregperbunch::lumimid = int((int(lumimin)+int(lumimax))/2.)
tuple lumiregperbunch::lumimin = lumirange.split('-')
tuple lumiregperbunch::lumirange = meas.split(':')
tuple lumiregperbunch::meastime = timeof(runno,lumimid)
string lumiregperbunch::OUTDIR = "./perbunchfiles/"
tuple lumiregperbunch::rfbucket = (int(bx)-1)
dictionary lumiregperbunch::runlstime = {}
tuple lumiregperbunch::runno = meas.split(':')
tuple lumiregperbunch::sortedtimes = lines.keys()
list lumiregperbunch::thismeas = bxmeas[meas]
 lumiregperbunch::WORKDIR = OUTDIR+FILL