CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AuxiliaryMakers.cc
Go to the documentation of this file.
2 namespace evf{
3  namespace evtn{
4 
6  unsigned int runNumber,
7  unsigned int lumiSection,
8  std::string const &processGUID){
9  edm::EventID eventId(runNumber, // check that runnumber from record is consistent
10  //record->getHeader().getData().header.lumiSection,//+1
11  lumiSection,
12  record->getHeader().getData().header.eventNumber);
13 
14  uint64_t gpsh = record->getBST().getBST().gpstimehigh;
15  uint32_t gpsl = record->getBST().getBST().gpstimelow;
16  edm::Timestamp tstamp = edm::Timestamp(static_cast<edm::TimeValue_t> ((gpsh << 32) + gpsl));
17  return edm::EventAuxiliary(eventId,
18  processGUID,
19  tstamp,
20  true,
22  (int)record->getHeader().getData().header.bcid,
24  record->getHeader().getData().header.orbitLow);
25  }
26  }
27 }
28 
TCDSBST & getBST()
Definition: FED1024.h:129
TCDSHeader & getHeader()
Definition: FED1024.h:127
JetCorrectorParameters::Record record
Definition: classes.h:7
edm::EventAuxiliary makeEventAuxiliary(TCDSRecord *record, unsigned int runNumber, unsigned int lumiSection, std::string const &processGUID)
uint32_t gpstimehigh
Definition: FED1024.h:96
const tcdsheader & getData()
Definition: FED1024.h:64
const l1h & history()
Definition: FED1024.h:87
struct evf::evtn::TCDSHeader::tcdsheader::@296 header
unsigned long long uint64_t
Definition: Time.h:15
const bst & getBST()
Definition: FED1024.h:112
TCDSL1AHistory & getHistory()
Definition: FED1024.h:128
static int const invalidStoreNumber