LCOV - code coverage report
Current view: top level - ITS/ITSbase - AliITSPedestalSSD.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 11 9.1 %
Date: 2016-06-14 17:26:59 Functions: 1 15 6.7 %

          Line data    Source code
       1             : #ifndef ALIITSPEDESTALSSD_H
       2             : #define ALIITSPEDESTALSSD_H
       3             :  
       4             : #include "TObject.h"
       5             : #include "TArrayF.h"
       6             : 
       7             : //////////////////////////////////////////////
       8             : // Author: Enrico Fragiacomo
       9             : // Date: 12/12/2007
      10             : //                                          //
      11             : //////////////////////////////////////////////
      12             : 
      13             : /* $Id$ */
      14             : 
      15             : class AliITSPedestalSSD : public TObject {
      16             : 
      17             :  public:
      18             : 
      19             :     AliITSPedestalSSD();
      20             :     virtual ~AliITSPedestalSSD();
      21             :     AliITSPedestalSSD(const AliITSPedestalSSD &source); // copy constructor
      22             :     AliITSPedestalSSD& operator=(const AliITSPedestalSSD &source); // ass. op.
      23             : 
      24           0 :     void SetNPedestalP(Int_t n) { fPedP.Set(n); }
      25           0 :     void AddPedestalP(Int_t c, Float_t n) { fPedP.AddAt(n,c);}       
      26           0 :     TArrayF GetPedestalP() const {return fPedP; }
      27           0 :     Float_t GetPedestalP(Int_t n) {return fPedP.At(n); }
      28           0 :     void SetNPedestalN(Int_t n) { fPedN.Set(n); }
      29           0 :     void AddPedestalN(Int_t c, Float_t n) { fPedN.AddAt(n,c);}
      30           0 :     TArrayF GetPedestalN() const {return fPedN; }
      31           0 :     Float_t GetPedestalN(Int_t n) {return fPedN.At(n); }
      32             : 
      33           0 :     void SetMod(UShort_t mod) {fMod = mod;}
      34           0 :     UShort_t GetMod() const { return fMod;}
      35             : 
      36             : protected:
      37             : 
      38             :   UShort_t fMod;       // module number (from 0 to 1535). Needed by the preprocessor to 
      39             :                        //   extract the information from the Detector Algorithm
      40             :   
      41             :   TArrayF fPedP;           // Pedestal for P side channels
      42             :   TArrayF fPedN;           // Pedestal for N side channels
      43             :   
      44             :  private:
      45             : 
      46         118 :     ClassDef(AliITSPedestalSSD,1) // Pedestal  class for SSD
      47             : };
      48             : #endif

Generated by: LCOV version 1.11