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 19 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 30 of file LArLATOMEHeader.h.

30{ }

Member Function Documentation

◆ BCId()

uint16_t LArLATOMEHeader::BCId ( ) const
inline

get the Bunch Crossing IDs

Definition at line 42 of file LArLATOMEHeader.h.

42{return m_BCId;}

◆ FWversion()

uint32_t LArLATOMEHeader::FWversion ( ) const
inline

get the FW version

Definition at line 51 of file LArLATOMEHeader.h.

51{return m_LATOMEFWVersion;}

◆ L1Id()

uint32_t LArLATOMEHeader::L1Id ( ) const
inline

get the L1 Id

Definition at line 45 of file LArLATOMEHeader.h.

45{return m_l1Id;}

◆ LatomeId()

uint32_t LArLATOMEHeader::LatomeId ( ) const
inline

get the latome Id

Definition at line 36 of file LArLATOMEHeader.h.

36{return m_latomeId;}

◆ NChans()

uint16_t LArLATOMEHeader::NChans ( ) const
inline

get the number of channels

Definition at line 39 of file LArLATOMEHeader.h.

39{return m_nChannels;}

◆ ROBFragSize()

uint32_t LArLATOMEHeader::ROBFragSize ( ) const
inline

get the ROB frag size

Definition at line 48 of file LArLATOMEHeader.h.

48{return m_ROBFragSize;}

◆ SetBCId()

void LArLATOMEHeader::SetBCId ( const uint16_t bcid)
inline

set the LATOME Bunch Crossing ID

Definition at line 54 of file LArLATOMEHeader.h.

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

◆ SetFWversion()

void LArLATOMEHeader::SetFWversion ( const uint32_t fwversion)
inline

set the FW version

Definition at line 78 of file LArLATOMEHeader.h.

◆ SetL1Id()

void LArLATOMEHeader::SetL1Id ( const uint32_t source)
inline

set the latome Id

Definition at line 70 of file LArLATOMEHeader.h.

71 { m_l1Id=source; return; }

◆ SetLatomeId()

void LArLATOMEHeader::SetLatomeId ( const uint32_t source)
inline

set the latome Id

Definition at line 66 of file LArLATOMEHeader.h.

67 { m_latomeId=source; return; }

◆ SetNChan()

void LArLATOMEHeader::SetNChan ( const uint16_t nchan)
inline

set the LATOME Channel

Definition at line 58 of file LArLATOMEHeader.h.

◆ SetROBFragSize()

void LArLATOMEHeader::SetROBFragSize ( const uint32_t robfragsize)
inline

set the ROB frag size

Definition at line 74 of file LArLATOMEHeader.h.

75 { m_ROBFragSize=robfragsize; return; }

◆ SetSourceId()

void LArLATOMEHeader::SetSourceId ( const uint32_t source)
inline

set the LATOME SourceId

Definition at line 62 of file LArLATOMEHeader.h.

63 { m_sourceId=source; return; }

◆ SourceId()

uint32_t LArLATOMEHeader::SourceId ( ) const
inline

get the source Id

Definition at line 33 of file LArLATOMEHeader.h.

33{return m_sourceId;}

Member Data Documentation

◆ m_BCId

uint16_t LArLATOMEHeader::m_BCId
private

LATOME BCId from TTC.

Definition at line 94 of file LArLATOMEHeader.h.

◆ m_l1Id

uint32_t LArLATOMEHeader::m_l1Id
private

extended LVL1 Id

Definition at line 97 of file LArLATOMEHeader.h.

◆ m_LATOMEFWVersion

uint32_t LArLATOMEHeader::m_LATOMEFWVersion
private

FW version.

Definition at line 103 of file LArLATOMEHeader.h.

◆ m_latomeId

uint32_t LArLATOMEHeader::m_latomeId
private

LATOME Id.

Definition at line 88 of file LArLATOMEHeader.h.

◆ m_nChannels

uint16_t LArLATOMEHeader::m_nChannels
private

LATOME channels.

Definition at line 91 of file LArLATOMEHeader.h.

◆ m_ROBFragSize

uint32_t LArLATOMEHeader::m_ROBFragSize
private

ROB frag size.

Definition at line 100 of file LArLATOMEHeader.h.

◆ m_sourceId

uint32_t LArLATOMEHeader::m_sourceId
private

LATOME sourceId.

Definition at line 85 of file LArLATOMEHeader.h.


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