]>
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 | $Log$ | |
7 | Revision 1.5.10.1 2002/06/10 17:51:15 hristov | |
8 | Merged with v3-08-02 | |
9 | ||
10 | Revision 1.6 2002/04/24 22:02:31 nilsen | |
11 | New SDigits and Digits routines, and related changes, (including new | |
12 | noise values). | |
13 | ||
14 | */ | |
15 | #include <TObject.h> | |
16 | ||
17 | static const Int_t kMaxNofPoles = 5; | |
18 | static const Int_t kMaxNofSamples = 1024; | |
19 | ||
20 | class TString; | |
21 | ||
22 | class AliITSetfSDD : public TObject { | |
23 | ||
24 | //////////////////////////////////////////////////////////////////////// | |
25 | // Version: 0 | |
26 | // Written by Piergiorgio Cerello | |
27 | // November 24 1999 | |
28 | // | |
29 | // AliITSetfSDD is the class describing the electronics for the ITS SDDs. | |
30 | // | |
31 | //////////////////////////////////////////////////////////////////////// | |
32 | ||
33 | public: | |
34 | ||
35 | AliITSetfSDD() {}; // default constructor | |
36 | AliITSetfSDD(Double_t timestep, Int_t amplif); | |
37 | ~AliITSetfSDD() {;} | |
38 | Double_t GetWeightReal(Int_t n) { return fWR[n]; } | |
39 | Double_t GetWeightImag(Int_t n) { return fWI[n]; } | |
40 | Double_t GetTraFunReal(Int_t n) { return fTfR[n]; } | |
41 | Double_t GetTraFunImag(Int_t n) { return fTfI[n]; } | |
42 | Int_t GetSamples() { return kMaxNofSamples; } | |
43 | Float_t GetTimeDelay() { return fTimeDelay; } | |
44 | void PrintElectronics(); // Print Electronics parameters | |
45 | ||
46 | protected: | |
47 | ||
48 | Float_t fTimeDelay; // Time delay caused by the amplifier shaping | |
49 | Double_t fSamplingTime; // | |
50 | Double_t fT0; // | |
51 | Double_t fDf; // | |
52 | Double_t fA0; // | |
53 | Double_t fZeroM[kMaxNofPoles]; // | |
54 | Double_t fZeroR[kMaxNofPoles]; // | |
55 | Double_t fZeroI[kMaxNofPoles]; // | |
56 | Double_t fPoleM[kMaxNofPoles]; // | |
57 | Double_t fPoleR[kMaxNofPoles]; // | |
58 | Double_t fPoleI[kMaxNofPoles]; // | |
59 | Double_t fTfR[kMaxNofSamples]; // Transfer function (real part) | |
60 | Double_t fTfI[kMaxNofSamples]; // Transfer function (imaginary part) | |
61 | Double_t fWR[kMaxNofSamples]; // Fourier Weights (real part) | |
62 | Double_t fWI[kMaxNofSamples]; // Fourier Weights (imaginary part) | |
63 | ||
64 | ClassDef(AliITSetfSDD,1) // Class for SDD electornics | |
65 | }; | |
66 | ||
67 | #endif | |
68 | ||
69 |