Using new for arrays with undefined size
[u/mrichter/AliRoot.git] / RICH / AliRICHSegmentationV1.h
CommitLineData
6b2064dc 1#ifndef AliRICHSegmentationV1_h
2#define AliRICHSegmentationV1_h
237c933d 3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
237c933d 7#include "AliRICHSegmentationV0.h"
8
6b2064dc 9class AliRICHSegmentationV1 : public AliRICHSegmentationV0
6ef81d71 10{
6b2064dc 11public:
c712cb2f 12 AliRICHSegmentationV1();
13 virtual ~AliRICHSegmentationV1() {}
14 virtual void Init(Int_t id);
15 virtual Int_t Sector(Float_t x, Float_t y);
16 virtual void GetPadI(Float_t x ,Float_t y ,Int_t &ix,Int_t &iy);
17 virtual void GetPadI(Float_t x, Float_t y , Float_t /*z*/, Int_t &ix, Int_t &iy) {GetPadI(x, y, ix, iy);}
18 virtual void GetPadC(Int_t ix,Int_t iy,Float_t &x ,Float_t &y );
19 virtual void GetPadC(Int_t ix, Int_t iy, Float_t &x, Float_t &y, Float_t &z) {z=0; GetPadC(ix, iy, x , y);}
20 virtual void IntegrationLimits (Float_t& x1, Float_t& x2, Float_t& y1, Float_t& y2);
21 virtual Int_t ISector() const{return fSector;}
6ef81d71 22private:
237c933d 23 ClassDef(AliRICHSegmentationV1,1)
24};
6b2064dc 25#endif//AliRICHSegmentationV1_h