]>
Commit | Line | Data |
---|---|---|
237c933d | 1 | #ifndef ALIRICHSEGMENTATIONV1_H |
2 | #define ALIRICHSEGMENTATIONV1_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | #include "AliRICHSegmentationV0.h" | |
10 | ||
11 | class AliRICHSegmentationV1 : public AliRICHSegmentationV0 { | |
12 | ||
13 | public: | |
14 | AliRICHSegmentationV1(); | |
51642472 | 15 | virtual ~AliRICHSegmentationV1() {} |
16 | ||
17 | // Initialisation | |
18 | virtual void Init(Int_t id); | |
8fef1e18 | 19 | |
237c933d | 20 | // current sector |
a2f7eaf6 | 21 | virtual Int_t ISector() {return fSector;} |
8fef1e18 | 22 | |
237c933d | 23 | // calculate sector from x-y coordinates |
24 | virtual Int_t Sector(Float_t x, Float_t y); | |
25 | ||
26 | // Transform from pad to real coordinates | |
a2f7eaf6 | 27 | virtual void GetPadI(Float_t x ,Float_t y ,Int_t &ix,Int_t &iy); |
28 | virtual void GetPadI(Float_t x, Float_t y , Float_t z, Int_t &ix, Int_t &iy) | |
8fef1e18 | 29 | {GetPadI(x, y, ix, iy);} |
30 | ||
237c933d | 31 | // Transform from real to pad coordinates |
a2f7eaf6 | 32 | virtual void GetPadC(Int_t ix,Int_t iy,Float_t &x ,Float_t &y ); |
33 | virtual void GetPadC(Int_t ix, Int_t iy, Float_t &x, Float_t &y, Float_t &z) | |
8fef1e18 | 34 | {z=0; GetPadC(ix, iy, x , y);} |
35 | ||
237c933d | 36 | // Current integration limits |
8fef1e18 | 37 | virtual void IntegrationLimits (Float_t& x1, Float_t& x2, Float_t& y1, Float_t& y2); |
38 | ||
237c933d | 39 | private: |
237c933d | 40 | ClassDef(AliRICHSegmentationV1,1) |
41 | }; | |
42 | ||
43 | #endif | |
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | ||
50 | ||
51 |