Functions | |
def | getFill |
Variables | |
string | acommand = 'cmscond_list_iov -c frontier://PromptProd/CMS_COND_31X_BEAMSPOT -P /afs/cern.ch/cms/DB/conddb -t ' |
list | afill = aline[1] |
tuple | aIOV = IOV() |
tuple | aline = line.split() |
tuple | begintime = time.mktime( time.strptime(line.split()[0] + " " + line.split()[1] + " " + line.split()[2],"%Y.%m.%d %H:%M:%S %Z") ) |
tuple | bntuple = spot() |
string | datafilename = "tmp_beamspot.dat" |
tuple | endtime = time.mktime( time.strptime(line.split()[0] + " " + line.split()[1] + " " + line.split()[2],"%Y.%m.%d %H:%M:%S %Z") ) |
list | files = tmp[1] |
dictionary | FillList = {} |
string | firstRun = "0:0" |
tuple | fntuple = TFile( 'bntuple.root', 'RECREATE' ) |
getDBdata = True | |
list | ibeam = listbeam[ii] |
int | iline = 0 |
tuple | input = open(option.data +"/"+f) |
string | IOVbase = 'lumibase' |
list | iovlist = [] |
jline = iline | |
string | lastRun = "4999999999:4999999999" |
line = ibeam.IOVBeginTime | |
tuple | linedata = line.split() |
list | listbeam = [] |
tuple | listmap = readBeamSpotFile(datafilename,listbeam,IOVbase,firstRun,lastRun) |
string | otherArgs = '' |
tuple | output = open(datafilename,"w") |
passiov = False | |
passline = False | |
list | run0 = aline[3] |
list | run1 = aline[5] |
tuple | runsfile = open("FillandRuns.txt") |
tuple | status = commands.getstatusoutput( acommand ) |
tuple | tbyIOV = TTree( 'byIOV', 'beam spot data by IOV' ) |
tuple | tbylumi = TTree( 'bylumi', 'beam spot data lumi by lumi' ) |
tuple | tbyrun = TTree( 'byrun', 'beam spot data by run' ) |
tuple | tmp = commands.getstatusoutput("ls "+option.data) |
tuple | tmpfile = open(datafilename,'w') |
list | tmplistiov = tmpstatus[1] |
tuple | tmplumi = unpack(iIOV.since) |
int | tmplumifirst = 1 |
int | tmplumilast = 9999999 |
tuple | tmprun = unpack(iIOV.since) |
tmprunfirst = firstRun | |
tmprunlast = lastRun | |
tuple | tmpstatus = commands.getstatusoutput( acommand ) |
tuple | totlines = len(tmplistiov) |
weightedlist = listbeam | |
def ntuplemaker.getFill | ( | json, | |
run | |||
) |
Definition at line 56 of file ntuplemaker.py.
string ntuplemaker.acommand = 'cmscond_list_iov -c frontier://PromptProd/CMS_COND_31X_BEAMSPOT -P /afs/cern.ch/cms/DB/conddb -t ' |
Definition at line 177 of file ntuplemaker.py.
Definition at line 81 of file ntuplemaker.py.
tuple ntuplemaker.aIOV = IOV() |
Definition at line 194 of file ntuplemaker.py.
tuple ntuplemaker.aline = line.split() |
Definition at line 80 of file ntuplemaker.py.
tuple ntuplemaker.begintime = time.mktime( time.strptime(line.split()[0] + " " + line.split()[1] + " " + line.split()[2],"%Y.%m.%d %H:%M:%S %Z") ) |
Definition at line 305 of file ntuplemaker.py.
tuple ntuplemaker.bntuple = spot() |
Definition at line 103 of file ntuplemaker.py.
string ntuplemaker.datafilename = "tmp_beamspot.dat" |
Definition at line 154 of file ntuplemaker.py.
tuple ntuplemaker.endtime = time.mktime( time.strptime(line.split()[0] + " " + line.split()[1] + " " + line.split()[2],"%Y.%m.%d %H:%M:%S %Z") ) |
Definition at line 307 of file ntuplemaker.py.
Definition at line 260 of file ntuplemaker.py.
dictionary ntuplemaker.FillList = {} |
Definition at line 76 of file ntuplemaker.py.
ntuplemaker.firstRun = "0:0" |
Definition at line 163 of file ntuplemaker.py.
tuple ntuplemaker.fntuple = TFile( 'bntuple.root', 'RECREATE' ) |
Definition at line 104 of file ntuplemaker.py.
ntuplemaker.getDBdata = True |
Definition at line 158 of file ntuplemaker.py.
Definition at line 295 of file ntuplemaker.py.
int ntuplemaker.iline = 0 |
Definition at line 184 of file ntuplemaker.py.
Referenced by CSCCLCTData.dataWord(), SRBlockFormatter.DigiToRaw(), TCCBlockFormatter.DigiToRaw(), MatacqProducer.loadOrbitOffset(), TextToRaw.produce(), and CSCTMBScope.UnpackScope().
tuple ntuplemaker.input = open(option.data +"/"+f) |
Definition at line 266 of file ntuplemaker.py.
string ntuplemaker.IOVbase = 'lumibase' |
Definition at line 162 of file ntuplemaker.py.
tuple ntuplemaker.iovlist = [] |
Definition at line 182 of file ntuplemaker.py.
Referenced by EcalCondDBInterface.fetchLMFRunIOV().
ntuplemaker.jline = iline |
Definition at line 190 of file ntuplemaker.py.
ntuplemaker.lastRun = "4999999999:4999999999" |
Definition at line 164 of file ntuplemaker.py.
ntuplemaker.line = ibeam.IOVBeginTime |
Definition at line 304 of file ntuplemaker.py.
tuple ntuplemaker.linedata = line.split() |
Definition at line 192 of file ntuplemaker.py.
list ntuplemaker.listbeam = [] |
Definition at line 277 of file ntuplemaker.py.
tuple ntuplemaker.listmap = readBeamSpotFile(datafilename,listbeam,IOVbase,firstRun,lastRun) |
Definition at line 280 of file ntuplemaker.py.
string ntuplemaker.otherArgs = '' |
Definition at line 206 of file ntuplemaker.py.
tuple ntuplemaker.output = open(datafilename,"w") |
Definition at line 262 of file ntuplemaker.py.
ntuplemaker.passiov = False |
Definition at line 217 of file ntuplemaker.py.
ntuplemaker.passline = False |
Definition at line 183 of file ntuplemaker.py.
Definition at line 82 of file ntuplemaker.py.
Definition at line 83 of file ntuplemaker.py.
tuple ntuplemaker.runsfile = open("FillandRuns.txt") |
Definition at line 77 of file ntuplemaker.py.
tuple ntuplemaker.status = commands.getstatusoutput( acommand ) |
Definition at line 245 of file ntuplemaker.py.
tuple ntuplemaker.tbyIOV = TTree( 'byIOV', 'beam spot data by IOV' ) |
Definition at line 117 of file ntuplemaker.py.
tuple ntuplemaker.tbylumi = TTree( 'bylumi', 'beam spot data lumi by lumi' ) |
Definition at line 105 of file ntuplemaker.py.
tuple ntuplemaker.tbyrun = TTree( 'byrun', 'beam spot data by run' ) |
Definition at line 129 of file ntuplemaker.py.
tuple ntuplemaker.tmp = commands.getstatusoutput("ls "+option.data) |
Definition at line 259 of file ntuplemaker.py.
tuple ntuplemaker.tmpfile = open(datafilename,'w') |
Definition at line 214 of file ntuplemaker.py.
Definition at line 179 of file ntuplemaker.py.
tuple ntuplemaker.tmplumi = unpack(iIOV.since) |
Definition at line 243 of file ntuplemaker.py.
int ntuplemaker.tmplumifirst = 1 |
Definition at line 220 of file ntuplemaker.py.
int ntuplemaker.tmplumilast = 9999999 |
Definition at line 221 of file ntuplemaker.py.
tuple ntuplemaker.tmprun = unpack(iIOV.since) |
Definition at line 242 of file ntuplemaker.py.
Referenced by AlcaBeamSpotManager.createWeightedPayloads().
tuple ntuplemaker.tmprunfirst = firstRun |
Definition at line 218 of file ntuplemaker.py.
tuple ntuplemaker.tmprunlast = lastRun |
Definition at line 219 of file ntuplemaker.py.
tuple ntuplemaker.tmpstatus = commands.getstatusoutput( acommand ) |
Definition at line 178 of file ntuplemaker.py.
tuple ntuplemaker.totlines = len(tmplistiov) |
Definition at line 185 of file ntuplemaker.py.
tuple ntuplemaker.weightedlist = listbeam |
Definition at line 334 of file ntuplemaker.py.