store also difference in local Y
[u/mrichter/AliRoot.git] / ITS / AliITSPedestalSSD.h
CommitLineData
a5edfa6f 1#ifndef ALIITSPEDESTALSSD_H
2#define ALIITSPEDESTALSSD_H
3
6f67f5b3 4#include "TObject.h"
88128115 5#include "TArrayF.h"
6
a5edfa6f 7//////////////////////////////////////////////
8// Author: Enrico Fragiacomo
88128115 9// Date: 12/12/2007
a5edfa6f 10// //
11//////////////////////////////////////////////
88128115 12
13/* $Id$ */
a5edfa6f 14
15class AliITSPedestalSSD : public TObject {
16
17 public:
18
19 AliITSPedestalSSD();
20 virtual ~AliITSPedestalSSD();
21 AliITSPedestalSSD(const AliITSPedestalSSD &source); // copy constructor
22 AliITSPedestalSSD& operator=(const AliITSPedestalSSD &source); // ass. op.
23
88128115 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); }
32
33 void SetMod(UShort_t mod) {fMod = mod;}
7ab0e0a5 34 UShort_t GetMod() const { return fMod;}
88128115 35
36protected:
37
38 UShort_t fMod; // module number (from 0 to 1535). Needed by the preprocessor to
39 // extract the information from the Detector Algorithm
40
41 TArrayF fPedP; // Pedestal for P side channels
42 TArrayF fPedN; // Pedestal for N side channels
43
ced4d9bc 44 private:
88128115 45
46 ClassDef(AliITSPedestalSSD,1) // Pedestal class for SSD
47};
a5edfa6f 48#endif