ATLAS Offline Software
PixelTB04RawData.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // PixelTB04RawData.cxx
7 // Implementation file for class PixelTB04RawData
9 // (c) ATLAS Detector software
11 // Version 1.0 06/09/2004 Maria Jose Costa
13 
14 #include <new>
17 
18 // default constructor
20  PixelRDORawData( Identifier(), 0) //call base-class constructor
21 {
22  m_BCID=0;
23  m_LVL1ID=0;
24 }
25 
26 // Constructor with parameters:
28  const unsigned int word, const unsigned int BCID, const unsigned int LVL1ID) :
29  PixelRDORawData( rdoId, word) //call base-class constructor
30 {
31  m_BCID = BCID;
32  m_LVL1ID = LVL1ID;
33 }
34 
36  const unsigned int ToT, const unsigned int BCID, const unsigned int LVL1ID, const unsigned int LVL1A) :
37  PixelRDORawData( rdoId, (ToT&0xFF)+((LVL1A&0xF)<<8) ) //call base-class constructor
38 {
39  m_BCID = BCID;
40  m_LVL1ID = LVL1ID;
41 }
42 
43 // Destructor:
45 {}
46 
47 
48 
49 
50 
PixelByteStreamErrors::BCID
@ BCID
Definition: PixelByteStreamErrors.h:13
PixelRDORawData.h
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
PixelTB04RawData::m_LVL1ID
unsigned int m_LVL1ID
Definition: PixelTB04RawData.h:74
PixelTB04RawData.h
PixelTB04RawData::m_BCID
unsigned int m_BCID
Definition: PixelTB04RawData.h:73
PixelRDORawData
Definition: PixelRDORawData.h:23
PixelTB04RawData::~PixelTB04RawData
virtual ~PixelTB04RawData()
Definition: PixelTB04RawData.cxx:44
PixelTB04RawData::PixelTB04RawData
PixelTB04RawData()
Definition: PixelTB04RawData.cxx:19
PixelByteStreamErrors::LVL1ID
@ LVL1ID
Definition: PixelByteStreamErrors.h:13