ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetEventCnv
PixelRawDataByteStreamCnv
src
PixelRODErrorCollection.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef PIXELRAWDATABYTESTREAMCNV_PIXELRODERRORCOLLECTION_H
6
#define PIXELRAWDATABYTESTREAMCNV_PIXELRODERRORCOLLECTION_H
7
8
/*
9
This class is implemented to store the error flag information decoded from the bytestream in Storegate.
10
*/
11
12
13
14
#include "
AthenaKernel/CLASS_DEF.h
"
15
16
17
class
PixelRODErrorCollection
{
18
19
private
:
20
unsigned
int
ROD_statusword1
;
21
unsigned
int
ROD_statusword2
;
22
unsigned
int
source_identifier
;
23
unsigned
int
num_statuswords
;
24
25
public
:
26
27
PixelRODErrorCollection
(){
28
num_statuswords
=0;
29
}
30
31
~PixelRODErrorCollection
(){}
32
33
const
unsigned
int
get_ROD_statusword1
(){
34
return
ROD_statusword1
;
35
}
36
37
const
unsigned
int
get_ROD_statusword2
(){
38
return
ROD_statusword2
;
39
}
40
41
const
unsigned
int
get_source_identifier
(){
42
return
source_identifier
;
43
}
44
45
const
unsigned
int
get_num_statuswords
(){
46
return
num_statuswords
;
47
}
48
49
void
set_ROD_statusword1
(
unsigned
int
word){
50
ROD_statusword1
= word;
51
}
52
53
void
set_ROD_statusword2
(
unsigned
int
word){
54
ROD_statusword2
= word;
55
}
56
57
void
set_source_identifier
(
unsigned
int
identifier){
58
source_identifier
= identifier;
59
}
60
61
void
set_num_statuswords
(
unsigned
int
num){
62
num_statuswords
= num;
63
}
64
65
};
66
67
CLASS_DEF
(
PixelRODErrorCollection
, 1088063584, 1)
68
69
#endif
CLASS_DEF.h
macros to associate a CLID to a type
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:67
PixelRODErrorCollection
Definition
PixelRODErrorCollection.h:17
PixelRODErrorCollection::ROD_statusword2
unsigned int ROD_statusword2
Definition
PixelRODErrorCollection.h:21
PixelRODErrorCollection::num_statuswords
unsigned int num_statuswords
Definition
PixelRODErrorCollection.h:23
PixelRODErrorCollection::get_ROD_statusword1
const unsigned int get_ROD_statusword1()
Definition
PixelRODErrorCollection.h:33
PixelRODErrorCollection::set_ROD_statusword1
void set_ROD_statusword1(unsigned int word)
Definition
PixelRODErrorCollection.h:49
PixelRODErrorCollection::source_identifier
unsigned int source_identifier
Definition
PixelRODErrorCollection.h:22
PixelRODErrorCollection::get_source_identifier
const unsigned int get_source_identifier()
Definition
PixelRODErrorCollection.h:41
PixelRODErrorCollection::ROD_statusword1
unsigned int ROD_statusword1
Definition
PixelRODErrorCollection.h:20
PixelRODErrorCollection::set_ROD_statusword2
void set_ROD_statusword2(unsigned int word)
Definition
PixelRODErrorCollection.h:53
PixelRODErrorCollection::PixelRODErrorCollection
PixelRODErrorCollection()
Definition
PixelRODErrorCollection.h:27
PixelRODErrorCollection::get_num_statuswords
const unsigned int get_num_statuswords()
Definition
PixelRODErrorCollection.h:45
PixelRODErrorCollection::set_num_statuswords
void set_num_statuswords(unsigned int num)
Definition
PixelRODErrorCollection.h:61
PixelRODErrorCollection::set_source_identifier
void set_source_identifier(unsigned int identifier)
Definition
PixelRODErrorCollection.h:57
PixelRODErrorCollection::get_ROD_statusword2
const unsigned int get_ROD_statusword2()
Definition
PixelRODErrorCollection.h:37
PixelRODErrorCollection::~PixelRODErrorCollection
~PixelRODErrorCollection()
Definition
PixelRODErrorCollection.h:31
Generated on
for ATLAS Offline Software by
1.17.0