]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSetfSDD.h
Added new creator which passes a pointer to type AliRun. Can now use either
[u/mrichter/AliRoot.git] / ITS / AliITSetfSDD.h
1 #ifndef ITSETFSDD_H
2 #define ITSETFSDD_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5 /*
6 $Log$
7 */
8 #include <TObject.h>
9
10 static const Int_t kMaxNofPoles = 5;
11 static const Int_t kMaxNofSamples = 1024;
12
13 class TString;
14
15 class AliITSetfSDD : public TObject {
16
17 ////////////////////////////////////////////////////////////////////////
18 // Version: 0
19 // Written by Piergiorgio Cerello
20 // November 24 1999
21 //
22 // AliITSetfSDD is the class describing the electronics for the ITS SDDs. 
23 //
24 ////////////////////////////////////////////////////////////////////////
25   
26  public:
27     
28   AliITSetfSDD() {};                 // default constructor
29   AliITSetfSDD(Double_t timestep, Int_t amplif);
30   ~AliITSetfSDD() {;}  
31   Double_t GetWeightReal(Int_t n) { return fWR[n]; }
32   Double_t GetWeightImag(Int_t n) { return fWI[n]; }
33   Double_t GetTraFunReal(Int_t n) { return fTfR[n]; }
34   Double_t GetTraFunImag(Int_t n) { return fTfI[n]; }
35   Int_t GetSamples() { return kMaxNofSamples; }
36   Float_t GetTimeDelay() { return fTimeDelay; }
37   void PrintElectronics();          // Print Electronics parameters  
38
39  protected:
40
41   Float_t  fTimeDelay;         //  Time delay caused by the amplifier shaping
42   Double_t fSamplingTime;      //
43   Double_t fT0;                //
44   Double_t fDf;                //
45   Double_t fA0;                //
46   Double_t fZeroM[kMaxNofPoles];  // 
47   Double_t fZeroR[kMaxNofPoles];  // 
48   Double_t fZeroI[kMaxNofPoles];  // 
49   Double_t fPoleM[kMaxNofPoles];  // 
50   Double_t fPoleR[kMaxNofPoles];  // 
51   Double_t fPoleI[kMaxNofPoles];  // 
52   Double_t fTfR[kMaxNofSamples];     // Transfer function (real part)
53   Double_t fTfI[kMaxNofSamples];     // Transfer function (imaginary part)
54   Double_t fWR[kMaxNofSamples];     // Fourier Weights (real part)
55   Double_t fWI[kMaxNofSamples];     // Fourier Weights (imaginary part)
56   
57   ClassDef(AliITSetfSDD,1)  // Class for SDD electornics
58     };
59     
60 #endif
61   
62