1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
17 #include "AliPMDBlockHeader.h"
21 ClassImp(AliPMDBlockHeader)
24 const Int_t AliPMDBlockHeader::fgkHeaderLength = 8;
26 //------------------------------------------------------------
27 AliPMDBlockHeader::AliPMDBlockHeader()
44 //___________________________________________
45 AliPMDBlockHeader::~AliPMDBlockHeader()
52 //___________________________________________
53 AliPMDBlockHeader::AliPMDBlockHeader(const AliPMDBlockHeader & blockh):
55 fTotalLength(blockh.fTotalLength),
56 fRawDataLength(blockh.fRawDataLength),
57 fDspId(blockh.fDspId),
58 fTrWord1(blockh.fTrWord1),
59 fTrWord2(blockh.fTrWord2),
60 fTrWord3(blockh.fTrWord3),
61 fTrWord4(blockh.fTrWord4),
62 fPadWord(blockh.fPadWord)
70 //___________________________________________
72 AliPMDBlockHeader::operator=(const AliPMDBlockHeader &blockh)
75 // assignment operator
79 fTotalLength = blockh.fTotalLength;
80 fRawDataLength = blockh.fRawDataLength;
81 fDspId = blockh.fDspId;
82 fTrWord1 = blockh.fTrWord1;
83 fTrWord2 = blockh.fTrWord2;
84 fTrWord3 = blockh.fTrWord3;
85 fTrWord4 = blockh.fTrWord4;
86 fPadWord = blockh.fPadWord;
90 void AliPMDBlockHeader::SetHeader(Int_t *header)
92 fTotalLength = header[0];
93 fRawDataLength = header[1];