ATLAS Offline Software
Loading...
Searching...
No Matches
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>
17
18// default constructor
20 PixelRDORawData( Identifier(), 0) //call base-class constructor
21{}
22
23// Constructor with parameters:
24// offline hashId of the readout element,
25// the word
26Pixel1RawData::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.
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
PixelRDORawData(const Identifier rdoId, const unsigned int word)