ATLAS Offline Software
Loading...
Searching...
No Matches
LArLATOMEHeader Class Reference

Holds information from the LATOME Header. More...

#include <LArLATOMEHeader.h>

Collaboration diagram for LArLATOMEHeader:

Public Member Functions

 LArLATOMEHeader (const uint32_t lid)
 Constructor with Id.
 LArLATOMEHeader (const uint32_t sourceid, const uint32_t latomeId, const uint16_t nchan, const uint16_t bcid, const uint32_t l1Id, const uint32_t robfragsize=0, const uint32_t latomeFwVersion=0)
 Constructor with all numbers.
 ~LArLATOMEHeader ()
 Destructor.
uint32_t SourceId () const
 get the source Id
uint32_t LatomeId () const
 get the latome Id
uint16_t NChans () const
 get the number of channels
uint16_t BCId () const
 get the Bunch Crossing IDs
uint32_t L1Id () const
 get the L1 Id
uint32_t ROBFragSize () const
 get the ROB frag size
uint32_t FWversion () const
 get the FW version
void SetBCId (const uint16_t bcid)
 set the LATOME Bunch Crossing ID
void SetNChan (const uint16_t nchan)
 set the LATOME Channel
void SetSourceId (const uint32_t source)
 set the LATOME SourceId
void SetLatomeId (const uint32_t source)
 set the latome Id
void SetL1Id (const uint32_t source)
 set the latome Id
void SetROBFragSize (const uint32_t robfragsize)
 set the ROB frag size
void SetFWversion (const uint32_t fwversion)
 set the FW version

Private Attributes

uint32_t m_sourceId
 LATOME sourceId.
uint32_t m_latomeId
 LATOME Id.
uint16_t m_nChannels
 LATOME channels.
uint16_t m_BCId
 LATOME BCId from TTC.
uint32_t m_l1Id
 extended LVL1 Id
uint32_t m_ROBFragSize
 ROB frag size.
uint32_t m_LATOMEFWVersion
 FW version.

Detailed Description

Holds information from the LATOME Header.

Author
Pavol Strizenec

Definition at line 18 of file LArLATOMEHeader.h.

Constructor & Destructor Documentation

◆ LArLATOMEHeader() [1/2]

LArLATOMEHeader::LArLATOMEHeader ( const uint32_t lid)

Constructor with Id.

Definition at line 8 of file LArLATOMEHeader.cxx.

9}
uint32_t m_l1Id
extended LVL1 Id
uint32_t m_LATOMEFWVersion
FW version.
uint32_t m_sourceId
LATOME sourceId.
uint32_t m_ROBFragSize
ROB frag size.
uint16_t m_BCId
LATOME BCId from TTC.
uint16_t m_nChannels
LATOME channels.
uint32_t m_latomeId
LATOME Id.

◆ LArLATOMEHeader() [2/2]

LArLATOMEHeader::LArLATOMEHeader ( const uint32_t sourceid,
const uint32_t latomeId,
const uint16_t nchan,
const uint16_t bcid,
const uint32_t l1Id,
const uint32_t robfragsize = 0,
const uint32_t latomeFwVersion = 0 )

Constructor with all numbers.

Definition at line 11 of file LArLATOMEHeader.cxx.

11 :m_sourceId(id),m_latomeId(latomeid),m_nChannels(nchan),m_BCId(bcid),m_l1Id(l1id),m_ROBFragSize(ROBFragSize),m_LATOMEFWVersion(fwversion) {
12}
uint32_t ROBFragSize() const
get the ROB frag size

◆ ~LArLATOMEHeader()

LArLATOMEHeader::~LArLATOMEHeader ( )
inline

Destructor.

Definition at line 29 of file LArLATOMEHeader.h.

29{ }

Member Function Documentation

◆ BCId()

uint16_t LArLATOMEHeader::BCId ( ) const
inline

get the Bunch Crossing IDs

Definition at line 41 of file LArLATOMEHeader.h.

41{return m_BCId;}

◆ FWversion()

uint32_t LArLATOMEHeader::FWversion ( ) const
inline

get the FW version

Definition at line 50 of file LArLATOMEHeader.h.

50{return m_LATOMEFWVersion;}

◆ L1Id()

uint32_t LArLATOMEHeader::L1Id ( ) const
inline

get the L1 Id

Definition at line 44 of file LArLATOMEHeader.h.

44{return m_l1Id;}

◆ LatomeId()

uint32_t LArLATOMEHeader::LatomeId ( ) const
inline

get the latome Id

Definition at line 35 of file LArLATOMEHeader.h.

35{return m_latomeId;}

◆ NChans()

uint16_t LArLATOMEHeader::NChans ( ) const
inline

get the number of channels

Definition at line 38 of file LArLATOMEHeader.h.

38{return m_nChannels;}

◆ ROBFragSize()

uint32_t LArLATOMEHeader::ROBFragSize ( ) const
inline

get the ROB frag size

Definition at line 47 of file LArLATOMEHeader.h.

47{return m_ROBFragSize;}

◆ SetBCId()

void LArLATOMEHeader::SetBCId ( const uint16_t bcid)
inline

set the LATOME Bunch Crossing ID

Definition at line 53 of file LArLATOMEHeader.h.

54 { m_BCId=bcid; return; }
setEventNumber setTimeStamp bcid

◆ SetFWversion()

void LArLATOMEHeader::SetFWversion ( const uint32_t fwversion)
inline

set the FW version

Definition at line 77 of file LArLATOMEHeader.h.

◆ SetL1Id()

void LArLATOMEHeader::SetL1Id ( const uint32_t source)
inline

set the latome Id

Definition at line 69 of file LArLATOMEHeader.h.

70 { m_l1Id=source; return; }

◆ SetLatomeId()

void LArLATOMEHeader::SetLatomeId ( const uint32_t source)
inline

set the latome Id

Definition at line 65 of file LArLATOMEHeader.h.

66 { m_latomeId=source; return; }

◆ SetNChan()

void LArLATOMEHeader::SetNChan ( const uint16_t nchan)
inline

set the LATOME Channel

Definition at line 57 of file LArLATOMEHeader.h.

◆ SetROBFragSize()

void LArLATOMEHeader::SetROBFragSize ( const uint32_t robfragsize)
inline

set the ROB frag size

Definition at line 73 of file LArLATOMEHeader.h.

74 { m_ROBFragSize=robfragsize; return; }

◆ SetSourceId()

void LArLATOMEHeader::SetSourceId ( const uint32_t source)
inline

set the LATOME SourceId

Definition at line 61 of file LArLATOMEHeader.h.

62 { m_sourceId=source; return; }

◆ SourceId()

uint32_t LArLATOMEHeader::SourceId ( ) const
inline

get the source Id

Definition at line 32 of file LArLATOMEHeader.h.

32{return m_sourceId;}

Member Data Documentation

◆ m_BCId

uint16_t LArLATOMEHeader::m_BCId
private

LATOME BCId from TTC.

Definition at line 93 of file LArLATOMEHeader.h.

◆ m_l1Id

uint32_t LArLATOMEHeader::m_l1Id
private

extended LVL1 Id

Definition at line 96 of file LArLATOMEHeader.h.

◆ m_LATOMEFWVersion

uint32_t LArLATOMEHeader::m_LATOMEFWVersion
private

FW version.

Definition at line 102 of file LArLATOMEHeader.h.

◆ m_latomeId

uint32_t LArLATOMEHeader::m_latomeId
private

LATOME Id.

Definition at line 87 of file LArLATOMEHeader.h.

◆ m_nChannels

uint16_t LArLATOMEHeader::m_nChannels
private

LATOME channels.

Definition at line 90 of file LArLATOMEHeader.h.

◆ m_ROBFragSize

uint32_t LArLATOMEHeader::m_ROBFragSize
private

ROB frag size.

Definition at line 99 of file LArLATOMEHeader.h.

◆ m_sourceId

uint32_t LArLATOMEHeader::m_sourceId
private

LATOME sourceId.

Definition at line 84 of file LArLATOMEHeader.h.


The documentation for this class was generated from the following files: