ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
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. More...
 
 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)
 Constructor with all numbers. More...
 
 ~LArLATOMEHeader ()
 Destructor. More...
 
uint32_t SourceId () const
 get the source Id More...
 
uint32_t LatomeId () const
 get the latome Id More...
 
uint16_t NChans () const
 get the number of channels More...
 
uint16_t BCId () const
 get the Bunch Crossing IDs More...
 
uint32_t L1Id () const
 get the L1 Id More...
 
uint32_t ROBFragSize () const
 get the ROB frag size More...
 
void SetBCId (const uint16_t bcid)
 set the LATOME Bunch Crossing ID More...
 
void SetNChan (const uint16_t nchan)
 set the LATOME Channel More...
 
void SetSourceId (const uint32_t source)
 set the LATOME SourceId More...
 
void SetLatomeId (const uint32_t source)
 set the latome Id More...
 
void SetL1Id (const uint32_t source)
 set the latome Id More...
 
void SetROBFragSize (const uint32_t robfragsize)
 set the ROB frag size More...
 

Private Attributes

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

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 }

◆ 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 
)

Constructor with all numbers.

Definition at line 11 of file LArLATOMEHeader.cxx.

◆ ~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;}

◆ 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 50 of file LArLATOMEHeader.h.

51  { m_BCId=bcid; return; }

◆ SetL1Id()

void LArLATOMEHeader::SetL1Id ( const uint32_t  source)
inline

set the latome Id

Definition at line 66 of file LArLATOMEHeader.h.

67  { m_l1Id=source; return; }

◆ SetLatomeId()

void LArLATOMEHeader::SetLatomeId ( const uint32_t  source)
inline

set the latome Id

Definition at line 62 of file LArLATOMEHeader.h.

63  { m_latomeId=source; return; }

◆ SetNChan()

void LArLATOMEHeader::SetNChan ( const uint16_t  nchan)
inline

set the LATOME Channel

Definition at line 54 of file LArLATOMEHeader.h.

55  { m_nChannels=nchan; return; }

◆ SetROBFragSize()

void LArLATOMEHeader::SetROBFragSize ( const uint32_t  robfragsize)
inline

set the ROB frag size

Definition at line 71 of file LArLATOMEHeader.h.

72  { m_ROBFragSize=robfragsize; return; }

◆ SetSourceId()

void LArLATOMEHeader::SetSourceId ( const uint32_t  source)
inline

set the LATOME SourceId

Definition at line 58 of file LArLATOMEHeader.h.

59  { 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 86 of file LArLATOMEHeader.h.

◆ m_l1Id

uint32_t LArLATOMEHeader::m_l1Id
private

extended LVL1 Id

Definition at line 89 of file LArLATOMEHeader.h.

◆ m_latomeId

uint32_t LArLATOMEHeader::m_latomeId
private

LATOME Id.

Definition at line 80 of file LArLATOMEHeader.h.

◆ m_nChannels

uint16_t LArLATOMEHeader::m_nChannels
private

LATOME channels.

Definition at line 83 of file LArLATOMEHeader.h.

◆ m_ROBFragSize

uint32_t LArLATOMEHeader::m_ROBFragSize
private

ROB frag size.

Definition at line 92 of file LArLATOMEHeader.h.

◆ m_sourceId

uint32_t LArLATOMEHeader::m_sourceId
private

LATOME sourceId.

Definition at line 77 of file LArLATOMEHeader.h.


The documentation for this class was generated from the following files:
LArLATOMEHeader::m_sourceId
uint32_t m_sourceId
LATOME sourceId.
Definition: LArLATOMEHeader.h:77
LArLATOMEHeader::m_ROBFragSize
uint32_t m_ROBFragSize
ROB frag size.
Definition: LArLATOMEHeader.h:92
PlotCalibFromCool.nchan
nchan
Definition: PlotCalibFromCool.py:564
LArLATOMEHeader::ROBFragSize
uint32_t ROBFragSize() const
get the ROB frag size
Definition: LArLATOMEHeader.h:47
LArLATOMEHeader::m_nChannels
uint16_t m_nChannels
LATOME channels.
Definition: LArLATOMEHeader.h:83
LArLATOMEHeader::m_l1Id
uint32_t m_l1Id
extended LVL1 Id
Definition: LArLATOMEHeader.h:89
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133
LArLATOMEHeader::m_BCId
uint16_t m_BCId
LATOME BCId from TTC.
Definition: LArLATOMEHeader.h:86
LArLATOMEHeader::m_latomeId
uint32_t m_latomeId
LATOME Id.
Definition: LArLATOMEHeader.h:80