]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDv2.h
Provides digitization
[u/mrichter/AliRoot.git] / TRD / AliTRDv2.h
index 22c1022afce6dff2205341b4e8f1b20e72a6d8b9..a2ce97195e0e408cc76eed2d05da11648b169f99 100644 (file)
@@ -1,52 +1,37 @@
-#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 AliTRDv1 {
 
-class AliTRDv2 : public AliTRD {
+ public:
 
-public:
-  AliTRDv2() {}
+  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  SetSensPlane(Int_t iplane = 0);
-  virtual void  SetSensChamber(Int_t ichamber = 0);
-  virtual void  SetSensSector(Int_t isector = 0);
-  virtual void  Init();
-
-protected:
-  Int_t        fIdSens;          // Sensitive volume identifier
-
-  Int_t        fIdSpace1;        // Spaceframe volume identifier
-  Int_t        fIdSpace2;        // 
-  Int_t        fIdSpace3;        // 
-
-  Int_t        fIdChamber1;      // Driftchamber volume identifier
-  Int_t        fIdChamber2;      // 
-  Int_t        fIdChamber3;      // 
-
-  Int_t        fSensSelect;      // Switch to select only parts of the detector
-  Int_t        fSensPlane;       // Sensitive detector plane
-  Int_t        fSensChamber;     // Sensitive detector chamber
-  Int_t        fSensSector;      // Sensitive detector sector
-
-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)
 
 };