3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 ////////////////////////////////////////////////////////////////////////
9 // Written by Piergiorgio Cerello //
10 // November 24 1999 //
12 // AliITSetfSDD is the class describing //
13 // the electronics for the ITS SDDs. //
14 ////////////////////////////////////////////////////////////////////////
21 class AliITSetfSDD : public TObject {
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 {
37 static Int_t NumberOfPoles() {return fgkMaxNofPoles;}
38 static Int_t NumberOfSamples(){return fgkMaxNofSamples;}
40 static const Int_t fgkMaxNofPoles; // Set to 5 in impl. file
41 static const Int_t fgkMaxNofSamples; // Set to 1024 in impl. file
43 static Int_t GetSamples() { return AliITSetfSDDparam::NumberOfSamples(); }
46 // copy constructor (NO copy allowed: the constructor is protected
48 AliITSetfSDD(const AliITSetfSDD& obj);
49 // assignment operator (NO assignment allowed)
50 AliITSetfSDD& operator=(const AliITSetfSDD& /* obj */);
52 Float_t fTimeDelay; // Time delay caused by the amplifier shaping
53 Double_t fSamplingTime; // time step in ns
55 Double_t fDf; // Frequency
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)
68 ClassDef(AliITSetfSDD,1) // Class for SDD electornics