]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONDspHeader.h
In MUONRecoCheck:
[u/mrichter/AliRoot.git] / MUON / AliMUONDspHeader.h
index 856aa7502de3a0a34713e03282cfd5413a3f4300..5148980bdbac462e2696b868cfd16ea777002275 100644 (file)
@@ -26,49 +26,76 @@ public:
    virtual ~AliMUONDspHeader();
 
    // DSP header
+           /// Return Data key word for FRT header
    Int_t   GetDataKey()        const {return fDataKey;}
+           /// Return total length of block structure
    Int_t   GetTotalLength()    const {return fTotalLength;}
+           /// Return length of raw data
    Int_t   GetLength()         const {return fLength;}
+           /// Return Dsp id
    Int_t   GetDspId()          const {return fDspId;}
+           /// Return L1 accept in Block Structure (CRT)
    Int_t   GetBlkL1ATrigger()  const {return fBlkL1ATrigger;}
+           /// Return Mini Event Id in bunch crossing
    Int_t   GetMiniEventId()    const {return fMiniEventId;}
+           /// Return Number of L1 accept in DSP Structure (FRT)
    Int_t   GetL1ATrigger()     const {return fL1ATrigger;}
+           /// Return Number of L1 reject in DSP Structure (FRT)
    Int_t   GetL1RTrigger()     const {return fL1RTrigger;}
+           /// Return padding dummy word for 64 bits transfer
    UInt_t  GetPaddingWord()    const {return fPaddingWord;}
+           /// Return Error word
    Int_t   GetErrorWord()      const {return fErrorWord;}
 
+           /// Return header length
    Int_t   GetHeaderLength()   const {return fgkHeaderLength;}
+           /// Return default data key word for FRT header
    UInt_t  GetDefaultDataKey() const {return fgkDefaultDataKey;}
+           /// Return default padding word value
    UInt_t  GetDefaultPaddingWord() const {return fgkDefaultPaddingWord;}
 
+           /// Set Data key word for FRT header
    void    SetDataKey(Int_t d)        {fDataKey = d;}
+           /// Set total length of block structure
    void    SetTotalLength(Int_t l)    {fTotalLength = l;}
+           /// Set length of raw data
    void    SetLength(Int_t l)         {fLength = l;}
+           /// Set Dsp id
    void    SetDspId(Int_t d)          {fDspId = d;}  
+           /// Set L1 accept in Block Structure (CRT)
    void    SetBlkL1ATrigger(Int_t l1) {fBlkL1ATrigger = l1;}
+           /// Set Mini Event Id in bunch crossing
    void    SetMiniEventId(Int_t id)   {fMiniEventId = id;}
+           /// Set Number of L1 accept in DSP Structure (FRT)
    void    SetL1ATrigger(Int_t l1a)   {fL1ATrigger = l1a;}
+           /// Set Number of L1 reject in DSP Structure (FRT)
    void    SetL1RTrigger(Int_t l1r)   {fL1RTrigger = l1r;}
+           /// Set padding dummy word for 64 bits transfer
    void    SetPaddingWord(UInt_t w)   {fPaddingWord = w;}
+           /// Set Error word
    void    SetErrorWord(Int_t w)      {fErrorWord = w;}
 
+           /// Return header
    Int_t*  GetHeader() {return &fDataKey;}
 
    void    AddBusPatch(const AliMUONBusStruct& busPatch);
 
-   // get TClonesArray
+   /// get TClonesArray
    TClonesArray*  GetBusPatchArray()  const {return fBusPatchArray;}
 
-   // get entries
+   /// get entries
    Int_t GetBusPatchEntries()  const {return fBusPatchArray->GetEntriesFast();}
 
-   // get entry
+   /// get entry
    AliMUONBusStruct* GetBusPatchEntry(Int_t i) const {
      return (AliMUONBusStruct*)fBusPatchArray->At(i);}
 
    // clear
    void Clear(Option_t* opt);
 
+   // print out
+   void Print(Option_t* /*opt*/) const;
+
  private:
 
    // Dsp header