Doxygen configuration files (Initial version)
[u/mrichter/AliRoot.git] / MUON / AliMUONDDLTracker.h
CommitLineData
f6762c71 1#ifndef ALIMUONDDLTRACKER_H
2#define ALIMUONDDLTRACKER_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7#include <TObject.h>
69be760c 8#include "AliRawDataHeader.h"
9
f6762c71 10
11class AliMUONDDLTracker : public TObject {
12
13public:
14 AliMUONDDLTracker();
15 virtual ~AliMUONDDLTracker(){;}
16
69be760c 17 // Block header
18 Int_t GetTotalBlkLength() const {return fTotalBlkLength;}
19 Int_t GetBlkLength() const {return fBlkLength;}
20 Int_t GetDspId() const {return fDSPId;}
21 Int_t GetBlkTriggerWord(Int_t n) const {return fBlkTriggerWord[n];}
17323043 22 Int_t GetPadding() const {return fPadding;}
23 Int_t GetBlkHeaderLength() const {return fgkBlkHeaderLength;}
69be760c 24
25 void SetTotalBlkLength(Int_t l) {fTotalBlkLength = l;}
26 void SetBlkLength(Int_t l) {fBlkLength = l;}
27 void SetDSPId(Int_t d) {fDSPId = d;}
28 void SetBlkTriggerWord(Int_t w, Int_t n) {fBlkTriggerWord[n] = w;}
29
30 // DSP header
31 Int_t GetTotalDspLength() const {return fTotalDspLength;}
32 Int_t GetDspLength() const {return fDspLength;}
33 Int_t GetDspId1() const {return fDSPId1;}
34 Int_t GetDspTriggerWord(Int_t n) const {return fDspTriggerWord[n];}
35 Int_t GetEventWord() const {return fEventWord;}
36
37 void SetTotalDspLength(Int_t l) {fTotalDspLength = l;}
38 void SetDspLength(Int_t l) {fDspLength = l;}
39 void SetDSPId1(Int_t d) {fDSPId1 = d;}
40 void SetDspTriggerWord(Int_t w, Int_t n) {fDspTriggerWord[n] = w;}
41 void SetEventWord(Int_t w) {fEventWord = w;}
17323043 42 Int_t GetDspHeaderLength() const {return fgkDspHeaderLength;}
f6762c71 43
69be760c 44 Int_t* GetBlkHeader() {return &fTotalBlkLength;}
45 Int_t* GetDspHeader() {return &fTotalDspLength;}
f6762c71 46
69be760c 47 AliRawDataHeader GetHeader(){return fHeader;}
48 Int_t GetHeaderSize() {return sizeof(AliRawDataHeader)/4;} // in words
f6762c71 49
17323043 50 Int_t GetEoD() const {return fgkEndOfDDL;}
f6762c71 51
52 private:
f6762c71 53
69be760c 54 // block header
55 Int_t fTotalBlkLength; // total length of block structure
56 Int_t fBlkLength; // length of raw data
57 Int_t fDSPId; // Dsp id
58 Int_t fBlkTriggerWord[4]; // counter trigger word
59 Int_t fPadding; // padding dummy word for 64 bits transfer
c8f4be1a 60 static const Int_t fgkBlkHeaderLength; // header length in word
69be760c 61
62 // Dsp header
63 Int_t fTotalDspLength; // total length of block structure
64 Int_t fDspLength; // length of raw data
65 Int_t fDSPId1; // Dsp id ??
66 Int_t fDspTriggerWord[4]; // counter trigger word ?
67 Int_t fEventWord; // nb word odd = 1, even = 0
c8f4be1a 68 static const Int_t fgkDspHeaderLength; // header length
69be760c 69
c8f4be1a 70 static const Int_t fgkEndOfDDL; // end of DDL
69be760c 71
72
73 AliRawDataHeader fHeader; // header of DDL
74
75
f6762c71 76 ClassDef(AliMUONDDLTracker,1) // MUON DDL Tracker
77};
78#endif