- virtual void DetToLocal(Int_t ix,Int_t iz,Float_t &x,Float_t &z);
+ virtual void DetToLocal(Int_t ix,Int_t iz,Float_t &x,Float_t &z) const;
+ // Returns the Cell upper and lower boundries in x and y. cell indexes
+ // starting from (0,0) and return Geant cm detector centered local
+ // coordinates, consistant with DetToLocal and LocalToDet functions above.
+ virtual void CellBoundries(Int_t ix,Int_t iz,Double_t &xl,Double_t &xu,
+ Double_t &zl,Double_t &zu) const;
+ //
+ virtual Int_t GetNumberOfChips() const {return fgkNchipsPerModule;}
+ virtual Int_t GetMaximumChipIndex() const {return fgkNchipsPerModule-1;}
+
+ virtual Int_t GetChipFromLocal(Float_t, Float_t zloc) const;
+ virtual Int_t GetChipsInLocalWindow(Int_t* array, Float_t zmin, Float_t zmax, Float_t, Float_t) const;
+
+ virtual Int_t GetChipFromChannel(Int_t, Int_t iz) const;