ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_TB03_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_TB03_RawData.cxx
7// Implementation file for class SCT_TB03_RawData
9// (c) ATLAS Detector software
11// Version 1.0 11/12/2003 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_tbin = 0;
28 m_stream = 0;
29}
30
31// Constructor with parameters:
32SCT_TB03_RawData::SCT_TB03_RawData(const Identifier rdoId, const unsigned int word,
33 const unsigned int Event, const unsigned int FragmentIdentifier,
34 const unsigned int Size, const unsigned int WordErrorCount,
35 const unsigned int EventCount, const int tbin, const int stream) :
36 SCT_RDORawData( rdoId, word) //call base-class constructor
37{
38 m_event = Event;
39 m_fragment_type = FragmentIdentifier;
40 m_size = Size;
41 m_word_error_count = WordErrorCount;
42 m_event_count = EventCount;
43 m_tbin = tbin;
44 m_stream = stream;
45}
46
47//SCT_TB03_RawData *SCT_TB03_RawData::newObject(const Identifier rdoId, const unsigned int word)
48//{
49// SCT_TB03_RawData *p_rdo=0;
50
51 // create a new object and check
52// try {
53// p_rdo=new SCT_TB03_RawData(rdoId, word);
54// } catch (...) {
55// p_rdo=0;
56// }
57// return p_rdo;
58//}
59
SCT_RDORawData(const Identifier rdoId, const unsigned int word)
unsigned int m_event_count
unsigned int m_fragment_type
unsigned int m_event
unsigned int m_word_error_count
unsigned int m_size