]>
Commit | Line | Data |
---|---|---|
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 | #include <TObject.h> | |
7 | ||
8 | static const Int_t kMaxNofPoles = 5; | |
9 | static const Int_t kMaxNofSamples = 1024; | |
10 | ||
11 | class TString; | |
12 | ||
13 | class AliITSetfSDD : public TObject { | |
14 | ||
15 | //////////////////////////////////////////////////////////////////////// | |
16 | // Version: 0 | |
17 | // Written by Piergiorgio Cerello | |
18 | // November 24 1999 | |
19 | // | |
20 | // AliITSetfSDD is the class describing the electronics for the ITS SDDs. | |
21 | // | |
22 | //////////////////////////////////////////////////////////////////////// | |
23 | ||
24 | public: | |
25 | ||
26 | AliITSetfSDD() {}; // default constructor | |
27 | AliITSetfSDD(Double_t timestep, Int_t amplif); | |
28 | ~AliITSetfSDD() {;} | |
29 | Double_t GetWeightReal(Int_t n) { return fWR[n]; } | |
30 | Double_t GetWeightImag(Int_t n) { return fWI[n]; } | |
31 | Double_t GetTraFunReal(Int_t n) { return fTfR[n]; } | |
32 | Double_t GetTraFunImag(Int_t n) { return fTfI[n]; } | |
33 | Int_t GetSamples() { return kMaxNofSamples; } | |
34 | Float_t GetTimeDelay() { return fTimeDelay; } | |
35 | void PrintElectronics(); // Print Electronics parameters | |
36 | ||
37 | private: | |
38 | ||
39 | Float_t fTimeDelay; // Time delay caused by the amplifier shaping | |
40 | Double_t fSamplingTime; // | |
41 | Double_t fT0; // | |
42 | Double_t fDf; // | |
43 | Double_t fA0; // | |
44 | Double_t fZeroM[kMaxNofPoles]; // | |
45 | Double_t fZeroR[kMaxNofPoles]; // | |
46 | Double_t fZeroI[kMaxNofPoles]; // | |
47 | Double_t fPoleM[kMaxNofPoles]; // | |
48 | Double_t fPoleR[kMaxNofPoles]; // | |
49 | Double_t fPoleI[kMaxNofPoles]; // | |
50 | Double_t fTfR[kMaxNofSamples]; // Transfer function (real part) | |
51 | Double_t fTfI[kMaxNofSamples]; // Transfer function (imaginary part) | |
52 | Double_t fWR[kMaxNofSamples]; // Fourier Weights (real part) | |
53 | Double_t fWI[kMaxNofSamples]; // Fourier Weights (imaginary part) | |
54 | ||
55 | ClassDef(AliITSetfSDD,1) // Class for SDD electornics | |
56 | }; | |
57 | ||
58 | #endif | |
59 | ||
60 |