+ AliITSgeomMatrix *GetGeomMatrix(Int_t index){if(index<fGm.GetSize()&&
+ index>=0)
+ return (AliITSgeomMatrix*)(fGm.At(index));else
+ Error("GetGeomMatrix","index=%d<0||>=GetSize()=%d",
+ index,fGm.GetSize());return 0;}
+ AliITSgeomMatrix *GetGeomMatrix(Int_t index)const{if(index<fGm.GetSize()
+ &&index>=0)
+ return (AliITSgeomMatrix*)(fGm.At(index));else
+ Error("GetGeomMatrix","index=%d<0||>=GetSize()=%d",
+ index,fGm.GetSize());return 0;}
+ // This function find and return the number of detector types only.
+ Int_t GetNDetTypes()const{Int_t max;return GetNDetTypes(max);};
+ // This function find and return the number of detector types and the
+ // maximum det type value.
+ Int_t GetNDetTypes(Int_t &max)const;
+ // This function finds and return the number of detector types and the
+ // and the number of each type in the TArrayI and their types.
+ Int_t GetNDetTypes(TArrayI &maxs,AliITSDetector *types)const;