- AliITSetfSDD() {}; // default constructor
- AliITSetfSDD(Double_t timestep);
- ~AliITSetfSDD() {;}
- Double_t GetWeightReal(Int_t n) { return fWR[n]; }
- Double_t GetWeightImag(Int_t n) { return fWI[n]; }
- Double_t GetTraFunReal(Int_t n) { return fTfR[n]; }
- Double_t GetTraFunImag(Int_t n) { return fTfI[n]; }
- Int_t GetSamples() { return fkMaxNofSamples; }
- void PrintElectronics(); // Print Electronics parameters
-
- private:
-
- static const Int_t fkMaxNofPoles = 5;
- static const Int_t fkMaxNofSamples = 1024;
-
- Double_t fSamplingTime; //
- Double_t fT0; //
- Double_t fDf; //
- Double_t fA0; //
- Double_t fZeroM[fkMaxNofPoles]; //
- Double_t fZeroR[fkMaxNofPoles]; //
- Double_t fZeroI[fkMaxNofPoles]; //
- Double_t fPoleM[fkMaxNofPoles]; //
- Double_t fPoleR[fkMaxNofPoles]; //
- Double_t fPoleI[fkMaxNofPoles]; //
- Double_t fTfR[fkMaxNofSamples]; // Transfer function (real part)
- Double_t fTfI[fkMaxNofSamples]; // Transfer function (imaginary part)
- Double_t fWR[fkMaxNofSamples]; // Fourier Weights (real part)
- Double_t fWI[fkMaxNofSamples]; // Fourier Weights (imaginary part)
+ AliITSetfSDD(); // default constructor
+ AliITSetfSDD(Double_t timestep, Int_t amplif);
+ virtual ~AliITSetfSDD();
+ Double_t GetWeightReal(Int_t n) const { return fWR[n]; }
+ Double_t GetWeightImag(Int_t n) const { return fWI[n]; }
+ Double_t GetTraFunReal(Int_t n) const { return fTfR[n]; }
+ Double_t GetTraFunImag(Int_t n) const { return fTfI[n]; }
+ Float_t GetTimeDelay() const { return fTimeDelay; }
+ void PrintElectronics() const; // Print Electronics parameters
+ class AliITSetfSDDparam {
+ public :
+ static Int_t NumberOfPoles() {return fgkMaxNofPoles;}
+ static Int_t NumberOfSamples(){return fgkMaxNofSamples;}
+ private:
+ static const Int_t fgkMaxNofPoles; // Set to 5 in impl. file
+ static const Int_t fgkMaxNofSamples; // Set to 1024 in impl. file
+ };
+ static Int_t GetSamples() { return AliITSetfSDDparam::NumberOfSamples(); }
+ protected:
+
+ // copy constructor (NO copy allowed: the constructor is protected
+ // to avoid misuse)
+ AliITSetfSDD(const AliITSetfSDD& obj);
+ // assignment operator (NO assignment allowed)
+ AliITSetfSDD& operator=(const AliITSetfSDD& /* obj */);
+
+ Float_t fTimeDelay; // Time delay caused by the amplifier shaping
+ Double_t fSamplingTime; // time step in ns
+ Double_t fT0; // T0
+ Double_t fDf; // Frequency
+ Double_t fA0; // A0
+ Double_t *fZeroM; // ZeroM
+ Double_t *fZeroR; // ZeroR
+ Double_t *fZeroI; // ZeroI
+ Double_t *fPoleM; // PoleM
+ Double_t *fPoleR; // PoleR
+ Double_t *fPoleI; // PoleI
+ Double_t *fTfR; // Transfer function (real part)
+ Double_t *fTfI; // Transfer function (imaginary part)
+ Double_t *fWR; // Fourier Weights (real part)
+ Double_t *fWI; // Fourier Weights (imaginary part)