CMS 3D CMS Logo

L1aInfo.cc
Go to the documentation of this file.
3 
4 L1aInfo::L1aInfo() : orbitNr_(0), bxid_(0), index_(0), eventType_(0) {}
5 
7  : orbitNr_(((uint64_t)(l1Info.orbithigh) << 32) | l1Info.orbitlow),
8  bxid_(l1Info.bxid),
9  index_(-l1Info.ind0 - 1),
10  eventType_(l1Info.eventtype) {}
11 
12 std::ostream& operator<<(std::ostream& s, const L1aInfo& l1aInfo) {
13  s << "Index: " << l1aInfo.getIndex() << std::endl;
14  s << " OrbitNr: " << l1aInfo.getOrbitNr() << std::endl;
15  s << " BXID: " << l1aInfo.getBXID() << std::endl;
16  s << " EventType: " << (uint16_t)l1aInfo.getEventType() << std::endl;
17 
18  return s;
19 }
L1aInfo::L1aInfo
L1aInfo()
Definition: L1aInfo.cc:4
alignCSCRings.s
s
Definition: alignCSCRings.py:92
L1aInfo::getBXID
uint16_t getBXID() const
Definition: L1aInfo.h:36
TCDSRaw.h
L1aInfo::getOrbitNr
uint64_t getOrbitNr() const
Definition: L1aInfo.h:33
L1aInfo.h
operator<<
std::ostream & operator<<(std::ostream &s, const L1aInfo &l1aInfo)
Pretty-print operator for L1aInfo.
Definition: L1aInfo.cc:12
tcds::L1aInfo_v1
Definition: TCDSRaw.h:54
L1aInfo
Class to contain L1 accept history information from TCDS FED.
Definition: L1aInfo.h:16
L1aInfo::getEventType
uint8_t getEventType() const
Definition: L1aInfo.h:39
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
L1aInfo::getIndex
int16_t getIndex() const
Definition: L1aInfo.h:30