Functions | |
def | pack (high, low) |
def | packToString (high, low) |
def | timeStamptoDate (i) |
def | timeStamptoUTC (i) |
def | unpack (i) |
def | unpackFromString (i) |
def | unpackLumiid (i) |
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 CmsShowMainFrame.getSummaryViewWeight(), BeamSpotWorkflow.main(), reco::TrackResiduals.pack_pull(), reco::TrackResiduals.pack_residual(), packToString(), CmsShowMainFrame.setSummaryViewWeight(), L1MuGMTLFCOUDeltaEtaLUT.TheLookupFunction(), and L1MuGMTLFDeltaEtaLUT.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.
References pack().
def timeUnitHelper.timeStamptoDate | ( | i | ) |
convert 64bit timestamp to local date in string format
Definition at line 29 of file timeUnitHelper.py.
References unpack().
def timeUnitHelper.timeStamptoUTC | ( | i | ) |
convert 64bit timestamp to Universal Time in string format
Definition at line 35 of file timeUnitHelper.py.
References unpack().
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.
References mathSSE.return().
Referenced by timeStamptoDate(), timeStamptoUTC(), unpackFromString(), and unpackLumiid().
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.
References createfilelist.int, and unpack().
def timeUnitHelper.unpackLumiid | ( | i | ) |
unpack 64bit lumiid to dictionary {'run','lumisection'}
Definition at line 42 of file timeUnitHelper.py.
References unpack().
Referenced by uploader.main(), and BeamSpotWorkflow.main().