ATLAS Offline Software
CTP_RIO.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /* **********************************************************
6 *
7 * CTP RIO - class to hold ROD Header data and status words
8 * author: David Berge
9 * author: Ellie Dobson
10 ********************************************************** */
11 
12 #ifndef TRIGT1RESULT_CTP_RIO_H
13 #define TRIGT1RESULT_CTP_RIO_H
14 
15 #include <vector>
16 #include <cstdint>
17 
18 #include "AthenaKernel/CLASS_DEF.h"
19 
20 class MsgStream;
21 
22 class CTP_RIO {
23 
24 public:
25  CTP_RIO();
26  ~CTP_RIO();
27 
28  uint32_t getSourceId() const{return m_sourceId;}
30  uint32_t getLvl1Id() const{return m_lvl1Id;}
31  uint32_t getBCID() const{return m_bcid;}
36  const std::vector<uint32_t>& getStatusWords() const{return m_statusWords;}
37 
41  void bcid(uint32_t val) {m_bcid = val;}
46  std::vector<uint32_t>& statusWords() {return m_statusWords;}
47 
48  void dumpData() const;
49  void dumpData(MsgStream&) const;
50 
51 private:
60  std::vector<uint32_t> m_statusWords;
61 
62 }; // class CTP_RIO
63 
64 CLASS_DEF( CTP_RIO , 6015 , 0 )
65 
66 #endif // TRIGT1RESULT_CTP_RIO_H
CTP_RIO
Definition: CTP_RIO.h:22
CTP_RIO::bcid
void bcid(uint32_t val)
Definition: CTP_RIO.h:41
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::runNumber
void runNumber(uint32_t val)
Definition: CTP_RIO.h:39
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
CTP_RIO::getSourceId
uint32_t getSourceId() const
Definition: CTP_RIO.h:28
CTP_RIO::getLvl1TriggerType
uint32_t getLvl1TriggerType() const
Definition: CTP_RIO.h:32
CTP_RIO::sourceId
void sourceId(uint32_t val)
Definition: CTP_RIO.h:38
CTP_RIO::numberDataWords
void numberDataWords(uint32_t val)
Definition: CTP_RIO.h:44
CTP_RIO::~CTP_RIO
~CTP_RIO()
Definition: CTP_RIO.cxx:16
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
CTP_RIO::CTP_RIO
CTP_RIO()
Definition: CTP_RIO.cxx:11
CTP_RIO::lvl1Id
void lvl1Id(uint32_t val)
Definition: CTP_RIO.h:40
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
CTP_RIO::getDetectorEventType
uint32_t getDetectorEventType() const
Definition: CTP_RIO.h:33
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
CTP_RIO::m_bcid
uint32_t m_bcid
Definition: CTP_RIO.h:55
CTP_RIO::getStatusWords
const std::vector< uint32_t > & getStatusWords() const
Definition: CTP_RIO.h:36
CTP_RIO::numberStatusWords
void numberStatusWords(uint32_t val)
Definition: CTP_RIO.h:45
CLASS_DEF.h
macros to associate a CLID to a type
CTP_RIO::statusWords
std::vector< uint32_t > & statusWords()
Definition: CTP_RIO.h:46
CTP_RIO::lvl1TriggerType
void lvl1TriggerType(uint32_t val)
Definition: CTP_RIO.h:42
CTP_RIO::detectorEventType
void detectorEventType(uint32_t val)
Definition: CTP_RIO.h:43