Classes | |
class | IOV |
class | ParsingError |
Functions | |
def | cmp_tags |
def | dump_footer |
def | dump_header |
def | exit |
def | get_lastIOVs |
def | get_listoftags |
def | get_plots |
def | get_productionFiles |
def | get_productionIOVs |
def | nonzero |
def | pack |
def | parse |
def | unpack |
def | unpackLumiid |
def | write_iovs |
def | write_plots |
def | write_tags |
Variables | |
string | auth = "/afs/cern.ch/cms/DB/conddb" |
string | br = '<BR>' |
string | dest = "oracle://cms_orcoff_prod/CMS_COND_31X_BEAMSPOT" |
Get the latest tags dest = "frontier://cmsfrontier.cern.ch:8000/Frontier/CMS_COND_31X_BEAMSPOT". More... | |
string | end = '\n' |
string | htmlwebsite = "https://yumiceva.web.cern.ch/yumiceva/beamspot/" |
tuple | lasttag = list_lastIOVs.keys() |
list | lines = [] |
tuple | list_lastIOVs = get_lastIOVs( list_tags, dest, auth) |
tuple | list_tags = get_listoftags( dest, auth) |
string | optionstring = "" |
tuple | outfile = open(option.output,'w') |
tuple | pngfiles = get_plots(option.path,option.output, list_lastIOVs[lasttag], lasttag) |
tuple | processedruns = get_productionIOVs('/afs/cern.ch/cms/CAF/CMSCOMM/COMM_BSPOT/yumiceva/tmp_lumi_workflow/') |
tuple | USAGE = re.compile(r'(?s)\s*usage: (.*?)(\n[ \t]*\n|$)') |
def beamvalidation.cmp_tags | ( | a, | |
b | |||
) |
Definition at line 77 of file beamvalidation.py.
def beamvalidation.dump_footer | ( | lines | ) |
Definition at line 125 of file beamvalidation.py.
def beamvalidation.dump_header | ( | lines | ) |
Definition at line 105 of file beamvalidation.py.
def beamvalidation.exit | ( | msg = "" | ) |
Definition at line 50 of file beamvalidation.py.
Referenced by get_productionIOVs().
def beamvalidation.get_lastIOVs | ( | listoftags, | |
dest, | |||
auth | |||
) |
Definition at line 228 of file beamvalidation.py.
References split.
def beamvalidation.get_listoftags | ( | dest, | |
auth | |||
) |
def beamvalidation.get_plots | ( | path, | |
output, | |||
iovs, | |||
tag | |||
) |
Definition at line 293 of file beamvalidation.py.
References split, and unpack().
def beamvalidation.get_productionFiles | ( | directory | ) |
Definition at line 344 of file beamvalidation.py.
References split.
Referenced by get_productionIOVs().
def beamvalidation.get_productionIOVs | ( | directory | ) |
Definition at line 355 of file beamvalidation.py.
References exit(), get_productionFiles(), and parse().
def beamvalidation.nonzero | ( | self | ) |
Definition at line 38 of file beamvalidation.py.
Referenced by CSCDigiValidator.zeroSupStripDigis().
def beamvalidation.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 272 of file beamvalidation.py.
def beamvalidation.parse | ( | docstring, | |
arglist = None |
|||
) |
Definition at line 53 of file beamvalidation.py.
Referenced by get_productionIOVs().
def beamvalidation.unpack | ( | i | ) |
unpack 64bit unsigned long long into 2 32bit unsigned int, return tuple (high,low)
Definition at line 279 of file beamvalidation.py.
References reco.return().
Referenced by get_plots(), and unpackLumiid().
def beamvalidation.unpackLumiid | ( | i | ) |
unpack 64bit lumiid to dictionary {'run','lumisection'}
Definition at line 286 of file beamvalidation.py.
References unpack().
def beamvalidation.write_iovs | ( | iovs, | |
lines | |||
) |
def beamvalidation.write_plots | ( | lines, | |
plots, | |||
web | |||
) |
Definition at line 322 of file beamvalidation.py.
def beamvalidation.write_tags | ( | tags, | |
lines | |||
) |
Definition at line 130 of file beamvalidation.py.
string beamvalidation.auth = "/afs/cern.ch/cms/DB/conddb" |
Definition at line 381 of file beamvalidation.py.
string beamvalidation.br = '<BR>' |
Definition at line 395 of file beamvalidation.py.
Referenced by edm::RootTree.dropBranch(), LHEProducer.filter(), magfieldparam::TkBfield.getBrfz(), magfieldparam::TkBfield.getBxyz(), CustomParticleFactory.getDecayTable(), edm::RootDelayedReader.getProduct_(), edm::FileInPath.initialize_(), OAE85lParametrizedMagneticField.inTeslaUnchecked(), RBorderFinder.RBorderFinder(), edm::PoolOutputModule::OutputItem::Sorter.Sorter(), fwlite::internal::BranchMapReaderStrategyV8.updateFile(), fwlite::internal::BranchMapReaderStrategyV11.updateFile(), fwlite::internal::BranchMapReaderStrategyV17.updateFile(), and fwlite::internal::BranchMapReaderStrategyV1.updateMap().
string beamvalidation.dest = "oracle://cms_orcoff_prod/CMS_COND_31X_BEAMSPOT" |
Get the latest tags dest = "frontier://cmsfrontier.cern.ch:8000/Frontier/CMS_COND_31X_BEAMSPOT".
Definition at line 380 of file beamvalidation.py.
string beamvalidation.end = '\n' |
Definition at line 394 of file beamvalidation.py.
string beamvalidation.htmlwebsite = "https://yumiceva.web.cern.ch/yumiceva/beamspot/" |
Definition at line 375 of file beamvalidation.py.
tuple beamvalidation.lasttag = list_lastIOVs.keys() |
Definition at line 422 of file beamvalidation.py.
list beamvalidation.lines = [] |
Definition at line 393 of file beamvalidation.py.
tuple beamvalidation.list_lastIOVs = get_lastIOVs( list_tags, dest, auth) |
Definition at line 387 of file beamvalidation.py.
tuple beamvalidation.list_tags = get_listoftags( dest, auth) |
Definition at line 384 of file beamvalidation.py.
string beamvalidation.optionstring = "" |
Definition at line 48 of file beamvalidation.py.
tuple beamvalidation.outfile = open(option.output,'w') |
Definition at line 431 of file beamvalidation.py.
tuple beamvalidation.pngfiles = get_plots(option.path,option.output, list_lastIOVs[lasttag], lasttag) |
Definition at line 426 of file beamvalidation.py.
tuple beamvalidation.processedruns = get_productionIOVs('/afs/cern.ch/cms/CAF/CMSCOMM/COMM_BSPOT/yumiceva/tmp_lumi_workflow/') |
Definition at line 390 of file beamvalidation.py.
Definition at line 36 of file beamvalidation.py.