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 python::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 CmsShowMainFrame::getSummaryViewWeight(), CmsShowMainFrame::setSummaryViewWeight(), L1MuGMTLFDeltaEtaLUT::TheLookupFunction(), and L1MuGMTLFCOUDeltaEtaLUT::TheLookupFunction().
def python::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 python::timeUnitHelper::timeStamptoDate | ( | i | ) |
convert 64bit timestamp to local date in string format
Definition at line 29 of file timeUnitHelper.py.
def python::timeUnitHelper::timeStamptoUTC | ( | i | ) |
convert 64bit timestamp to Universal Time in string format
Definition at line 35 of file timeUnitHelper.py.
def python::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 CSCTFEvent::unpack(), and CSCSPEvent::unpack().
def python::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 python::timeUnitHelper::unpackLumiid | ( | i | ) |
unpack 64bit lumiid to dictionary {'run','lumisection'}
Definition at line 42 of file timeUnitHelper.py.