LCOV - code coverage report
Current view: top level - PMD/PMDbase - AliPMDBlockHeader.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 3 18 16.7 %
Date: 2016-06-14 17:26:59 Functions: 3 22 13.6 %

          Line data    Source code
       1             : #ifndef ALIPMDBLOCKHEADER_H
       2             : #define ALIPMDBLOCKHEADER_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>
       8             : 
       9             : class AliPMDBlockHeader : public TObject {
      10             : 
      11             : public:
      12             :    AliPMDBlockHeader();
      13             :    AliPMDBlockHeader(const AliPMDBlockHeader &blockh);
      14             :    AliPMDBlockHeader& operator=(const AliPMDBlockHeader &blockh);
      15             : 
      16             :    virtual ~AliPMDBlockHeader();
      17             : 
      18             :    // Block header
      19             : 
      20           0 :    void  SetDataKey(Int_t dkey)            {fDataKey = dkey;}
      21           0 :    void  SetTotalLength(Int_t totlength)   {fTotalLength = totlength;}
      22           0 :    void  SetRawDataLength(Int_t rawlength) {fRawDataLength = rawlength;}
      23           0 :    void  SetDspId(Int_t dspid)             {fDspId = dspid;}
      24           0 :    void  SetL0Trigger(Int_t trword1)       {fL0Trigger = trword1;}
      25           0 :    void  SetMiniEventId(Int_t trword2)     {fMiniEventId = trword2;}
      26           0 :    void  SetEventId1(Int_t trword3)        {fEventId1 = trword3;}
      27           0 :    void  SetEventId2(Int_t trword4)        {fEventId2 = trword4;}
      28             : 
      29             :    void  SetHeader(Int_t *header);
      30             : 
      31             : 
      32          64 :    Int_t GetHeaderLength()  const {return fgkHeaderLength;}
      33           0 :    Int_t GetDataKey()       const {return fDataKey;}
      34           0 :    Int_t GetTotalLength()   const {return fTotalLength;}
      35          64 :    Int_t GetRawDataLength() const {return fRawDataLength;}
      36           0 :    Int_t GetDspId()         const {return fDspId;}
      37           0 :    Int_t GetL0Trigger()     const {return fL0Trigger;}  
      38           0 :    Int_t GetMiniEventId()   const {return fMiniEventId;}  
      39           0 :    Int_t GetEventId1()      const {return fEventId1;}  
      40           0 :    Int_t GetEventId2()      const {return fEventId2;}  
      41             : 
      42             : 
      43             :  private:
      44             : 
      45             :    Int_t     fDataKey;        // Data key word for CRT header
      46             :    Int_t     fTotalLength;    // total length of block structure
      47             :    Int_t     fRawDataLength;  // length of raw data
      48             :    Int_t     fDspId;          // Dsp id
      49             :    Int_t     fL0Trigger;      // L0 trigger word
      50             :    Int_t     fMiniEventId;    // Bunch crossing for mini-event id
      51             :    Int_t     fEventId1;       // Event Id in bunch crossing
      52             :    Int_t     fEventId2;       // Event Id in orbit number
      53             : 
      54             :    static const Int_t fgkHeaderLength;   // header length in word
      55             : 
      56          12 :    ClassDef(AliPMDBlockHeader,1)  // PMD Block Header
      57             : };
      58             : #endif

Generated by: LCOV version 1.11