1 #ifndef ALIITSPEDESTALSSD_H
2 #define ALIITSPEDESTALSSD_H
7 //////////////////////////////////////////////
8 // Author: Enrico Fragiacomo
11 //////////////////////////////////////////////
15 class AliITSPedestalSSD : public TObject {
20 virtual ~AliITSPedestalSSD();
21 AliITSPedestalSSD(const AliITSPedestalSSD &source); // copy constructor
22 AliITSPedestalSSD& operator=(const AliITSPedestalSSD &source); // ass. op.
24 void SetNPedestalP(Int_t n) { fPedP.Set(n); }
25 void AddPedestalP(Int_t c, Float_t n) { fPedP.AddAt(n,c);}
26 TArrayF GetPedestalP() const {return fPedP; }
27 Float_t GetPedestalP(Int_t n) {return fPedP.At(n); }
28 void SetNPedestalN(Int_t n) { fPedN.Set(n); }
29 void AddPedestalN(Int_t c, Float_t n) { fPedN.AddAt(n,c);}
30 TArrayF GetPedestalN() const {return fPedN; }
31 Float_t GetPedestalN(Int_t n) {return fPedN.At(n); }
33 void SetMod(UShort_t mod) {fMod = mod;}
34 UShort_t GetMod() { 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 fPedP; // Pedestal for P side channels
42 TArrayF fPedN; // Pedestal for N side channels
46 ClassDef(AliITSPedestalSSD,1) // Pedestal class for SSD