LCOV - code coverage report
Current view: top level - ITS/ITSbase - AliITSBadChannelsSSD.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 ALIITSBADCHANNELSSSD_H
       2             : #define ALIITSBADCHANNELSSSD_H
       3             :  
       4             : #include "TObjArray.h"
       5             : #include "TArrayI.h"
       6             : 
       7             : //////////////////////////////////////////////
       8             : // Response class for SSD                   //
       9             : //                                          //
      10             : //////////////////////////////////////////////
      11             : class AliITSBadChannelsSSD : public TObject {
      12             : 
      13             :  public:
      14             :     AliITSBadChannelsSSD();
      15             :     virtual ~AliITSBadChannelsSSD();
      16             : 
      17           0 :     void SetNBadPChannelsList(Int_t n) { fBadPChannelsList.Set(n); }
      18           0 :     void AddBadPChannel(Int_t c, Int_t n) { fBadPChannelsList.AddAt(n,c);}
      19           0 :     TArrayI GetBadPChannelsList() const {return fBadPChannelsList; }
      20           0 :     Int_t GetBadPChannel(Int_t n) {return fBadPChannelsList.At(n); }
      21           0 :     void SetNBadNChannelsList(Int_t n) { fBadNChannelsList.Set(n); }
      22           0 :     void AddBadNChannel(Int_t c, Int_t n) { fBadNChannelsList.AddAt(n,c);}
      23           0 :     TArrayI GetBadNChannelsList() const {return fBadNChannelsList; }
      24           0 :     Int_t GetBadNChannel(Int_t n) {return fBadNChannelsList.At(n); }
      25             :     //
      26             : 
      27           0 :     void SetMod(UShort_t mod) {fMod = mod;}
      28           0 :     UShort_t GetMod() const { return fMod;}
      29             : 
      30             :  protected:
      31             : 
      32             :     UShort_t fMod;       // module number (from 0 to 1535). Needed by the preprocessor to 
      33             :     //   extract the information from the Detector Algorithm
      34             :     
      35             :     TArrayI  fBadNChannelsList;  // list of P side dead channels
      36             :     TArrayI  fBadPChannelsList;  // list of N side dead channels
      37             :     
      38             :  private:
      39             :     AliITSBadChannelsSSD(const AliITSBadChannelsSSD &source); // copy constructor
      40             :     AliITSBadChannelsSSD& operator=(const AliITSBadChannelsSSD &source); // ass. op.
      41             : 
      42         118 :     ClassDef(AliITSBadChannelsSSD,1) //Response class for SSD
      43             : };
      44             : #endif

Generated by: LCOV version 1.11