CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
L1aInfo Class Reference

Class to contain L1 accept history information from TCDS FED. More...

#include <L1aInfo.h>

Public Member Functions

uint16_t getBXID () const
 
uint8_t getEventType () const
 
int16_t getIndex () const
 
uint64_t getOrbitNr () const
 
 L1aInfo ()
 
 L1aInfo (const tcds::L1aInfo_v1 &)
 

Private Attributes

uint16_t bxid_
 
uint8_t eventType_
 
int16_t index_
 
uint64_t orbitNr_
 

Detailed Description

Class to contain L1 accept history information from TCDS FED.

Author
Remi Mommsen - Fermilab

Definition at line 16 of file L1aInfo.h.

Constructor & Destructor Documentation

L1aInfo::L1aInfo ( )

Definition at line 4 of file L1aInfo.cc.

4 : orbitNr_(0), bxid_(0), index_(0), eventType_(0) {}
uint8_t eventType_
Definition: L1aInfo.h:38
uint64_t orbitNr_
Definition: L1aInfo.h:35
int16_t index_
Definition: L1aInfo.h:37
uint16_t bxid_
Definition: L1aInfo.h:36
L1aInfo::L1aInfo ( const tcds::L1aInfo_v1 l1Info)

Definition at line 6 of file L1aInfo.cc.

7  : orbitNr_(((uint64_t)(l1Info.orbithigh) << 32) | l1Info.orbitlow),
8  bxid_(l1Info.bxid),
9  index_(-l1Info.ind0 - 1),
10  eventType_(l1Info.eventtype) {}
uint8_t eventType_
Definition: L1aInfo.h:38
const uint32_t orbitlow
Definition: TCDSRaw.h:55
const uint16_t bxid
Definition: TCDSRaw.h:59
const uint8_t ind0
Definition: TCDSRaw.h:58
uint64_t orbitNr_
Definition: L1aInfo.h:35
const uint8_t eventtype
Definition: TCDSRaw.h:62
const uint16_t orbithigh
Definition: TCDSRaw.h:56
unsigned long long uint64_t
Definition: Time.h:13
int16_t index_
Definition: L1aInfo.h:37
uint16_t bxid_
Definition: L1aInfo.h:36

Member Function Documentation

uint16_t L1aInfo::getBXID ( ) const
inline

Definition at line 29 of file L1aInfo.h.

References bxid_.

Referenced by operator<<().

29 { return bxid_; }
uint16_t bxid_
Definition: L1aInfo.h:36
uint8_t L1aInfo::getEventType ( ) const
inline

Definition at line 32 of file L1aInfo.h.

References eventType_.

Referenced by operator<<().

32 { return eventType_; }
uint8_t eventType_
Definition: L1aInfo.h:38
int16_t L1aInfo::getIndex ( ) const
inline

Definition at line 23 of file L1aInfo.h.

References index_.

Referenced by operator<<().

23 { return index_; }
int16_t index_
Definition: L1aInfo.h:37
uint64_t L1aInfo::getOrbitNr ( ) const
inline

Definition at line 26 of file L1aInfo.h.

References orbitNr_.

Referenced by operator<<().

26 { return orbitNr_; }
uint64_t orbitNr_
Definition: L1aInfo.h:35

Member Data Documentation

uint16_t L1aInfo::bxid_
private

Definition at line 36 of file L1aInfo.h.

Referenced by getBXID().

uint8_t L1aInfo::eventType_
private

Definition at line 38 of file L1aInfo.h.

Referenced by getEventType().

int16_t L1aInfo::index_
private

Definition at line 37 of file L1aInfo.h.

Referenced by getIndex().

uint64_t L1aInfo::orbitNr_
private

Definition at line 35 of file L1aInfo.h.

Referenced by getOrbitNr().