]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDv1.h
Changed to Copy(TObject &A) to appease the HP-compiler
[u/mrichter/AliRoot.git] / TRD / AliTRDv1.h
index ffbeb81a88ccbba72556ed4c8aeac9805a2dfb7c..2745ecb8667ae5cfbdf3060b1e3e5179547aa7a3 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef TRDv1_H
-#define TRDv1_H
+#ifndef ALITRDV1_H
+#define ALITRDV1_H
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
@@ -21,12 +21,16 @@ class AliTRDv1 : public AliTRD {
 
  public:
 
-  AliTRDv1() {};
+  AliTRDv1();
   AliTRDv1(const char *name, const char *title);
-  ~AliTRDv1();
+  AliTRDv1(const AliTRDv1 &trd);
+  virtual ~AliTRDv1();
+  AliTRDv1 &operator=(const AliTRDv1 &trd);
+
+  virtual void    Copy(TObject &trd);
   virtual void    CreateGeometry();
   virtual void    CreateMaterials();
-  virtual Int_t   IsVersion() const { return 1; };
+  virtual Int_t   IsVersion() const    { return 1; };
   virtual void    StepManager();
   virtual void    Init();
 
@@ -35,9 +39,9 @@ class AliTRDv1 : public AliTRD {
           void    SetSensSector(Int_t isector);
           void    SetSensSector(Int_t isector, Int_t nsector);
 
-          Int_t   GetSensPlane()       { return fSensPlane;   };
-          Int_t   GetSensChamber()     { return fSensChamber; };
-          Int_t   GetSensSector()      { return fSensSector; };
+          Int_t   GetSensPlane()       { return fSensPlane;       };
+          Int_t   GetSensChamber()     { return fSensChamber;     };
+          Int_t   GetSensSector()      { return fSensSector;      };
           Int_t   GetSensSectorRange() { return fSensSectorRange; };
 
  protected:
@@ -45,8 +49,8 @@ class AliTRDv1 : public AliTRD {
   Int_t        fIdSens;                 // Sensitive volume identifier
 
   Int_t        fIdChamber1;             // Driftchamber volume identifier
-  Int_t        fIdChamber2;             // 
-  Int_t        fIdChamber3;             // 
+  Int_t        fIdChamber2;             // Driftchamber volume identifier 
+  Int_t        fIdChamber3;             // Driftchamber volume identifier 
 
   Int_t        fSensSelect;             // Switch to select only parts of the detector
   Int_t        fSensPlane;              // Sensitive detector plane