]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONDDLTracker.cxx
Additional protection in case of negative indexes. More investigation is needed
[u/mrichter/AliRoot.git] / MUON / AliMUONDDLTracker.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
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  **************************************************************************/
15  
16 #include "AliMUONDDLTracker.h"
17 #include "AliRawDataHeader.h"
18
19 ClassImp(AliMUONDDLTracker)
20  const Int_t AliMUONDDLTracker::fgkBlkHeaderLength = 8;
21  const Int_t AliMUONDDLTracker::fgkDspHeaderLength = 8;
22  const Int_t AliMUONDDLTracker::fgkEndOfDDL = 0x0FFFFFFFF;
23
24 //___________________________________________
25 AliMUONDDLTracker::AliMUONDDLTracker()
26   :  TObject(),
27      fTotalBlkLength(0),
28      fBlkLength(0),
29      fDSPId(0),
30      fPadding(0x0DEADDEAD),
31      fTotalDspLength(0),
32      fDspLength(0),
33      fDSPId1(0),
34      fEventWord(0) 
35 {
36   //ctor
37   for (Int_t i = 0; i < 4; i++)
38     fBlkTriggerWord[i] = fDspTriggerWord[i] = 0;
39 }