ATLAS Offline Software
InnerDetector
InDetRawEvent
InDetRawData
src
Pixel1RawData.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
// Pixel1RawData.cxx
7
// Implementation file for class Pixel1RawData
9
// (c) ATLAS Detector software
11
// Version 1.0 13/08/2002 Veronique Boisvert
13
14
#include <new>
15
#include "
InDetRawData/Pixel1RawData.h
"
16
#include "
InDetRawData/PixelRDORawData.h
"
17
18
// default constructor
19
Pixel1RawData::Pixel1RawData
() :
20
PixelRDORawData
(
Identifier
(), 0)
//call base-class constructor
21
{}
22
23
// Constructor with parameters:
24
// offline hashId of the readout element,
25
// the word
26
Pixel1RawData::Pixel1RawData
(
const
Identifier
rdoId,
const
unsigned
int
word) :
27
PixelRDORawData
( rdoId, word)
//call base-class constructor
28
{}
29
30
// Constructor with full parameter list:
31
// offline compact id of the readout channel
32
// ToT,
33
// BCO ID,
34
// LVL1 accept,
35
// ATLAS wide LVL1
36
// It calls base class constructor, after packing the data.
37
Pixel1RawData::Pixel1RawData
(
const
Identifier
rdoId,
38
const
unsigned
int
ToT,
39
const
unsigned
int
BCID
,
40
const
unsigned
int
LVL1ID
,
41
const
unsigned
int
LVL1A
42
) :
43
PixelRDORawData
(rdoId,
44
((ToT&0xFF)<<0)
45
+((
BCID
&0xFF)<<8)
46
+((
LVL1ID
&0xFF)<<16)
47
+((LVL1A&0xF)<<24) )
48
{}
49
Pixel1RawData::Pixel1RawData
Pixel1RawData()
Definition:
Pixel1RawData.cxx:19
PixelByteStreamErrors::BCID
@ BCID
Definition:
PixelByteStreamErrors.h:13
PixelRDORawData.h
Pixel1RawData.h
PixelRDORawData
Definition:
PixelRDORawData.h:23
PixelByteStreamErrors::LVL1ID
@ LVL1ID
Definition:
PixelByteStreamErrors.h:13
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Sun Dec 22 2024 21:16:17 for ATLAS Offline Software by
1.8.18