public TObject {
public:
AliITSsegmentation();
- AliITSsegmentation(AliITSgeom *geom);
AliITSsegmentation(const AliITSsegmentation& source);
virtual ~AliITSsegmentation();
AliITSsegmentation& operator=(const AliITSsegmentation &source);
virtual void SetLayer(Int_t) {MayNotUse("SetLayer");}
// Number of Chips
virtual Int_t GetNumberOfChips() const {MayNotUse("GetNumberOfChips"); return 0;}
+ virtual Int_t GetMaximumChipIndex() const {MayNotUse("GetNumberOfChips"); return 0;}
// Chip number from local coordinates
virtual Int_t GetChipFromLocal(Float_t, Float_t) const {MayNotUse("GetChipFromLocal"); return 0;}
+ virtual Int_t GetChipsInLocalWindow(Int_t* /*array*/, Float_t /*zmin*/, Float_t /*zmax*/, Float_t /*xmin*/, Float_t /*xmax*/) const {MayNotUse("GetChipsInLocalWindow"); return 0;}
// Chip number from channel number
virtual Int_t GetChipFromChannel(Int_t, Int_t) const {MayNotUse("GetChipFromChannel"); return 0;}
// Transformation from detector segmentation/cell coordiantes starting
// from (0,0) to Geant cm detector center local coordinates.
virtual void DetToLocal(Int_t,Int_t,Float_t &,Float_t &) const = 0;
-
- // Transform from real global to local coordinates
- void GetLocal(Int_t module,Float_t *g ,Float_t *l, AliITSgeom *geom) const {
- if(geom) geom->GtoL(module,g,l);
- else AliFatal("Pointer to ITS geometry class (AliITSgeom) is null\n");
- }
- // Transform from real local to global coordinates
- void GetGlobal(Int_t module,Float_t *l ,Float_t *g, AliITSgeom *geom) const {
- if(geom) geom->LtoG(module,l,g);
- else AliFatal("Pointer to ITS geometry class (AliITSgeom) is null\n");
- }
-
// Initialisation
virtual void Init() = 0;
//