New macro to keep track of timing performances of the segmentation methods (Laurent)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpRowSegmentRSpecial.h
CommitLineData
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 20class AliMpRow;
21class AliMpPadRow;
22class AliMpVPadRowSegment;
23class AliMpIntPair;
24
25class AliMpRowSegmentRSpecial : public AliMpVRowSegmentSpecial
26{
27 public:
28 AliMpRowSegmentRSpecial(AliMpRow* row, Double_t offsetX);
29 AliMpRowSegmentRSpecial();
30 virtual ~AliMpRowSegmentRSpecial();
31
32 // methods
f5671fc3 33 /// Nothing to be done for outer segments
34 virtual void UpdatePadsOffset() {}
ea4cae7a 35 virtual Double_t LeftBorderX() const;
36 virtual Double_t RightBorderX() const;
37
38 // geometry
39 virtual TVector2 Position() const;
40
41 // set methods
580c28fd 42 virtual void SetGlobalIndices(AliMpRow* rowBefore);
ea4cae7a 43 virtual Int_t SetIndicesToMotifPosition(Int_t i,
44 const AliMpIntPair& indices);
45
46 protected:
47 // methods
48 virtual TVector2 MotifCenterSlow(Int_t motifPositionId) const;
49
50 private:
51 // methods
52 AliMpVPadRowSegment* FindMostLeftPadRowSegment(Int_t motifPositionId) const;
53 void SetGlobalIndicesLow();
54
829425a5 55 ClassDef(AliMpRowSegmentRSpecial,1) // Row segment
ea4cae7a 56};
57
58#endif //ALI_MP_ROW_SEGMENT_R_SPECIAL_H