AliITSgeomTGeo() { } // Default constructor
virtual ~AliITSgeomTGeo() { } // Destructor
+ // This function returns the total number of ITS modules
+ static Int_t GetNModules() {return fgkNModules;}
// This function returns the number of detectors/ladder for a given layer
static Int_t GetNDetectors(Int_t lay) {return fgkNDetectors[lay-1];}
// This function returns the number of ladders for a given layer
static Bool_t GetTrackingMatrix(Int_t lay,Int_t lad,Int_t det, TGeoHMatrix &m)
{ return GetTrackingMatrix(GetModuleIndex(lay,lad,det),m); }
- private:
+ static Bool_t LocalToGlobal(Int_t index, const Double_t *loc, Double_t *glob);
+ static Bool_t LocalToGlobal(Int_t lay, Int_t lad, Int_t det,
+ const Double_t *loc, Double_t *glob)
+ { return LocalToGlobal(GetModuleIndex(lay,lad,det), loc, glob);}
+
+ static Bool_t GlobalToLocal(Int_t index, const Double_t *glob, Double_t *loc);
+ static Bool_t GlobalToLocal(Int_t lay, Int_t lad, Int_t det,
+ const Double_t *glob, Double_t *loc)
+ { return GlobalToLocal(GetModuleIndex(lay,lad,det), glob, loc);}
+
+ static Bool_t LocalToGlobalVect(Int_t index, const Double_t *loc, Double_t *glob);
+ static Bool_t GlobalToLocalVect(Int_t index, const Double_t *glob, Double_t *loc);
enum {kNLayers = 6}; // The number of layers.
+ private:
+
static Bool_t GetLayer(Int_t index,Int_t &lay,Int_t &index2);
static TGeoPNEntry* GetPNEntry(Int_t index);