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 17 of file L1aInfo.h.

Constructor & Destructor Documentation

L1aInfo::L1aInfo ( )

Definition at line 4 of file L1aInfo.cc.

4  :
5  orbitNr_(0),
6  bxid_(0),
7  index_(0),
8  eventType_(0)
9 {}
uint8_t eventType_
Definition: L1aInfo.h:44
uint64_t orbitNr_
Definition: L1aInfo.h:41
int16_t index_
Definition: L1aInfo.h:43
uint16_t bxid_
Definition: L1aInfo.h:42
L1aInfo::L1aInfo ( const tcds::L1aInfo_v1 l1Info)

Definition at line 12 of file L1aInfo.cc.

12  :
13  orbitNr_(((uint64_t)(l1Info.orbithigh)<<32)|l1Info.orbitlow),
14  bxid_(l1Info.bxid),
15  index_(-l1Info.ind0 - 1),
16  eventType_(l1Info.eventtype)
17 {}
uint8_t eventType_
Definition: L1aInfo.h:44
const uint32_t orbitlow
Definition: TCDSRaw.h:60
const uint16_t bxid
Definition: TCDSRaw.h:64
const uint8_t ind0
Definition: TCDSRaw.h:63
uint64_t orbitNr_
Definition: L1aInfo.h:41
const uint8_t eventtype
Definition: TCDSRaw.h:67
const uint16_t orbithigh
Definition: TCDSRaw.h:61
unsigned long long uint64_t
Definition: Time.h:15
int16_t index_
Definition: L1aInfo.h:43
uint16_t bxid_
Definition: L1aInfo.h:42

Member Function Documentation

uint16_t L1aInfo::getBXID ( ) const
inline

Definition at line 33 of file L1aInfo.h.

References bxid_.

Referenced by operator<<().

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

Definition at line 36 of file L1aInfo.h.

References eventType_.

Referenced by operator<<().

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

Definition at line 27 of file L1aInfo.h.

References index_.

Referenced by operator<<().

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

Definition at line 30 of file L1aInfo.h.

References orbitNr_.

Referenced by operator<<().

30 { return orbitNr_; }
uint64_t orbitNr_
Definition: L1aInfo.h:41

Member Data Documentation

uint16_t L1aInfo::bxid_
private

Definition at line 42 of file L1aInfo.h.

Referenced by getBXID().

uint8_t L1aInfo::eventType_
private

Definition at line 44 of file L1aInfo.h.

Referenced by getEventType().

int16_t L1aInfo::index_
private

Definition at line 43 of file L1aInfo.h.

Referenced by getIndex().

uint64_t L1aInfo::orbitNr_
private

Definition at line 41 of file L1aInfo.h.

Referenced by getOrbitNr().