Added description for the new analysis macros
[u/mrichter/AliRoot.git] / MUON / AliMUONPayloadTrigger.h
CommitLineData
939ae4b2 1#ifndef ALIMUONPAYLOADTRIGGER_H
2#define ALIMUONPAYLOADTRIGGER_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/*$Id$*/
7
8/// \ingroup raw
9/// \class AliMUONPayloadTrigger
10/// \brief Class for decoding trigger rawdata
11///
12/// \author Christian Finck
13///
14///////////////////////////////////////////////////////////////////////////////
15///
16/// This class decode the payload for trigger raw data.
17///
18///////////////////////////////////////////////////////////////////////////////
19
20#include <TObject.h>
21#include <TClonesArray.h>
22
23class AliMUONDDLTrigger;
24class AliMUONLocalStruct;
25class AliMUONRegHeader;
26
27class AliMUONPayloadTrigger: public TObject {
28 public :
29 AliMUONPayloadTrigger();
30 AliMUONPayloadTrigger(const AliMUONPayloadTrigger& stream);
31 AliMUONPayloadTrigger& operator = (const AliMUONPayloadTrigger& stream);
32 virtual ~AliMUONPayloadTrigger();
33
34 Bool_t Decode(UInt_t *buffer);
35 void ResetDDL();
36
37 Int_t GetMaxReg() const {return fMaxReg;}
38 Int_t GetMaxLoc() const {return fMaxLoc;}
39
40
41 void SetMaxReg(Int_t reg);
42 void SetMaxLoc(Int_t loc);
43
44 AliMUONLocalStruct* GetLocalInfo() const {return fLocalStruct;}
45 AliMUONRegHeader* GetRegHeader() const {return fRegHeader;}
46 AliMUONDDLTrigger* GetDDLTrigger() const {return fDDLTrigger;}
47
48 protected :
49
50 Int_t fMaxReg; ///< maximum number of regional cards in DATE file
51 Int_t fMaxLoc; ///< maximum number of local cards in DATE file
52
53 AliMUONDDLTrigger* fDDLTrigger; //!< pointer for DDL structure
54 AliMUONRegHeader* fRegHeader; //!< pointer for regional structure
55 AliMUONLocalStruct* fLocalStruct; //!< pointer to local structure
56
57 ClassDef(AliMUONPayloadTrigger, 1) // base class for reading MUON trigger rawdata
58};
59
60#endif