]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDv1.h
Make some calculations optional for HLT
[u/mrichter/AliRoot.git] / TRD / AliTRDv1.h
index 65de0ad989aa742a964d03e890e86f7cf50e62f7..dd5b40524c0bea960ded2b41acb288ae9cb15a2c 100644 (file)
@@ -21,7 +21,7 @@ class TF1;
 class TTree;
 class TFile;
 
-class AliTRDsim;
+class AliTRDsimTR;
 
 //_____________________________________________________________________________
 class AliTRDv1 : public AliTRD {
@@ -30,11 +30,8 @@ class AliTRDv1 : public AliTRD {
 
   AliTRDv1();
   AliTRDv1(const char *name, const char *title);
-  AliTRDv1(const AliTRDv1 &trd);
   virtual ~AliTRDv1();
-  AliTRDv1 &operator=(const AliTRDv1 &trd);
 
-  virtual void     Copy(TObject &trd) const;
   virtual void     Init();
   virtual Int_t    IsVersion() const          { return 1;      }
 
@@ -44,39 +41,27 @@ class AliTRDv1 : public AliTRD {
   virtual void     CreateTRhit(Int_t det);
 
   virtual void     StepManager();
-          void     StepManagerErmilova();
-          void     StepManagerGeant();
-          void     StepManagerFixedStep();
-          void     SelectStepManager(Int_t t);
 
           void     SetStepSize(Double_t s)    { fStepSize = s; }
-          void     SetTR(Bool_t kTRUE)        { fTRon = kTRUE; }
+          void     SetTR(Bool_t)              { fTRon = kTRUE; }
 
           Bool_t   GetTR() const              { return fTRon;  }
-  AliTRDsim       *GetTRDsim() const          { return fTR;    }
+  AliTRDsimTR     *GetTRDsim() const          { return fTR;    }
 
  protected:
 
-          void    *StepManagerEntity();
-
           Bool_t   fTRon;               //  Switch for TR simulation
-  AliTRDsim       *fTR;                 //  TR simulator
+  AliTRDsimTR     *fTR;                 //  TR simulator
 
-          Int_t    fTypeOfStepManager;  //  Type of Step Manager.
           Double_t fStepSize;           //  Used for the fixed step size
+          Float_t  fWion;               //  Ionization potential
 
  private:
 
-          Double_t BetheBloch(Double_t bg);
-          Double_t BetheBlochGeant(Double_t bg);
-  
-          TF1     *fDeltaE;             //  Energy distribution of the delta-electrons (Ermilova)
-          TF1     *fDeltaG;             //  Energy distribution of the
-
-          Float_t  fTrackLength0;       //  Save the track length at chamber entrance  
-          Int_t           fPrimaryTrackPid;    //  Save the id of the primary track  
+  AliTRDv1(const AliTRDv1 &trd);
+  AliTRDv1 &operator=(const AliTRDv1 &trd);
 
-  ClassDef(AliTRDv1,5)                  //  Transition Radiation Detector version 1 (slow simulator)
+  ClassDef(AliTRDv1,8)                  //  Transition Radiation Detector version 1 (slow simulator)
 
 };