1 #ifndef ALIITSGAINSSD_H
2 #define ALIITSGAINSSD_H
7 //////////////////////////////////////////////
8 // Author: Enrico Fragiacomo
11 //////////////////////////////////////////////
13 class AliITSGainSSD : public TObject {
18 virtual ~AliITSGainSSD();
20 void SetNGainP(Int_t n) { fGainP.Set(n); }
21 void AddGainP(Int_t c, Float_t n) { fGainP.AddAt(n,c);}
22 TArrayF GetGainP() const {return fGainP; }
23 Float_t GetGainP(Int_t n) {return fGainP.At(n); }
24 void SetNGainN(Int_t n) { fGainN.Set(n); }
25 void AddGainN(Int_t c, Float_t n) { fGainN.AddAt(n,c);}
26 TArrayF GetGainN() const {return fGainN; }
27 Float_t GetGainN(Int_t n) {return fGainN.At(n); }
29 void SetMod(UShort_t mod) {fMod = mod;}
30 UShort_t GetMod() const { return fMod;}
34 UShort_t fMod; // module number (from 0 to 1535). Needed by the preprocessor to
35 // extract the information from the Detector Algorithm
37 TArrayF fGainP; // Gain for P side channels
38 TArrayF fGainN; // Gain for N side channels
41 AliITSGainSSD(const AliITSGainSSD &source); // copy constructor
42 AliITSGainSSD& operator=(const AliITSGainSSD &source); // ass. op.
44 ClassDef(AliITSGainSSD,1) //Response class for SSD