ATLAS Offline Software
SCT_TB04_RawData.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // SCT_TB04_RawData.cxx
7 // Implementation file for class SCT_TB04_RawData
9 // (c) ATLAS Detector software
11 // Version 1.0 11/12/2004 MJ Costa
13 
14 #include <new>
17 
18 // default constructor
20  SCT_RDORawData(Identifier(), 0) //call base-class constructor
21 {
22  m_event = 0;
23  m_fragment_type = 0;
24  m_size = 0;
26  m_event_count = 0;
27  m_onlineId = 0;
28  for(unsigned int i(0);i!=20;++i){
30  }
31 }
32 
33 // Constructor with parameters:
34 // Mustard constructor
35 SCT_TB04_RawData::SCT_TB04_RawData(const Identifier rdoId, const unsigned int word,
36  const unsigned int Event, const unsigned int FragmentIdentifier,
37  const unsigned int Size, const unsigned int WordErrorCount,
38  const unsigned int EventCount, const unsigned int onlineId) :
39  SCT_RDORawData( rdoId, word) //call base-class constructor
40 {
41  m_event = Event;
42  m_fragment_type = FragmentIdentifier;
43  m_size = Size;
44  m_word_error_count = WordErrorCount;
45  m_event_count = EventCount;
46  m_onlineId = onlineId;
47  for(unsigned int i(0);i!=20;++i){
49  }
50 }
51 
52 // ROD constructor
53 SCT_TB04_RawData::SCT_TB04_RawData(const Identifier rdoId, const unsigned int word, const unsigned int onlineId, float errorhit[20]) :
54  SCT_RDORawData( rdoId, word) //call base-class constructor
55 {
56  m_event = 0;
57  m_fragment_type = 0;
58  m_size = 0;
60  m_event_count = 0;
61  m_onlineId = onlineId;
62  for (int i=0;i<20;i++){
63  m_errorCondensedHit[i] = errorhit[i];
64  }
65 }
66 
67 //SCT_TB04_RawData *SCT_TB04_RawData::newObject(const Identifier rdoId, const unsigned int word)
68 //{
69 // SCT_TB04_RawData *p_rdo=0;
70 
71  // create a new object and check
72 // try {
73 // p_rdo=new SCT_TB04_RawData(rdoId, word);
74 // } catch (...) {
75 // p_rdo=0;
76 // }
77 // return p_rdo;
78 //}
79 
SCT_TB04_RawData::m_errorCondensedHit
float m_errorCondensedHit[20]
Definition: SCT_TB04_RawData.h:111
SCT_TB04_RawData::SCT_TB04_RawData
SCT_TB04_RawData()
Definition: SCT_TB04_RawData.cxx:19
TrigConf::JetWindowSize::Size
Size
Definition: TriggerThresholdValue.h:17
Event
Definition: trigbs_orderedMerge.cxx:42
SCT_TB04_RawData::m_fragment_type
unsigned int m_fragment_type
Definition: SCT_TB04_RawData.h:106
JiveXML::Event
struct Event_t Event
Definition: ONCRPCServer.h:65
SCT_RDORawData
Definition: SCT_RDORawData.h:24
SCT_TB04_RawData::m_size
unsigned int m_size
Definition: SCT_TB04_RawData.h:107
SCT_TB04_RawData::m_event_count
unsigned int m_event_count
Definition: SCT_TB04_RawData.h:109
lumiFormat.i
int i
Definition: lumiFormat.py:85
SCT_RDORawData.h
SCT_TB04_RawData.h
SCT_TB04_RawData::m_word_error_count
unsigned int m_word_error_count
Definition: SCT_TB04_RawData.h:108
SCT_TB04_RawData::m_onlineId
unsigned int m_onlineId
Definition: SCT_TB04_RawData.h:110
SCT_TB04_RawData::m_event
unsigned int m_event
Definition: SCT_TB04_RawData.h:105
Identifier
Definition: IdentifierFieldParser.cxx:14