]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSetfSDD.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / ITS / AliITSetfSDD.h
1 #ifndef ALIITSETFSDD_H
2 #define ALIITSETFSDD_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7 ////////////////////////////////////////////////////////////////////////
8 // Version: 0                                                         //
9 // Written by Piergiorgio Cerello                                     //
10 // November 24 1999                                                   //  
11 //                                                                    //
12 // AliITSetfSDD is the class describing                               //
13 // the electronics for the ITS SDDs.                                  //
14 ////////////////////////////////////////////////////////////////////////
15
16 #include <TObject.h>
17
18
19 class TString;
20
21 class AliITSetfSDD : public TObject {
22
23   
24  public:
25     
26   AliITSetfSDD();                 // default constructor
27   AliITSetfSDD(Double_t timestep, Int_t amplif); 
28   virtual ~AliITSetfSDD();  
29   Double_t GetWeightReal(Int_t n) const { return fWR[n]; }
30   Double_t GetWeightImag(Int_t n) const { return fWI[n]; }
31   Double_t GetTraFunReal(Int_t n) const { return fTfR[n]; }
32   Double_t GetTraFunImag(Int_t n) const { return fTfI[n]; }
33   Float_t GetTimeDelay() const { return fTimeDelay; }
34   void PrintElectronics() const; // Print Electronics parameters  
35   class AliITSetfSDDparam {
36     public :
37       static Int_t NumberOfPoles() {return fgkMaxNofPoles;}
38       static Int_t NumberOfSamples(){return fgkMaxNofSamples;}
39   private:
40       static const Int_t fgkMaxNofPoles; // Set to 5  in impl. file
41       static const Int_t fgkMaxNofSamples; // Set to 1024 in impl. file
42   };
43   static Int_t GetSamples() { return AliITSetfSDDparam::NumberOfSamples(); }
44  protected:
45
46   // copy constructor (NO copy allowed: the constructor is protected
47   // to avoid misuse)
48   AliITSetfSDD(const AliITSetfSDD& obj);
49   // assignment operator (NO assignment allowed)
50   AliITSetfSDD& operator=(const AliITSetfSDD& /* obj */);
51
52   Float_t  fTimeDelay;         //  Time delay caused by the amplifier shaping
53   Double_t fSamplingTime;      // time step in ns
54   Double_t fT0;                // T0
55   Double_t fDf;                // Frequency
56   Double_t fA0;                // A0
57   Double_t *fZeroM;            // ZeroM
58   Double_t *fZeroR;            // ZeroR
59   Double_t *fZeroI;            // ZeroI
60   Double_t *fPoleM;            // PoleM
61   Double_t *fPoleR;            // PoleR
62   Double_t *fPoleI;            // PoleI
63   Double_t *fTfR;     // Transfer function (real part)
64   Double_t *fTfI;     // Transfer function (imaginary part)
65   Double_t *fWR;     // Fourier Weights (real part)
66   Double_t *fWI;     // Fourier Weights (imaginary part)
67   
68   ClassDef(AliITSetfSDD,1)  // Class for SDD electornics
69     };
70     
71 #endif
72   
73