ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
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.

◆ ~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.

41 {m_bcid = val;}

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

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

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

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

44 {m_nDataWords = val;}

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

39 {m_runNumber = val;}

◆ 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:
CTP_RIO::m_statusWords
std::vector< uint32_t > m_statusWords
Definition: CTP_RIO.h:60
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
CTP_RIO::m_lvl1TriggerType
uint32_t m_lvl1TriggerType
Definition: CTP_RIO.h:56
CTP_RIO::dumpData
void dumpData() const
Definition: CTP_RIO.cxx:19
CTP_RIO::m_runNumber
uint32_t m_runNumber
Definition: CTP_RIO.h:53
CTP_RIO::m_sourceId
uint32_t m_sourceId
Definition: CTP_RIO.h:52
CTP_RIO::m_nStatusWords
uint32_t m_nStatusWords
Definition: CTP_RIO.h:59
CTP_RIO::getBCID
uint32_t getBCID() const
Definition: CTP_RIO.h:31
CTP_RIO::m_detEventType
uint32_t m_detEventType
Definition: CTP_RIO.h:57
CTP_RIO::getLvl1Id
uint32_t getLvl1Id() const
Definition: CTP_RIO.h:30
CTP_RIO::getNumberStatusWords
uint32_t getNumberStatusWords() const
Definition: CTP_RIO.h:35
CTP_RIO::getNumberDataWords
uint32_t getNumberDataWords() const
Definition: CTP_RIO.h:34
StdJOSetup.msgSvc
msgSvc
Provide convenience handles for various services.
Definition: StdJOSetup.py:36
CTP_RIO::getSourceId
uint32_t getSourceId() const
Definition: CTP_RIO.h:28
lumiFormat.i
int i
Definition: lumiFormat.py:85
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
CTP_RIO::getLvl1TriggerType
uint32_t getLvl1TriggerType() const
Definition: CTP_RIO.h:32
CTP_RIO::m_nDataWords
uint32_t m_nDataWords
Definition: CTP_RIO.h:58
CTP_RIO::getRunNumber
uint32_t getRunNumber() const
Definition: CTP_RIO.h:29
CTP_RIO::m_lvl1Id
uint32_t m_lvl1Id
Definition: CTP_RIO.h:54
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
CTP_RIO::getDetectorEventType
uint32_t getDetectorEventType() const
Definition: CTP_RIO.h:33
DEBUG
#define DEBUG
Definition: page_access.h:11
CTP_RIO::m_bcid
uint32_t m_bcid
Definition: CTP_RIO.h:55
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
CTP_RIO::getStatusWords
const std::vector< uint32_t > & getStatusWords() const
Definition: CTP_RIO.h:36