Introduction of the Copyright and cvs Log
*/
-
+
#include "AliITSgeomSSD.h"
ClassImp(AliITSgeomSSD)
Float_t dz = 2.0; // cm. (Geant 3.12 units) Allong the Beam Pipe
fShapeSSD = new TBRIK("ActiveSSD","Active volume of SSD","SSD SI DET",
- dx,dy,dz);
+ dx,dy,dz);
}
+
+AliITSgeomSSD::AliITSgeomSSD(const AliITSgeomSSD &source){
+////////////////////////////////////////////////////////////////////////
+// copy constructor
+////////////////////////////////////////////////////////////////////////
+
+ this->fShapeSSD = source.fShapeSSD;
+ return;
+}
+
+AliITSgeomSSD& AliITSgeomSSD::operator=(const AliITSgeomSSD &source) {
+////////////////////////////////////////////////////////////////////////
+// assignment operator
+////////////////////////////////////////////////////////////////////////
+
+ this->fShapeSSD = source.fShapeSSD;
+ return *this;
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
/* $Id$ */
-#include "TShape.h"
+#include <TObject.h>
#include "TBRIK.h"
+#include "AliITSgeom.h"
+// temporarily - to be able to compile the code
-class AliITSgeomSSD : public TObject {
+class AliITSgeomSSD: public TObject {
+ public:
+ AliITSgeomSSD();
+ virtual ~AliITSgeomSSD() {
+ // destructor
+ }
+ AliITSgeomSSD(const AliITSgeomSSD &source);
+ AliITSgeomSSD& operator=(const AliITSgeomSSD &source);
+
+ TBRIK *GetShape() const {
+ // get shape
+ return fShapeSSD;
+ }
+ Float_t GetDx(){
+ // get Dx
+ return fShapeSSD->GetDx();
+ }
+ Float_t GetDy(){
+ // get Dx
+ return fShapeSSD->GetDy();
+ }
+ Float_t GetDz(){
+ // get Dx
+ return fShapeSSD->GetDz();
+ }
+
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 *fShapeSSD;
+ TBRIK *fShapeSSD; // comment
// Other infomation like.
// Float_t fTopPitch; // cm
// Float_t fTopWidth; // cm
// Float_t fBottomLength; // cm
// Float_t fBottomAngle; // cm
// or what other or different information that is needed.
- public:
- AliITSgeomSSD();
- virtual ~AliITSgeomSSD() {};
- TBRIK *GetShape() const {return fShapeSSD;}
-
+
ClassDef(AliITSgeomSSD,1) // ITS SSD detector geometry class
-};
+ };
+
#endif
+
+
+
+
+
+
+
+
+
+
+
+