ATLAS Offline Software
L1CaloRdoRodInfo.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef L1CALO_RDO_ROD_INFO_H
5 #define L1CALO_RDO_ROD_INFO_H
6 
7 #include <string>
8 #include <vector>
9 
11 {
12 public:
13  L1CaloRdoRodInfo( int system, int rod, int run, int bcnum, int triggerType, int detType, int version );
14  std::string getType( ) const;
15 
16  void info( ) const;
17  int getMinorVersion( ) const;
18  bool getIsRun1( ) const;
19  bool getIsRun2( ) const;
20  bool getIsRun3( ) const;
21  int getSystemId( ) const;
22  int getRodId( ) const;
23  int getSourceId( ) const;
24  int getRunNumber( ) const;
25  int getBcNumber( ) const;
26  int getTriggerType( ) const;
27 
28  int getLevel1Id( ) const;
29  int getDataSize( ) const;
30  int getStepNumber( ) const;
31  int getOrbitCount( ) const;
32 
33  bool getBcnumMismatch( ) const;
34  bool getGlinkTimeout( ) const;
35  bool getDataTransportError( ) const;
36  bool getRodOverflow( ) const;
37 
38  bool getModuleLinkError( ) const;
39  bool getCmmParityError( ) const;
40  bool getGlinkError( ) const;
41 
42  bool getRoiOverflow( ) const;
43 
44  bool getTriggerTypeTimeout( ) const;
45 
46  int getModuleStatus( const int module ) const;
47 
48  void setLvl1Id( int lvl1 );
49  void setSize( int size );
50  void setStatus1( int status );
51  void setStatus2( int status );
52  void setModuleStatus( int module, int status );
53 
54  // Minimum ROD minor version for Run 2.
55  static const unsigned int s_minRun2Version = 0x1004;
56 
57 private:
58  int m_system;
59  int m_rod;
60  int m_run;
61  int m_bcnum;
63  int m_detType;
64  int m_lvl1;
65  int m_size;
66  int m_status1;
67  int m_status2;
68  int m_version;
69  std::vector<int> m_status;
70 };
71 
72 #endif
L1CaloRdoRodInfo::m_status
std::vector< int > m_status
Definition: L1CaloRdoRodInfo.h:69
L1CaloRdoRodInfo::getCmmParityError
bool getCmmParityError() const
Definition: L1CaloRdoRodInfo.cxx:171
L1CaloRdoRodInfo::getIsRun2
bool getIsRun2() const
Definition: L1CaloRdoRodInfo.cxx:68
L1CaloRdoRodInfo::getGlinkTimeout
bool getGlinkTimeout() const
Definition: L1CaloRdoRodInfo.cxx:147
L1CaloRdoRodInfo::getIsRun1
bool getIsRun1() const
Definition: L1CaloRdoRodInfo.cxx:62
L1CaloRdoRodInfo::m_version
int m_version
Definition: L1CaloRdoRodInfo.h:68
L1CaloRdoRodInfo::getGlinkError
bool getGlinkError() const
Definition: L1CaloRdoRodInfo.cxx:177
L1CaloRdoRodInfo::m_run
int m_run
Definition: L1CaloRdoRodInfo.h:60
L1CaloRdoRodInfo::m_size
int m_size
Definition: L1CaloRdoRodInfo.h:65
L1CaloRdoRodInfo::getBcnumMismatch
bool getBcnumMismatch() const
Definition: L1CaloRdoRodInfo.cxx:141
L1CaloRdoRodInfo::s_minRun2Version
static const unsigned int s_minRun2Version
Definition: L1CaloRdoRodInfo.h:55
L1CaloRdoRodInfo::getIsRun3
bool getIsRun3() const
Definition: L1CaloRdoRodInfo.cxx:74
L1CaloRdoRodInfo::m_lvl1
int m_lvl1
Definition: L1CaloRdoRodInfo.h:64
L1CaloRdoRodInfo::L1CaloRdoRodInfo
L1CaloRdoRodInfo(int system, int rod, int run, int bcnum, int triggerType, int detType, int version)
Definition: L1CaloRdoRodInfo.cxx:15
L1CaloRdoRodInfo::m_status2
int m_status2
Definition: L1CaloRdoRodInfo.h:67
L1CaloRdoRodInfo::setLvl1Id
void setLvl1Id(int lvl1)
Definition: L1CaloRdoRodInfo.cxx:203
L1CaloRdoRodInfo::m_bcnum
int m_bcnum
Definition: L1CaloRdoRodInfo.h:61
L1CaloRdoRodInfo::m_rod
int m_rod
Definition: L1CaloRdoRodInfo.h:59
L1CaloRdoRodInfo::getDataTransportError
bool getDataTransportError() const
Definition: L1CaloRdoRodInfo.cxx:153
L1CaloRdoRodInfo::getStepNumber
int getStepNumber() const
Definition: L1CaloRdoRodInfo.cxx:129
L1CaloRdoRodInfo
Definition: L1CaloRdoRodInfo.h:11
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
python.PyAthena.module
module
Definition: PyAthena.py:134
L1CaloRdoRodInfo::getRunNumber
int getRunNumber() const
Definition: L1CaloRdoRodInfo.cxx:99
L1CaloRdoRodInfo::getTriggerType
int getTriggerType() const
Definition: L1CaloRdoRodInfo.cxx:111
L1CaloRdoRodInfo::getRoiOverflow
bool getRoiOverflow() const
Definition: L1CaloRdoRodInfo.cxx:183
L1CaloRdoRodInfo::getSourceId
int getSourceId() const
Definition: L1CaloRdoRodInfo.cxx:93
L1CaloRdoRodInfo::getType
std::string getType() const
Definition: L1CaloRdoRodInfo.cxx:32
run
Definition: run.py:1
RunTileMonitoring.rod
rod
Definition: RunTileMonitoring.py:134
L1CaloRdoRodInfo::m_status1
int m_status1
Definition: L1CaloRdoRodInfo.h:66
L1CaloRdoRodInfo::getRodOverflow
bool getRodOverflow() const
Definition: L1CaloRdoRodInfo.cxx:159
L1CaloRdoRodInfo::getTriggerTypeTimeout
bool getTriggerTypeTimeout() const
Definition: L1CaloRdoRodInfo.cxx:189
L1CaloRdoRodInfo::getModuleStatus
int getModuleStatus(const int module) const
Definition: L1CaloRdoRodInfo.cxx:195
L1CaloRdoRodInfo::getOrbitCount
int getOrbitCount() const
Definition: L1CaloRdoRodInfo.cxx:135
L1CaloRdoRodInfo::m_triggerType
int m_triggerType
Definition: L1CaloRdoRodInfo.h:62
L1CaloRdoRodInfo::m_detType
int m_detType
Definition: L1CaloRdoRodInfo.h:63
L1CaloRdoRodInfo::getBcNumber
int getBcNumber() const
Definition: L1CaloRdoRodInfo.cxx:105
L1CaloRdoRodInfo::info
void info() const
Definition: L1CaloRdoRodInfo.cxx:38
get_generator_info.version
version
Definition: get_generator_info.py:33
L1CaloRdoRodInfo::getDataSize
int getDataSize() const
Definition: L1CaloRdoRodInfo.cxx:123
L1CaloRdoRodInfo::m_system
int m_system
Definition: L1CaloRdoRodInfo.h:58
L1CaloRdoRodInfo::setStatus2
void setStatus2(int status)
Definition: L1CaloRdoRodInfo.cxx:221
L1CaloRdoRodInfo::getLevel1Id
int getLevel1Id() const
Definition: L1CaloRdoRodInfo.cxx:117
L1CaloRdoRodInfo::setSize
void setSize(int size)
Definition: L1CaloRdoRodInfo.cxx:209
L1CaloRdoRodInfo::getRodId
int getRodId() const
Definition: L1CaloRdoRodInfo.cxx:87
RunTileMonitoring.triggerType
triggerType
Definition: RunTileMonitoring.py:162
merge.status
status
Definition: merge.py:17
L1CaloRdoRodInfo::getMinorVersion
int getMinorVersion() const
Definition: L1CaloRdoRodInfo.cxx:56
L1CaloRdoRodInfo::setStatus1
void setStatus1(int status)
Definition: L1CaloRdoRodInfo.cxx:215
L1CaloRdoRodInfo::getModuleLinkError
bool getModuleLinkError() const
Definition: L1CaloRdoRodInfo.cxx:165
L1CaloRdoRodInfo::getSystemId
int getSystemId() const
Definition: L1CaloRdoRodInfo.cxx:81
L1CaloRdoRodInfo::setModuleStatus
void setModuleStatus(int module, int status)
Definition: L1CaloRdoRodInfo.cxx:227