ATLAS Offline Software
Loading...
Searching...
No Matches
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/*
9This class is implemented to store the error flag information decoded from the bytestream in Storegate.
10*/
11
12
13
15
16
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
30
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
68
69#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
const unsigned int get_ROD_statusword1()
void set_ROD_statusword1(unsigned int word)
const unsigned int get_source_identifier()
void set_ROD_statusword2(unsigned int word)
const unsigned int get_num_statuswords()
void set_num_statuswords(unsigned int num)
void set_source_identifier(unsigned int identifier)
const unsigned int get_ROD_statusword2()