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