1 #ifndef ALIITSNOISESSD_H
2 #define ALIITSNOISESSD_H
7 //////////////////////////////////////////////
8 // Author: Enrico Fragiacomo
11 //////////////////////////////////////////////
12 class AliITSNoiseSSD : public TObject {
17 virtual ~AliITSNoiseSSD();
18 AliITSNoiseSSD(const AliITSNoiseSSD &source); // copy constructor
19 AliITSNoiseSSD& operator=(const AliITSNoiseSSD &source); // ass. op.
21 void SetNNoiseP(Int_t n) { fNoisP.Set(n); }
22 void AddNoiseP(Int_t c, Float_t n) { fNoisP.AddAt(n,c);}
23 TArrayF GetNoiseP() const {return fNoisP; }
24 Float_t GetNoiseP(Int_t n) {return fNoisP.At(n); }
25 void SetNNoiseN(Int_t n) { fNoisN.Set(n); }
26 void AddNoiseN(Int_t c, Float_t n) { fNoisN.AddAt(n,c);}
27 TArrayF GetNoiseN() const {return fNoisN; }
28 Float_t GetNoiseN(Int_t n) {return fNoisN.At(n); }
30 void SetMod(UShort_t mod) {fMod = mod;}
31 UShort_t GetMod() { return fMod;}
35 UShort_t fMod; // module number (from 0 to 1535). Needed by the preprocessor to
36 // extract the information from the Detector Algorithm
38 TArrayF fNoisP; // Noise for P side channels
39 TArrayF fNoisN; // Noise for N side channels
43 ClassDef(AliITSNoiseSSD,1) // Noise class for SSD