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 = subprocess.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 = subprocess.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 = subprocess.getstatusoutput( acommand ) |
tuple | totlines = len(tmplistiov) |
weightedlist = listbeam | |
def ntuplemaker.getFill | ( | json, | |
run | |||
) |
Definition at line 58 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 179 of file ntuplemaker.py.
list ntuplemaker.afill = aline[1] |
Definition at line 83 of file ntuplemaker.py.
tuple ntuplemaker.aIOV = IOV() |
Definition at line 196 of file ntuplemaker.py.
tuple ntuplemaker.aline = line.split() |
Definition at line 82 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 307 of file ntuplemaker.py.
tuple ntuplemaker.bntuple = spot() |
Definition at line 105 of file ntuplemaker.py.
string ntuplemaker.datafilename = "tmp_beamspot.dat" |
Definition at line 156 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 309 of file ntuplemaker.py.
list ntuplemaker.files = tmp[1] |
Definition at line 262 of file ntuplemaker.py.
dictionary ntuplemaker.FillList = {} |
Definition at line 78 of file ntuplemaker.py.
ntuplemaker.firstRun = "0:0" |
Definition at line 165 of file ntuplemaker.py.
tuple ntuplemaker.fntuple = TFile( 'bntuple.root', 'RECREATE' ) |
Definition at line 106 of file ntuplemaker.py.
ntuplemaker.getDBdata = True |
Definition at line 160 of file ntuplemaker.py.
list ntuplemaker.ibeam = listbeam[ii] |
Definition at line 297 of file ntuplemaker.py.
int ntuplemaker.iline = 0 |
Definition at line 186 of file ntuplemaker.py.
Referenced by CSCComparatorData.dataWord(), SRBlockFormatter.DigiToRaw(), TCCBlockFormatter.DigiToRaw(), EcalLaserCondTools.fillDb(), MatacqProducer.loadOrbitOffset(), TextToRaw.produce(), and CSCTMBScope.UnpackScope().
tuple ntuplemaker.input = open(option.data +"/"+f) |
Definition at line 268 of file ntuplemaker.py.
string ntuplemaker.IOVbase = 'lumibase' |
Definition at line 164 of file ntuplemaker.py.
tuple ntuplemaker.iovlist = [] |
Definition at line 184 of file ntuplemaker.py.
Referenced by EcalCondDBInterface.fetchLMFRunIOV().
ntuplemaker.jline = iline |
Definition at line 192 of file ntuplemaker.py.
ntuplemaker.lastRun = "4999999999:4999999999" |
Definition at line 166 of file ntuplemaker.py.
ntuplemaker.line = ibeam.IOVBeginTime |
Definition at line 306 of file ntuplemaker.py.
tuple ntuplemaker.linedata = line.split() |
Definition at line 194 of file ntuplemaker.py.
list ntuplemaker.listbeam = [] |
Definition at line 279 of file ntuplemaker.py.
tuple ntuplemaker.listmap = readBeamSpotFile(datafilename,listbeam,IOVbase,firstRun,lastRun) |
Definition at line 282 of file ntuplemaker.py.
string ntuplemaker.otherArgs = '' |
Definition at line 208 of file ntuplemaker.py.
tuple ntuplemaker.output = open(datafilename,"w") |
Definition at line 264 of file ntuplemaker.py.
ntuplemaker.passiov = False |
Definition at line 219 of file ntuplemaker.py.
ntuplemaker.passline = False |
Definition at line 185 of file ntuplemaker.py.
list ntuplemaker.run0 = aline[3] |
Definition at line 84 of file ntuplemaker.py.
Referenced by SiPixelDetectorStatus.setRunRange().
list ntuplemaker.run1 = aline[5] |
Definition at line 85 of file ntuplemaker.py.
Referenced by SiPixelDetectorStatus.setRunRange().
tuple ntuplemaker.runsfile = open("FillandRuns.txt") |
Definition at line 79 of file ntuplemaker.py.
tuple ntuplemaker.status = subprocess.getstatusoutput( acommand ) |
Definition at line 247 of file ntuplemaker.py.
Definition at line 119 of file ntuplemaker.py.
tuple ntuplemaker.tbylumi = TTree( 'bylumi', 'beam spot data lumi by lumi' ) |
Definition at line 107 of file ntuplemaker.py.
tuple ntuplemaker.tbyrun = TTree( 'byrun', 'beam spot data by run' ) |
Definition at line 131 of file ntuplemaker.py.
tuple ntuplemaker.tmp = subprocess.getstatusoutput("ls "+option.data) |
Definition at line 261 of file ntuplemaker.py.
tuple ntuplemaker.tmpfile = open(datafilename,'w') |
Definition at line 216 of file ntuplemaker.py.
list ntuplemaker.tmplistiov = tmpstatus[1] |
Definition at line 181 of file ntuplemaker.py.
tuple ntuplemaker.tmplumi = unpack(iIOV.since) |
Definition at line 245 of file ntuplemaker.py.
int ntuplemaker.tmplumifirst = 1 |
Definition at line 222 of file ntuplemaker.py.
int ntuplemaker.tmplumilast = 9999999 |
Definition at line 223 of file ntuplemaker.py.
tuple ntuplemaker.tmprun = unpack(iIOV.since) |
Definition at line 244 of file ntuplemaker.py.
Referenced by AlcaBeamSpotManager.createWeightedPayloads().
tuple ntuplemaker.tmprunfirst = firstRun |
Definition at line 220 of file ntuplemaker.py.
tuple ntuplemaker.tmprunlast = lastRun |
Definition at line 221 of file ntuplemaker.py.
tuple ntuplemaker.tmpstatus = subprocess.getstatusoutput( acommand ) |
Definition at line 180 of file ntuplemaker.py.
tuple ntuplemaker.totlines = len(tmplistiov) |
Definition at line 187 of file ntuplemaker.py.
tuple ntuplemaker.weightedlist = listbeam |
Definition at line 336 of file ntuplemaker.py.