Functions | |
def | pack |
def | packToString |
def | timeStamptoDate |
def | timeStamptoUTC |
def | unpack |
def | unpackFromString |
def | unpackLumiid |
Some helper classes to convert conditions time units back and forth
def timeUnitHelper::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 3 of file timeUnitHelper.py.
Referenced by FillInfoPopConSourceHandler::getNewObjects(), CmsShowMainFrame::getSummaryViewWeight(), cond::IOVElementProxy::set(), CmsShowMainFrame::setSummaryViewWeight(), L1MuGMTLFDeltaEtaLUT::TheLookupFunction(), and L1MuGMTLFCOUDeltaEtaLUT::TheLookupFunction().
def timeUnitHelper::packToString | ( | high, | |
low | |||
) |
pack high,low 32bit unsigned int to one unsigned 64bit long long in string format Note:the print value of result number may appear signed, if the sign bit is used.
Definition at line 10 of file timeUnitHelper.py.
def timeUnitHelper::timeStamptoDate | ( | i | ) |
convert 64bit timestamp to local date in string format
Definition at line 29 of file timeUnitHelper.py.
def timeUnitHelper::timeStamptoUTC | ( | i | ) |
convert 64bit timestamp to Universal Time in string format
Definition at line 35 of file timeUnitHelper.py.
def timeUnitHelper::unpack | ( | i | ) |
unpack 64bit unsigned long long into 2 32bit unsigned int, return tuple (high,low)
Definition at line 17 of file timeUnitHelper.py.
Referenced by cond::IOVElementProxy::set(), CSCTFEvent::unpack(), and CSCSPEvent::unpack().
def timeUnitHelper::unpackFromString | ( | i | ) |
unpack 64bit unsigned long long in string format into 2 32bit unsigned int, return tuple(high,low)
Definition at line 24 of file timeUnitHelper.py.
def timeUnitHelper::unpackLumiid | ( | i | ) |
unpack 64bit lumiid to dictionary {'run','lumisection'}
Definition at line 42 of file timeUnitHelper.py.