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