]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSgeomSDD.h
New drawing routine from Nico and Daniela.
[u/mrichter/AliRoot.git] / ITS / AliITSgeomSDD.h
index 96e4b3a98305d17d0cf8f90599557ad06d3fed96..1c2e001021cec956781887774fae2306de3c1cab 100644 (file)
@@ -1,14 +1,28 @@
-#ifndef ITSgeomSDD_H
-#define ITSgeomSDD_H
+#ifndef ALIITSGEOMSDD_H
+#define ALIITSGEOMSDD_H
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
 /* $Id$ */
 
-#include "TShape.h"
+#include <TObject.h>
 #include "TBRIK.h"
+#include "AliITSgeom.h"
+
+// temporary 
 
 class AliITSgeomSDD: public TObject {
+ public:
+    AliITSgeomSDD();
+    AliITSgeomSDD(AliITSgeomSDD &source);
+    virtual ~AliITSgeomSDD(){};
+    AliITSgeomSDD& operator=(AliITSgeomSDD &source);
+    TBRIK *GetShape() const {return fShapeSDD;}
+    Float_t GetDx() {return fDx;}
+    Float_t GetDy() {return fDy;}
+    Float_t GetDz() {return fDz;}
+    // or what other or different information that is needed.
+
  private:
     // define shape of active area using ROOT shapes so that they can
     // be easly plotted. Inputs to TBRIK are
@@ -18,17 +32,11 @@ class AliITSgeomSDD: public TObject {
     // dx => 1/2 thickness of wafer's active volume (cm)
     // dy => 1/2 r*phi size of active volume (cm)
     // dz => 1/2 size of active volume (cm)
-    TBRIK *fShapeSDD;
-    // Other infomation like.
-    // Int_t   fNAnodes;         // count
-    // Float_t fAnodePitch;      // cm
-    // Float_t fAnodeWidth;      // cm
-    // or what other or different information that is needed.
- public:
-    AliITSgeomSDD();
-    virtual ~AliITSgeomSDD(){};
-    inline TBRIK *GetShape(){return fShapeSDD;}
+    Float_t fDx;          // Brick half width cm
+    Float_t fDy;          // Brick half thickness cm
+    Float_t fDz;          // Brick half length cm
+    TBRIK *fShapeSDD;     // shape of sensitive volume
 
-    ClassDef(AliITSgeomSDD,1)  
+    ClassDef(AliITSgeomSDD,1) // ITS SDD detector geometry class
 };
 #endif