]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSBadChannelsSSD.h
Further fixes to the par file generation
[u/mrichter/AliRoot.git] / ITS / AliITSBadChannelsSSD.h
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     void SetNBadPChannelsList(Int_t n) { fBadPChannelsList.Set(n); }
18     void AddBadPChannel(Int_t c, Int_t n) { fBadPChannelsList.AddAt(n,c);}
19     TArrayI GetBadPChannelsList() const {return fBadPChannelsList; }
20     void SetNBadNChannelsList(Int_t n) { fBadNChannelsList.Set(n); }
21     void AddBadNChannel(Int_t c, Int_t n) { fBadNChannelsList.AddAt(n,c);}
22     TArrayI GetBadNChannelsList() const {return fBadNChannelsList; }
23     //
24
25     void SetMod(UShort_t mod) {fMod = mod;}
26     UShort_t GetMod() { return fMod;}
27
28  protected:
29
30     UShort_t fMod;       // module number (from 0 to 1535). Needed by the preprocessor to 
31     //   extract the information from the Detector Algorithm
32     
33     TArrayI  fBadNChannelsList;  // list of P side dead channels
34     TArrayI  fBadPChannelsList;  // list of N side dead channels
35     
36  private:
37     AliITSBadChannelsSSD(const AliITSBadChannelsSSD &source); // copy constructor
38     AliITSBadChannelsSSD& operator=(const AliITSBadChannelsSSD &source); // ass. op.
39
40     ClassDef(AliITSBadChannelsSSD,1) //Response class for SSD
41 };
42 #endif