Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
RPCDigi
interface
ReadoutError.h
Go to the documentation of this file.
1
#ifndef DataFormats_RPCDigi_ReadoutError_H
2
#define DataFormats_RPCDigi_ReadoutError_H
3
4
#include "
CondFormats/RPCObjects/interface/LinkBoardElectronicIndex.h
"
5
#include <string>
6
7
namespace
rpcrawtodigi {
8
class
ReadoutError
{
9
public
:
10
11
enum
ReadoutErrorType
{
12
NoProblem
= 0,
13
HeaderCheckFail
= 1,
14
InconsitentFedId
= 2,
15
TrailerCheckFail
= 3,
16
InconsistentDataSize
= 4,
17
InvalidLB
= 5,
18
EmptyPackedStrips
= 6,
19
InvalidDetId
= 7,
20
InvalidStrip
= 8,
21
EOD
= 9
22
};
23
24
explicit
ReadoutError
(
unsigned
int
rawCode
=0) :
theError
(
rawCode
) {}
25
26
ReadoutError
(
const
LinkBoardElectronicIndex
&,
const
ReadoutErrorType
&);
27
28
ReadoutErrorType
type
()
const
;
29
LinkBoardElectronicIndex
where
()
const
;
30
31
static
std::string
name
(
const
ReadoutErrorType
& code);
32
33
std::string
name
()
const
{
return
name
(
type
()); }
34
35
unsigned
int
rawCode
()
const
{
return
theError
;}
36
37
private
:
38
unsigned
int
theError
;
39
};
40
41
}
42
#endif
43
rpcrawtodigi::ReadoutError::where
LinkBoardElectronicIndex where() const
Definition:
ReadoutError.cc:20
rpcrawtodigi::ReadoutError::ReadoutError
ReadoutError(unsigned int rawCode=0)
Definition:
ReadoutError.h:24
rpcrawtodigi::ReadoutError
Definition:
ReadoutError.h:8
rpcrawtodigi::ReadoutError::name
std::string name() const
Definition:
ReadoutError.h:33
rpcrawtodigi::ReadoutError::NoProblem
Definition:
ReadoutError.h:12
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
rpcrawtodigi::ReadoutError::type
ReadoutErrorType type() const
Definition:
ReadoutError.cc:14
LinkBoardElectronicIndex
Definition:
LinkBoardElectronicIndex.h:10
rpcrawtodigi::ReadoutError::EmptyPackedStrips
Definition:
ReadoutError.h:18
LinkBoardElectronicIndex.h
rpcrawtodigi::ReadoutError::EOD
Definition:
ReadoutError.h:21
rpcrawtodigi::ReadoutError::InconsistentDataSize
Definition:
ReadoutError.h:16
rpcrawtodigi::ReadoutError::InvalidLB
Definition:
ReadoutError.h:17
rpcrawtodigi::ReadoutError::InconsitentFedId
Definition:
ReadoutError.h:14
rpcrawtodigi::ReadoutError::theError
unsigned int theError
Definition:
ReadoutError.h:38
rpcrawtodigi::ReadoutError::InvalidDetId
Definition:
ReadoutError.h:19
rpcrawtodigi::ReadoutError::TrailerCheckFail
Definition:
ReadoutError.h:15
rpcrawtodigi::ReadoutError::HeaderCheckFail
Definition:
ReadoutError.h:13
rpcrawtodigi::ReadoutError::InvalidStrip
Definition:
ReadoutError.h:20
rpcrawtodigi::ReadoutError::rawCode
unsigned int rawCode() const
Definition:
ReadoutError.h:35
rpcrawtodigi::ReadoutError::ReadoutErrorType
ReadoutErrorType
Definition:
ReadoutError.h:11
Generated for CMSSW Reference Manual by
1.8.5