ATLAS Offline Software
Loading...
Searching...
No Matches
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;
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
35SCT_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
53SCT_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;
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_RDORawData(const Identifier rdoId, const unsigned int word)
float m_errorCondensedHit[20]
unsigned int m_onlineId
unsigned int m_event_count
unsigned int m_fragment_type
unsigned int m_word_error_count