]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDv2.h
- Return from Gstpar if material is not used.
[u/mrichter/AliRoot.git] / TRD / AliTRDv2.h
index 420e028a81bd32d884c975e6e69d3e26b611c6a2..a2ce97195e0e408cc76eed2d05da11648b169f99 100644 (file)
@@ -1,39 +1,38 @@
-#ifndef TRDv2_H
-#define TRDv2_H
+#ifndef ALITRDV2_H
+#define ALITRDV2_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
 ////////////////////////////////////////////////////////
-//  Manager and hits classes for set:TRD version 2    //
+//  Manager and hits classes for set: TRD version 2   //
 ////////////////////////////////////////////////////////
-#include <TF1.h> 
-#include "AliTRD.h"
 
-// Energy spectrum of the delta-rays 
-Double_t Ermilova(Double_t *x, Double_t *par);
+#include "AliTRDv1.h"
 
-class AliTRDv2 : public AliTRD {
+//_____________________________________________________________________________
+class AliTRDv2 : public AliTRDv1 {
 
-public:
-  AliTRDv2() {}
+ public:
+
+  AliTRDv2();
   AliTRDv2(const char *name, const char *title);
-  virtual      ~AliTRDv2();
-  virtual void  CreateGeometry();
-  virtual void  CreateMaterials();
-  virtual Int_t IsVersion() const {return 2;}
-  virtual void  StepManager();
-  virtual void  Init();
-  virtual void  DrawModule();
-
-protected:
-  Int_t        fIdSensI[ncham];  // Sensitive volume identifier (inner chambers)
-  Int_t        fIdSensN[ncham];  // Sensitive volume identifier (neighbouring chambers)
-  Int_t        fIdSensO[ncham];  // Sensitive volume identifier (outer chambers)
-
-private:
-  virtual Double_t BetheBloch(Double_t bg);
-
-  TF1         *fDeltaE;          // Energy distribution of the delta-electrons
-  
-  ClassDef(AliTRDv2,1)           // Transition Radiation Detector version 2
+  AliTRDv2(const AliTRDv2 &trd);
+  virtual ~AliTRDv2();
+  AliTRDv2 &operator=(const AliTRDv2 &trd);
+
+  virtual void       Copy(TObject &trd);
+  virtual void       CreateGeometry();
+  virtual void       CreateMaterials();
+  virtual Int_t      IsVersion() const          { return 2; };
+
+ protected:
+
+ private:
+   
+  ClassDef(AliTRDv2,1) // Transition Radiation Detector version 2 (slow simulator,detailed geometry)
+
 };
 
 #endif