- virtual void SetWriteDet(Bool_t det=kTRUE){ // set .det write
- fGeomDetOut = det;}
- virtual void SetWriteDet(const char *f){ // set write file
- strncpy(fWrite,f,60);fGeomDetOut = kTRUE;}
- virtual void SetReadDet(Bool_t det=kTRUE){ //set .det read
- fGeomDetIn = det;}
- virtual void SetReadDet(const char *f){ // set read file
- strncpy(fRead,f,60);fGeomDetIn = kTRUE;}
- virtual void SetEUCLID(Bool_t euclid=kTRUE){ // set write Euclid file
- fEuclidOut = euclid;}
- virtual void SetEUCLIDFileName(const char *f){ // set write file
- fEuclidGeometry=f;fEuclidOut = kTRUE;}
- virtual void SetMinorVersion(Int_t v=00){ // Set minor version
- fMinorVersion = v;}
- virtual void SetThicknessDet1(Float_t v=200.){
- // Set detector thickness in layer 1
- fDet1 = v;}
- virtual void SetThicknessDet2(Float_t v=200.){
- // Set detector thickness in layer 2
- fDet2 = v;}
- virtual void SetThicknessChip1(Float_t v=300.){
- // Set chip thickness in layer 1
- fChip1 = v;}
- virtual void SetThicknessChip2(Float_t v=200.){
- // Set chip thickness in layer 2
- fChip2 = v;}
- virtual void SetRails(Int_t v=1){
- // Set flag for rails
- fRails = v;}
- virtual void SetCoolingFluid(Int_t v=1){
- // Set flag for cooling fluid
- fFluid = v;}
- virtual Bool_t GetEUCLID(){return fEuclidOut;}// returns value Euclid flag
- virtual const char *GetEULIIDFileName() const{ // return .euc file name
- return fEuclidGeometry.Data();}
- virtual Bool_t GetWriteDet() { // returns value GeomDetOut flag.
- return fGeomDetOut;}
- virtual Bool_t GetReadDet() { // returns value GeomDetIn flag.
- return fGeomDetIn;}
- virtual char *GetReadDetFileName(){ // return .det read file name
- if(fRead[0]!='\0') return fRead; else return fEuclidGeomDet;}
- virtual char *GetWriteDetFileName(){ // return .det write file name
- if(fWrite[0]!='\0') return fWrite; else return fEuclidGeomDet;}
- virtual Int_t GetMajorVersion(){// return Major Version Number
- return fMajorVersion;}
- virtual Int_t GetMinorVersion(){// return Major Version Number
- return fMinorVersion;}
- virtual Float_t GetThicknessDet1(){
- // Get detector thickness in layer 1
- return fDet1;}
- virtual Float_t GetThicknessDet2(){
- // Get detector thickness in layer 2
- return fDet2;}
- virtual Float_t GetThicknessChip1(){
- // Get chip thickness in layer 1
- return fChip1;}
- virtual Float_t GetThicknessChip2(){
- // Get chip thickness in layer 2
- return fChip2;}
- virtual Int_t GetRails(){
- // Get flag for rails
- return fRails;}
- virtual Int_t GetCoolingFluid(){
- // Get flag for cooling fluid
- return fFluid;}
-
+ //virtual AliITSv11GeometrySPD* GetSPDGeometry(){return fSPDgeom;}
+ virtual AliITSv11GeometrySDD* GetSDDGeometry(){return fSDDgeom;}
+ //virtual AliITSv11GeometrySupport* GetSupGeometry(){return fSupgeom;}
+ virtual Int_t IsVersion() const { return kv11;} // ITS version number
+ virtual Int_t GetMajorVersion() const {// return Major Version Number
+ return fMajorVersion;}
+ virtual Int_t GetMinorVersion() const {// return Major Version Number
+ return fMinorVersion;}
+ virtual void SetMinorVersion(Int_t v=0){ // Choose between existing minor versions
+ fMinorVersion = v;}
+
+ virtual void SetDensityServicesByThickness(){// uses services density
+ // calculation based on the thickness of the services.
+ fByThick = kTRUE;}
+ virtual void SetDensityServicesByMass(){// uses services density
+ // calculation based on the Mass of the services.
+ fByThick = kFALSE;}
+