// default constructor
////////////////////////////////////////////////////////////////////////
- Float_t dx = 3.5; // cm. (Geant 3.12 units) Orthonormal to y and z
- Float_t dy = 0.014; // cm. (Geant 3.12 units) Radialy from the Beam Pipe
- Float_t dz = 3.763; // cm. (Geant 3.12 units) Allong the Beam Pipe
+ Float_t fDx = 3.5; // cm. (Geant 3.12 units) Orthonormal to y and z
+ Float_t fDy = 0.014; // cm. (Geant 3.12 units) Radialy from the Beam Pipe
+ Float_t fDz = 3.763; // cm. (Geant 3.12 units) Allong the Beam Pipe
fShapeSDD = new TBRIK("ActiveSDD","Active volume of SDD","SDD SI DET",
- dx,dy,dz);
+ fDx,fDy,fDz);
+}
+//________________________________________________________________________
+AliITSgeomSDD::AliITSgeomSDD(AliITSgeomSDD &source){
+ // Copy constructor
+ if(this==&source) return;
+ this->fShapeSDD = source.fShapeSDD;
+ this->fDx = source.fDx;
+ this->fDy = source.fDy;
+ this->fDz = source.fDz;
+}
+//________________________________________________________________________
+AliITSgeomSDD& AliITSgeomSDD::operator=(AliITSgeomSDD &source){
+ // = operator
+ if(this==&source) return *this;
+ this->fShapeSDD = source.fShapeSDD;
+ this->fDx = source.fDx;
+ this->fDy = source.fDy;
+ this->fDz = source.fDz;
+ return *this;
}
/* $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
// 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(){};
- TBRIK *GetShape() const {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) // ITS SDD detector geometry class
};