]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSetfSDD.h
negative indexes allowed
[u/mrichter/AliRoot.git] / ITS / AliITSetfSDD.h
index d60c09198d4b74beb2a4284b704341188f4726f6..fb7466ed5c9cc74651af3c30965abd1c97179e71 100644 (file)
@@ -3,8 +3,15 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
+/* $Id$ */
+
 #include <TObject.h>
 
+static const Int_t kMaxNofPoles = 5;
+static const Int_t kMaxNofSamples = 1024;
+
+class TString;
+
 class AliITSetfSDD : public TObject {
 
 ////////////////////////////////////////////////////////////////////////
@@ -19,34 +26,33 @@ class AliITSetfSDD : public TObject {
  public:
     
   AliITSetfSDD() {};                 // default constructor
-  AliITSetfSDD(Double_t timestep);
+  AliITSetfSDD(Double_t timestep, Int_t amplif);
   ~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; }
+  Int_t GetSamples() { return kMaxNofSamples; }
+  Float_t GetTimeDelay() { return fTimeDelay; }
   void PrintElectronics();          // Print Electronics parameters  
 
- private:
+ protected:
 
-  static const Int_t fkMaxNofPoles = 5;
-  static const Int_t fkMaxNofSamples = 1024;
-  
+  Float_t  fTimeDelay;         //  Time delay caused by the amplifier shaping
   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)
+  Double_t fZeroM[kMaxNofPoles];  // 
+  Double_t fZeroR[kMaxNofPoles];  // 
+  Double_t fZeroI[kMaxNofPoles];  // 
+  Double_t fPoleM[kMaxNofPoles];  // 
+  Double_t fPoleR[kMaxNofPoles];  // 
+  Double_t fPoleI[kMaxNofPoles];  // 
+  Double_t fTfR[kMaxNofSamples];     // Transfer function (real part)
+  Double_t fTfI[kMaxNofSamples];     // Transfer function (imaginary part)
+  Double_t fWR[kMaxNofSamples];     // Fourier Weights (real part)
+  Double_t fWI[kMaxNofSamples];     // Fourier Weights (imaginary part)
   
   ClassDef(AliITSetfSDD,1)  // Class for SDD electornics
     };