ATLAS Offline Software
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 
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 
29  }
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){
59  }
60 
61  void set_num_statuswords(unsigned int num){
63  }
64 
65 };
66 
67 CLASS_DEF(PixelRODErrorCollection, 1088063584, 1)
68 
69 #endif
PixelRODErrorCollection::set_ROD_statusword1
void set_ROD_statusword1(unsigned int word)
Definition: PixelRODErrorCollection.h:49
PixelRODErrorCollection::ROD_statusword1
unsigned int ROD_statusword1
Definition: PixelRODErrorCollection.h:20
PixelRODErrorCollection::source_identifier
unsigned int source_identifier
Definition: PixelRODErrorCollection.h:22
xAOD::identifier
identifier
Definition: UncalibratedMeasurement_v1.cxx:15
PixelRODErrorCollection::~PixelRODErrorCollection
~PixelRODErrorCollection()
Definition: PixelRODErrorCollection.h:31
PixelRODErrorCollection::get_num_statuswords
const unsigned int get_num_statuswords()
Definition: PixelRODErrorCollection.h:45
PixelRODErrorCollection::get_ROD_statusword2
const unsigned int get_ROD_statusword2()
Definition: PixelRODErrorCollection.h:37
PixelRODErrorCollection::set_source_identifier
void set_source_identifier(unsigned int identifier)
Definition: PixelRODErrorCollection.h:57
PixelRODErrorCollection::ROD_statusword2
unsigned int ROD_statusword2
Definition: PixelRODErrorCollection.h:21
trigbs_pickEvents.num
num
Definition: trigbs_pickEvents.py:76
PixelRODErrorCollection::PixelRODErrorCollection
PixelRODErrorCollection()
Definition: PixelRODErrorCollection.h:27
PixelRODErrorCollection
Definition: PixelRODErrorCollection.h:17
PixelRODErrorCollection::get_source_identifier
const unsigned int get_source_identifier()
Definition: PixelRODErrorCollection.h:41
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:64
PixelRODErrorCollection::set_num_statuswords
void set_num_statuswords(unsigned int num)
Definition: PixelRODErrorCollection.h:61
PixelRODErrorCollection::num_statuswords
unsigned int num_statuswords
Definition: PixelRODErrorCollection.h:23
CLASS_DEF.h
macros to associate a CLID to a type
PixelRODErrorCollection::get_ROD_statusword1
const unsigned int get_ROD_statusword1()
Definition: PixelRODErrorCollection.h:33
PixelRODErrorCollection::set_ROD_statusword2
void set_ROD_statusword2(unsigned int word)
Definition: PixelRODErrorCollection.h:53