ATLAS Offline Software
Loading...
Searching...
No Matches
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{
12public:
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
57private:
59 int m_rod;
60 int m_run;
64 int m_lvl1;
65 int m_size;
69 std::vector<int> m_status;
70};
71
72#endif
bool getCmmParityError() const
int getModuleStatus(const int module) const
bool getRodOverflow() const
bool getDataTransportError() const
void setStatus2(int status)
std::vector< int > m_status
bool getBcnumMismatch() const
void setStatus1(int status)
bool getGlinkError() const
static const unsigned int s_minRun2Version
void setSize(int size)
bool getTriggerTypeTimeout() const
void setModuleStatus(int module, int status)
void setLvl1Id(int lvl1)
bool getModuleLinkError() const
std::string getType() const
bool getGlinkTimeout() const
L1CaloRdoRodInfo(int system, int rod, int run, int bcnum, int triggerType, int detType, int version)
int getMinorVersion() const
bool getRoiOverflow() const
Definition run.py:1