AliRoot Core  3abf5b4 (3abf5b4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONVRawStreamTrigger.h
Go to the documentation of this file.
1 #ifndef ALIMUONVRAWSTREAMTRIGGER_H
2 #define ALIMUONVRAWSTREAMTRIGGER_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 
13 // MUON trigger decoders must derive from this base class.
14 //
15 // Author Artur Szostak <artursz@iafrica.com>
16 
17 #include <TObject.h>
18 #include "AliMUONRawStream.h"
19 
20 class TArrayS;
21 class AliRawReader;
22 class AliMUONDDLTrigger;
23 
25 {
26 public:
28  AliMUONVRawStreamTrigger(AliRawReader* rawReader);
29  virtual ~AliMUONVRawStreamTrigger();
30 
32  virtual Bool_t Next(UChar_t& id, UChar_t& dec, Bool_t& trigY,
33  UChar_t& yPos, UChar_t& sXDev, UChar_t& xDev,
34  UChar_t& xPos, Bool_t& triggerY, Bool_t& triggerX,
35  TArrayS& xPattern, TArrayS& yPattern) = 0;
36 
38  virtual AliMUONDDLTrigger* GetDDLTrigger() const = 0;
39 
41  virtual Int_t GetMaxDDL() const = 0;
43  virtual Int_t GetMaxReg() const = 0;
45  virtual Int_t GetMaxLoc() const = 0;
46 
48  virtual void SetMaxLoc(Int_t loc) = 0;
49 
51  virtual Int_t GetDDL() const = 0;
52 
54  virtual void DisableWarnings() = 0;
55 
58  {
61  kRegEoWErr = 8,
63  };
64 
65 private:
70 
71  ClassDef(AliMUONVRawStreamTrigger, 0) // Base class for MUON trigger rawdata decoders.
72 };
73 
74 #endif // ALIMUONVRAWSTREAMTRIGGER_H
virtual Int_t GetDDL() const =0
Return number of DDL.
virtual AliMUONDDLTrigger * GetDDLTrigger() const =0
Return pointer to DDL payload object.
virtual void SetMaxLoc(Int_t loc)=0
Should set the maximum number of local cards expected in the DDL stream.
virtual Int_t GetMaxReg() const =0
Return maximum number of regional cards in DATE file.
virtual Int_t GetMaxDDL() const =0
Return maximum number of DDLs.
Base class for reading MUON raw trigger data.
AliMUONVRawStreamTrigger & operator=(const AliMUONVRawStreamTrigger &stream)
Not implemented.
virtual void DisableWarnings()=0
Disable Warnings.
virtual Int_t GetMaxLoc() const =0
Return maximum number of local cards in DATE file.
MUON DDL Trigger.
Base class for reading MUON raw digits.
virtual Bool_t Next(UChar_t &id, UChar_t &dec, Bool_t &trigY, UChar_t &yPos, UChar_t &sXDev, UChar_t &xDev, UChar_t &xPos, Bool_t &triggerY, Bool_t &triggerX, TArrayS &xPattern, TArrayS &yPattern)=0
Advance one step in the iteration. Returns false if finished.