test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
TotemFEDInfo Class Reference

OptoRx headers and footers. More...

#include <TotemFEDInfo.h>

Public Member Functions

uint8_t getBOE () const
 
uint16_t getBX () const
 
uint8_t getEOE () const
 
uint8_t getF0 () const
 
int getFEDId () const
 
uint8_t getFOV () const
 
uint16_t getFSize () const
 
uint8_t getH0 () const
 
uint32_t getLV1 () const
 
uint16_t getOptoRxId () const
 
uint32_t getOrbitCounter () const
 
void setFEDId (int _f)
 
void setFooter (uint64_t _f)
 
void setHeader (uint64_t _h)
 
void setOrbitCounter (uint32_t _oc)
 
 TotemFEDInfo (int _id=0)
 

Private Attributes

int fedId
 Id from FEDRawDataCollection. More...
 
uint64_t footer
 
uint64_t header
 Data from OptoRx headers and footer. More...
 
uint32_t orbitCounter
 

Detailed Description

OptoRx headers and footers.

Definition at line 15 of file TotemFEDInfo.h.

Constructor & Destructor Documentation

TotemFEDInfo::TotemFEDInfo ( int  _id = 0)
inline

Definition at line 18 of file TotemFEDInfo.h.

18  : fedId(_id), header(0), orbitCounter(0), footer(0)
19  {
20  }
int fedId
Id from FEDRawDataCollection.
Definition: TotemFEDInfo.h:43
uint64_t footer
Definition: TotemFEDInfo.h:48
uint64_t header
Data from OptoRx headers and footer.
Definition: TotemFEDInfo.h:46
uint32_t orbitCounter
Definition: TotemFEDInfo.h:47

Member Function Documentation

uint8_t TotemFEDInfo::getBOE ( ) const
inline

Definition at line 26 of file TotemFEDInfo.h.

References header.

26 { return (header >> 60) & 0xF; }
uint64_t header
Data from OptoRx headers and footer.
Definition: TotemFEDInfo.h:46
uint16_t TotemFEDInfo::getBX ( ) const
inline

Definition at line 28 of file TotemFEDInfo.h.

References header.

28 { return (header >> 20) & 0xFFF; }
uint64_t header
Data from OptoRx headers and footer.
Definition: TotemFEDInfo.h:46
uint8_t TotemFEDInfo::getEOE ( ) const
inline

Definition at line 37 of file TotemFEDInfo.h.

References footer.

37 { return (footer >> 60) & 0xF; }
uint64_t footer
Definition: TotemFEDInfo.h:48
uint8_t TotemFEDInfo::getF0 ( ) const
inline

Definition at line 39 of file TotemFEDInfo.h.

References footer.

39 { return (footer >> 0) & 0xF; }
uint64_t footer
Definition: TotemFEDInfo.h:48
int TotemFEDInfo::getFEDId ( ) const
inline

Definition at line 23 of file TotemFEDInfo.h.

References fedId.

23 { return fedId; }
int fedId
Id from FEDRawDataCollection.
Definition: TotemFEDInfo.h:43
uint8_t TotemFEDInfo::getFOV ( ) const
inline

Definition at line 30 of file TotemFEDInfo.h.

References header.

30 { return (header >> 4) & 0xF; }
uint64_t header
Data from OptoRx headers and footer.
Definition: TotemFEDInfo.h:46
uint16_t TotemFEDInfo::getFSize ( ) const
inline

Definition at line 38 of file TotemFEDInfo.h.

References footer.

38 { return (footer >> 32) & 0x3FF; }
uint64_t footer
Definition: TotemFEDInfo.h:48
uint8_t TotemFEDInfo::getH0 ( ) const
inline

Definition at line 31 of file TotemFEDInfo.h.

References header.

31 { return (header >> 0) & 0xF; }
uint64_t header
Data from OptoRx headers and footer.
Definition: TotemFEDInfo.h:46
uint32_t TotemFEDInfo::getLV1 ( ) const
inline

Definition at line 27 of file TotemFEDInfo.h.

References header.

27 { return (header >> 32) & 0xFFFFFF; }
uint64_t header
Data from OptoRx headers and footer.
Definition: TotemFEDInfo.h:46
uint16_t TotemFEDInfo::getOptoRxId ( ) const
inline

Definition at line 29 of file TotemFEDInfo.h.

References header.

29 { return (header >> 8) & 0xFFF; }
uint64_t header
Data from OptoRx headers and footer.
Definition: TotemFEDInfo.h:46
uint32_t TotemFEDInfo::getOrbitCounter ( ) const
inline

Definition at line 34 of file TotemFEDInfo.h.

References orbitCounter.

34 { return orbitCounter; }
uint32_t orbitCounter
Definition: TotemFEDInfo.h:47
void TotemFEDInfo::setFEDId ( int  _f)
inline

Definition at line 22 of file TotemFEDInfo.h.

References fedId.

22 { fedId = _f; }
int fedId
Id from FEDRawDataCollection.
Definition: TotemFEDInfo.h:43
void TotemFEDInfo::setFooter ( uint64_t  _f)
inline

Definition at line 36 of file TotemFEDInfo.h.

References footer.

Referenced by RawDataUnpacker::ProcessOptoRxFrame().

36 { footer = _f; }
uint64_t footer
Definition: TotemFEDInfo.h:48
void TotemFEDInfo::setHeader ( uint64_t  _h)
inline

Definition at line 25 of file TotemFEDInfo.h.

References header.

Referenced by RawDataUnpacker::ProcessOptoRxFrame().

25 { header = _h; }
uint64_t header
Data from OptoRx headers and footer.
Definition: TotemFEDInfo.h:46
void TotemFEDInfo::setOrbitCounter ( uint32_t  _oc)
inline

Definition at line 33 of file TotemFEDInfo.h.

References orbitCounter.

Referenced by RawDataUnpacker::ProcessOptoRxFrameParallel().

33 { orbitCounter = _oc; }
uint32_t orbitCounter
Definition: TotemFEDInfo.h:47

Member Data Documentation

int TotemFEDInfo::fedId
private

Id from FEDRawDataCollection.

Definition at line 43 of file TotemFEDInfo.h.

Referenced by getFEDId(), and setFEDId().

uint64_t TotemFEDInfo::footer
private

Definition at line 48 of file TotemFEDInfo.h.

Referenced by getEOE(), getF0(), getFSize(), and setFooter().

uint64_t TotemFEDInfo::header
private

Data from OptoRx headers and footer.

Definition at line 46 of file TotemFEDInfo.h.

Referenced by getBOE(), getBX(), getFOV(), getH0(), getLV1(), getOptoRxId(), and setHeader().

uint32_t TotemFEDInfo::orbitCounter
private

Definition at line 47 of file TotemFEDInfo.h.

Referenced by getOrbitCounter(), and setOrbitCounter().