CMS 3D CMS Logo

Functions
BSPrintUtils Namespace Reference

Functions

std::pair< unsigned int, unsigned int > unpack (cond::Time_t since)
 

Function Documentation

std::pair<unsigned int, unsigned int> BSPrintUtils::unpack ( cond::Time_t  since)

Definition at line 26 of file BeamSpotRcdPrinter.cc.

References cond::time::kLowMask(), and writedatasetfile::run.

Referenced by BeamSpotRcdPrinter::analyze().

26  {
27  auto kLowMask = 0XFFFFFFFF;
28  auto run = (since >> 32);
29  auto lumi = (since & kLowMask);
30  return std::make_pair(run, lumi);
31  }
const Time_t kLowMask(0xFFFFFFFF)