]>
Commit | Line | Data |
---|---|---|
dee1d5f1 | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
3 | ||
ea4cae7a | 4 | // $Id$ |
13985652 | 5 | // $MpId: AliMpRowSegmentRSpecial.h,v 1.9 2006/05/24 13:58:21 ivana Exp $ |
dee1d5f1 | 6 | |
7 | /// \ingroup sector | |
8 | /// \class AliMpRowSegmentRSpecial | |
9 | /// \brief A special outer row segment composed of the pad rows. | |
10 | /// | |
13985652 | 11 | /// \author David Guez, Ivana Hrivnacova; IPN Orsay |
ea4cae7a | 12 | |
13 | #ifndef ALI_MP_ROW_SEGMENT_R_SPECIAL_H | |
14 | #define ALI_MP_ROW_SEGMENT_R_SPECIAL_H | |
15 | ||
ea4cae7a | 16 | #include "AliMpVRowSegmentSpecial.h" |
17 | ||
2a7ea2e6 | 18 | #include <TVector2.h> |
19 | ||
ea4cae7a | 20 | class AliMpRow; |
21 | class AliMpPadRow; | |
22 | class AliMpVPadRowSegment; | |
ea4cae7a | 23 | |
24 | class AliMpRowSegmentRSpecial : public AliMpVRowSegmentSpecial | |
25 | { | |
26 | public: | |
27 | AliMpRowSegmentRSpecial(AliMpRow* row, Double_t offsetX); | |
28 | AliMpRowSegmentRSpecial(); | |
29 | virtual ~AliMpRowSegmentRSpecial(); | |
30 | ||
31 | // methods | |
f5671fc3 | 32 | /// Nothing to be done for outer segments |
33 | virtual void UpdatePadsOffset() {} | |
ea4cae7a | 34 | virtual Double_t LeftBorderX() const; |
35 | virtual Double_t RightBorderX() const; | |
36 | ||
37 | // geometry | |
38 | virtual TVector2 Position() const; | |
39 | ||
40 | // set methods | |
580c28fd | 41 | virtual void SetGlobalIndices(AliMpRow* rowBefore); |
168e9c4d | 42 | virtual Int_t SetIndicesToMotifPosition(Int_t i, MpPair_t indices); |
ea4cae7a | 43 | |
44 | protected: | |
45 | // methods | |
46 | virtual TVector2 MotifCenterSlow(Int_t motifPositionId) const; | |
47 | ||
48 | private: | |
49 | // methods | |
50 | AliMpVPadRowSegment* FindMostLeftPadRowSegment(Int_t motifPositionId) const; | |
51 | void SetGlobalIndicesLow(); | |
52 | ||
829425a5 | 53 | ClassDef(AliMpRowSegmentRSpecial,1) // Row segment |
ea4cae7a | 54 | }; |
55 | ||
56 | #endif //ALI_MP_ROW_SEGMENT_R_SPECIAL_H |