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

#include <CTP_RIO.h>

Collaboration diagram for CTP_RIO:

Public Member Functions

 CTP_RIO ()
 ~CTP_RIO ()
uint32_t getSourceId () const
uint32_t getRunNumber () const
uint32_t getLvl1Id () const
uint32_t getBCID () const
uint32_t getLvl1TriggerType () const
uint32_t getDetectorEventType () const
uint32_t getNumberDataWords () const
uint32_t getNumberStatusWords () const
const std::vector< uint32_t > & getStatusWords () const
void sourceId (uint32_t val)
void runNumber (uint32_t val)
void lvl1Id (uint32_t val)
void bcid (uint32_t val)
void lvl1TriggerType (uint32_t val)
void detectorEventType (uint32_t val)
void numberDataWords (uint32_t val)
void numberStatusWords (uint32_t val)
std::vector< uint32_t > & statusWords ()
void dumpData () const
void dumpData (MsgStream &) const

Private Attributes

uint32_t m_sourceId
uint32_t m_runNumber
uint32_t m_lvl1Id
uint32_t m_bcid
uint32_t m_lvl1TriggerType
uint32_t m_detEventType
uint32_t m_nDataWords
uint32_t m_nStatusWords
std::vector< uint32_t > m_statusWords

Detailed Description

Definition at line 22 of file CTP_RIO.h.

Constructor & Destructor Documentation

◆ CTP_RIO()

CTP_RIO::CTP_RIO ( )

Definition at line 11 of file CTP_RIO.cxx.

11 :
14}
uint32_t m_bcid
Definition CTP_RIO.h:55
uint32_t m_nDataWords
Definition CTP_RIO.h:58
uint32_t m_lvl1TriggerType
Definition CTP_RIO.h:56
uint32_t m_lvl1Id
Definition CTP_RIO.h:54
uint32_t m_sourceId
Definition CTP_RIO.h:52
uint32_t m_detEventType
Definition CTP_RIO.h:57
uint32_t m_runNumber
Definition CTP_RIO.h:53
uint32_t m_nStatusWords
Definition CTP_RIO.h:59

◆ ~CTP_RIO()

CTP_RIO::~CTP_RIO ( )

Definition at line 16 of file CTP_RIO.cxx.

16 {
17}

Member Function Documentation

◆ bcid()

void CTP_RIO::bcid ( uint32_t val)
inline

Definition at line 41 of file CTP_RIO.h.

◆ detectorEventType()

void CTP_RIO::detectorEventType ( uint32_t val)
inline

Definition at line 43 of file CTP_RIO.h.

◆ dumpData() [1/2]

void CTP_RIO::dumpData ( ) const

Definition at line 19 of file CTP_RIO.cxx.

20{
21 SmartIF<IMessageSvc> msgSvc{Gaudi::svcLocator()->service("MessageSvc")};
22 if ( !msgSvc ) {
23 return;
24 }
25 MsgStream log(msgSvc, "CTP_RIO");
26 dumpData(log);
27}
void dumpData() const
Definition CTP_RIO.cxx:19
msgSvc
Provide convenience handles for various services.
Definition StdJOSetup.py:36

◆ dumpData() [2/2]

void CTP_RIO::dumpData ( MsgStream & log) const

Definition at line 29 of file CTP_RIO.cxx.

30{
31 log << MSG::DEBUG << "=================================================" << endmsg;
32 log << MSG::DEBUG << "CTP ROD Header / Trailer data" << endmsg;
33 log << MSG::DEBUG << "Source ID : 0x" << MSG::hex << getSourceId() << MSG::dec << endmsg;
34 log << MSG::DEBUG << "Run number : " << getRunNumber() << endmsg;
35 log << MSG::DEBUG << "Ext. LVL1 ID : " << getLvl1Id() << endmsg;
36 log << MSG::DEBUG << "BCID : " << getBCID() << endmsg;
37 log << MSG::DEBUG << "Trigger type : " << getLvl1TriggerType() << endmsg;
38 log << MSG::DEBUG << "Det. event type : " << getDetectorEventType() << endmsg;
39 log << MSG::DEBUG << "No data words : " << getNumberDataWords() << endmsg;
40 log << MSG::DEBUG << "No status words : " << getNumberStatusWords() << endmsg;
41 for(uint32_t i = 0 ; i<getNumberStatusWords(); ++i)
42 log << MSG::DEBUG << "Status word " << i << " : 0x" << MSG::hex
43 << getStatusWords()[i] << MSG::dec << endmsg;
44 log << MSG::DEBUG << "=================================================" << endmsg;
45}
#define endmsg
uint32_t getNumberDataWords() const
Definition CTP_RIO.h:34
uint32_t getNumberStatusWords() const
Definition CTP_RIO.h:35
uint32_t getSourceId() const
Definition CTP_RIO.h:28
uint32_t getBCID() const
Definition CTP_RIO.h:31
const std::vector< uint32_t > & getStatusWords() const
Definition CTP_RIO.h:36
uint32_t getLvl1Id() const
Definition CTP_RIO.h:30
uint32_t getRunNumber() const
Definition CTP_RIO.h:29
uint32_t getLvl1TriggerType() const
Definition CTP_RIO.h:32
uint32_t getDetectorEventType() const
Definition CTP_RIO.h:33

◆ getBCID()

uint32_t CTP_RIO::getBCID ( ) const
inline

Definition at line 31 of file CTP_RIO.h.

31{return m_bcid;}

◆ getDetectorEventType()

uint32_t CTP_RIO::getDetectorEventType ( ) const
inline

Definition at line 33 of file CTP_RIO.h.

33{return m_detEventType;}

◆ getLvl1Id()

uint32_t CTP_RIO::getLvl1Id ( ) const
inline

Definition at line 30 of file CTP_RIO.h.

30{return m_lvl1Id;}

◆ getLvl1TriggerType()

uint32_t CTP_RIO::getLvl1TriggerType ( ) const
inline

Definition at line 32 of file CTP_RIO.h.

32{return m_lvl1TriggerType;}

◆ getNumberDataWords()

uint32_t CTP_RIO::getNumberDataWords ( ) const
inline

Definition at line 34 of file CTP_RIO.h.

34{return m_nDataWords;}

◆ getNumberStatusWords()

uint32_t CTP_RIO::getNumberStatusWords ( ) const
inline

Definition at line 35 of file CTP_RIO.h.

35{return m_nStatusWords;}

◆ getRunNumber()

uint32_t CTP_RIO::getRunNumber ( ) const
inline

Definition at line 29 of file CTP_RIO.h.

29{return m_runNumber;}

◆ getSourceId()

uint32_t CTP_RIO::getSourceId ( ) const
inline

Definition at line 28 of file CTP_RIO.h.

28{return m_sourceId;}

◆ getStatusWords()

const std::vector< uint32_t > & CTP_RIO::getStatusWords ( ) const
inline

Definition at line 36 of file CTP_RIO.h.

36{return m_statusWords;}
std::vector< uint32_t > m_statusWords
Definition CTP_RIO.h:60

◆ lvl1Id()

void CTP_RIO::lvl1Id ( uint32_t val)
inline

Definition at line 40 of file CTP_RIO.h.

40{m_lvl1Id = val;}

◆ lvl1TriggerType()

void CTP_RIO::lvl1TriggerType ( uint32_t val)
inline

Definition at line 42 of file CTP_RIO.h.

◆ numberDataWords()

void CTP_RIO::numberDataWords ( uint32_t val)
inline

Definition at line 44 of file CTP_RIO.h.

◆ numberStatusWords()

void CTP_RIO::numberStatusWords ( uint32_t val)
inline

Definition at line 45 of file CTP_RIO.h.

◆ runNumber()

void CTP_RIO::runNumber ( uint32_t val)
inline

Definition at line 39 of file CTP_RIO.h.

◆ sourceId()

void CTP_RIO::sourceId ( uint32_t val)
inline

Definition at line 38 of file CTP_RIO.h.

38{m_sourceId = val;}

◆ statusWords()

std::vector< uint32_t > & CTP_RIO::statusWords ( )
inline

Definition at line 46 of file CTP_RIO.h.

46{return m_statusWords;}

Member Data Documentation

◆ m_bcid

uint32_t CTP_RIO::m_bcid
private

Definition at line 55 of file CTP_RIO.h.

◆ m_detEventType

uint32_t CTP_RIO::m_detEventType
private

Definition at line 57 of file CTP_RIO.h.

◆ m_lvl1Id

uint32_t CTP_RIO::m_lvl1Id
private

Definition at line 54 of file CTP_RIO.h.

◆ m_lvl1TriggerType

uint32_t CTP_RIO::m_lvl1TriggerType
private

Definition at line 56 of file CTP_RIO.h.

◆ m_nDataWords

uint32_t CTP_RIO::m_nDataWords
private

Definition at line 58 of file CTP_RIO.h.

◆ m_nStatusWords

uint32_t CTP_RIO::m_nStatusWords
private

Definition at line 59 of file CTP_RIO.h.

◆ m_runNumber

uint32_t CTP_RIO::m_runNumber
private

Definition at line 53 of file CTP_RIO.h.

◆ m_sourceId

uint32_t CTP_RIO::m_sourceId
private

Definition at line 52 of file CTP_RIO.h.

◆ m_statusWords

std::vector<uint32_t> CTP_RIO::m_statusWords
private

Definition at line 60 of file CTP_RIO.h.


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