Classes | |
class | ParsingError |
Functions | |
def | exit |
def | nonzero |
def | pack |
def | parse |
def | unpack |
def | unpackLumiid |
Variables | |
list | atag = outcmd[1] |
string | auth = '/afs/cern.ch/cms/DB/conddb' |
string | cmd = 'cmscond_tagtree_list -c frontier://cmsfrontier.cern.ch:8000/Frontier/CMS_COND_31X_GLOBALTAG -P /afs/cern.ch/cms/DB/conddb -T ' |
string | destDB = 'frontier://PromptProd/CMS_COND_31X_BEAMSPOT' |
string | globaltag = '' |
string | iov_since = '' |
string | iov_till = '' |
string | lumi = '1' |
string | optionstring = "" |
tuple | outcmd = subprocess.getstatusoutput( cmd ) |
list | outtext = status_rDB[1] |
string | readdb_out = "readDB_" |
READ. More... | |
tuple | rnewfile = open(readdb_out,'w') |
string | run = '1' |
tuple | status_rDB = subprocess.getstatusoutput('cmsRun '+ readdb_out) |
string | tagname = '' |
tuple | USAGE = re.compile(r'(?s)\s*usage: (.*?)(\n[ \t]*\n|$)') |
def getBeamSpotDB.exit | ( | msg = "" | ) |
Definition at line 54 of file getBeamSpotDB.py.
Referenced by unpackLumiid().
def getBeamSpotDB.nonzero | ( | self | ) |
Definition at line 42 of file getBeamSpotDB.py.
def getBeamSpotDB.pack | ( | high, | |
low | |||
) |
pack high,low 32bit unsigned int to one unsigned 64bit long long Note:the print value of result number may appear signed, if the sign bit is used.
Definition at line 82 of file getBeamSpotDB.py.
def getBeamSpotDB.parse | ( | docstring, | |
arglist = None |
|||
) |
Definition at line 57 of file getBeamSpotDB.py.
Referenced by unpackLumiid().
def getBeamSpotDB.unpack | ( | i | ) |
unpack 64bit unsigned long long into 2 32bit unsigned int, return tuple (high,low)
Definition at line 89 of file getBeamSpotDB.py.
References gpuVertexFinder.return.
Referenced by unpackLumiid().
def getBeamSpotDB.unpackLumiid | ( | i | ) |
unpack 64bit lumiid to dictionary {'run','lumisection'}
Definition at line 96 of file getBeamSpotDB.py.
References exit(), parse(), and unpack().
list getBeamSpotDB.atag = outcmd[1] |
Definition at line 123 of file getBeamSpotDB.py.
Referenced by EmDQM.dqmEndRun(), RunList.fetchGlobalRunsByLocation(), and RunList.fetchRunsByLocation().
getBeamSpotDB.auth = '/afs/cern.ch/cms/DB/conddb' |
Definition at line 134 of file getBeamSpotDB.py.
string getBeamSpotDB.cmd = 'cmscond_tagtree_list -c frontier://cmsfrontier.cern.ch:8000/Frontier/CMS_COND_31X_GLOBALTAG -P /afs/cern.ch/cms/DB/conddb -T ' |
Definition at line 121 of file getBeamSpotDB.py.
getBeamSpotDB.destDB = 'frontier://PromptProd/CMS_COND_31X_BEAMSPOT' |
Definition at line 130 of file getBeamSpotDB.py.
getBeamSpotDB.globaltag = '' |
Definition at line 112 of file getBeamSpotDB.py.
string getBeamSpotDB.iov_since = '' |
Definition at line 128 of file getBeamSpotDB.py.
string getBeamSpotDB.iov_till = '' |
Definition at line 129 of file getBeamSpotDB.py.
getBeamSpotDB.lumi = '1' |
Definition at line 141 of file getBeamSpotDB.py.
string getBeamSpotDB.optionstring = "" |
Definition at line 52 of file getBeamSpotDB.py.
tuple getBeamSpotDB.outcmd = subprocess.getstatusoutput( cmd ) |
Definition at line 122 of file getBeamSpotDB.py.
list getBeamSpotDB.outtext = status_rDB[1] |
Definition at line 205 of file getBeamSpotDB.py.
string getBeamSpotDB.readdb_out = "readDB_" |
READ.
Definition at line 152 of file getBeamSpotDB.py.
tuple getBeamSpotDB.rnewfile = open(readdb_out,'w') |
Definition at line 154 of file getBeamSpotDB.py.
getBeamSpotDB.run = '1' |
Definition at line 138 of file getBeamSpotDB.py.
tuple getBeamSpotDB.status_rDB = subprocess.getstatusoutput('cmsRun '+ readdb_out) |
Definition at line 203 of file getBeamSpotDB.py.
tuple getBeamSpotDB.tagname = '' |
Definition at line 111 of file getBeamSpotDB.py.
tuple getBeamSpotDB.USAGE = re.compile(r'(?s)\s*usage: (.*?)(\n[ \t]*\n|$)') |
Definition at line 40 of file getBeamSpotDB.py.