]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDCommonParam.h
Modifications needed to do the following:
[u/mrichter/AliRoot.git] / TRD / AliTRDCommonParam.h
index e5dfae643727c5a0b5d59bf103b9fb9780c7589e..43ff2dd99ba38eca7c75f895f60939bbf08ec138 100644 (file)
@@ -29,18 +29,13 @@ class AliTRDCommonParam : public TObject
     
     void SetField(Float_t field)                        { fField          = field;    };
     
-    virtual void     SetExB(Int_t exbOn = 1)                        { fExBOn          = exbOn;    };
-    
-    virtual void     SetPadResponse(Int_t prfOn = 1)                { fPRFOn          = prfOn;    };
+    void     SetExB(Int_t exbOn = 1)                        { fExBOn          = exbOn;    };
     
     Float_t  GetField()                               const { return fField; };
     
     Bool_t   ExBOn()                                  const { return fExBOn;         };
     
-    Bool_t   PRFOn()                                  const { return fPRFOn;         };
-    virtual Int_t     PadResponse(Double_t signal, Double_t dist, Int_t plane, Double_t *pad) const;
-    
-    virtual AliTRDpadPlane *GetPadPlane(Int_t p, Int_t c) const;
+    AliTRDpadPlane *GetPadPlane(Int_t p, Int_t c) const;
     Int_t    GetRowMax(Int_t p, Int_t c, Int_t /*s*/) const;
     Int_t    GetColMax(Int_t p) const;
     Double_t GetRow0(Int_t p, Int_t c, Int_t /*s*/) const;
@@ -51,28 +46,19 @@ class AliTRDCommonParam : public TObject
     static Bool_t fgTerminated;               // Defines if this class has already been terminated and therefore does not return instances in GetInstance anymore
     
     void Init();
-    void SamplePRF();
     
     Float_t              fField;                              //  Magnetic field
     
     Int_t                fExBOn;                              //  Switch for the ExB effects
-    
-    Int_t                fPRFOn;                              //  Switch for the pad response
-    Float_t             *fPRFsmp;                             //! Sampled pad response
-    Int_t                fPRFbin;                             //  Number of bins for the PRF
-    Float_t              fPRFlo;                              //  Lower boundary of the PRF
-    Float_t              fPRFhi;                              //  Higher boundary of the PRF
-    Float_t              fPRFwid;                             //  Bin width of the sampled PRF
-    Int_t                fPRFpad;                             //  Distance to next pad in PRF
   
-    TObjArray  *fPadPlaneArray;                      //  Array of pad plane objects
+    TObjArray  *fPadPlaneArray;                               //!  Array of pad plane objects
   
   private:
     // this is a singleton, constructor is private!  
     AliTRDCommonParam();
-    ~AliTRDCommonParam();
+    virtual ~AliTRDCommonParam();
   
-    ClassDef(AliTRDCommonParam, 0)
+    ClassDef(AliTRDCommonParam, 1)
 };
 
 #endif