AliRoot Core  v5-06-15 (45dab64)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONVRawStreamTracker.h
Go to the documentation of this file.
1 #ifndef ALIMUONVRAWSTREAMTRACKER_H
2 #define ALIMUONVRAWSTREAMTRACKER_H
3 /* This file is property of and copyright by the ALICE HLT Project *
4  * ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice */
6 
7 /* $Id$*/
8 
15 
16 #include "AliMUONRawStream.h"
17 
18 class AliMUONDDLTracker;
19 
21 {
22 public:
23 
26 
28  AliMUONVRawStreamTracker(AliRawReader* rawReader);
29 
31  virtual ~AliMUONVRawStreamTracker();
32 
34  virtual Bool_t Next(Int_t& busPatchId,
35  UShort_t& manuId, UChar_t& manuChannel,
36  UShort_t& adc) = 0;
37 
39  virtual AliMUONDDLTracker* GetDDLTracker() const = 0;
40 
42  static Int_t GetMaxDDL() { return fgkMaxDDL; };
43 
45  virtual Int_t GetMaxBlock() const = 0;
47  virtual Int_t GetMaxDsp() const = 0;
49  virtual Int_t GetMaxBus() const = 0;
50 
52  virtual void SetMaxBlock(Int_t blk) = 0;
54  virtual void SetMaxDsp(Int_t dsp) = 0;
56  virtual void SetMaxBus(Int_t bus) = 0;
57 
59  virtual Int_t GetDDL() const = 0;
60 
62  virtual Bool_t IsErrorMessage() const = 0;
63 
66  {
67  kGlitchErr = 1,
70  };
71 
72 protected:
73 
74  static const Int_t fgkMaxDDL;
75 
76 private:
77 
78  // Do not allow copying of this class.
83 
84  ClassDef(AliMUONVRawStreamTracker, 0) // Base class for reading MUON raw digits from tracking chambers.
85 };
86 
87 #endif // ALIMUONVRAWSTREAMTRACKER_H
virtual AliMUONDDLTracker * GetDDLTracker() const =0
Return pointer to DDL payload object.
virtual Bool_t IsErrorMessage() const =0
check error/Warning presence
AliMUONVRawStreamTracker & operator=(const AliMUONVRawStreamTracker &stream)
Not implemented.
MUON DDL tracker.
virtual void SetMaxDsp(Int_t dsp)=0
Set maximum number of Dsp per block allowed.
virtual ~AliMUONVRawStreamTracker()
Default destructor.
virtual void SetMaxBus(Int_t bus)=0
Set maximum number of Buspatch per Dsp allowed.
virtual Int_t GetDDL() const =0
Return number of the current DDL.
virtual Int_t GetMaxBlock() const =0
Return maximum number of blocks per DDL allowed.
virtual Int_t GetMaxBus() const =0
Return maximum number of Buspatch per Dsp allowed.
static Int_t GetMaxDDL()
Return maximum number of DDLs.
This class is the base class for raw stream decoders than need to deal with raw data coming from the ...
AliMUONVRawStreamTracker()
Default constructor.
virtual Bool_t Next(Int_t &busPatchId, UShort_t &manuId, UChar_t &manuChannel, UShort_t &adc)=0
Advance one step in the iteration. Returns false if finished.
virtual void SetMaxBlock(Int_t blk)=0
Set maximum number of blocks per DDL allowed.
static const Int_t fgkMaxDDL
! maximum number of DDLs
virtual Int_t GetMaxDsp() const =0
Return maximum number of Dsp per block allowed.
Base class for reading MUON raw digits.