]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpPadRowLSegment.h
Implemented write and read methods (with real mapping for tracker chamber) (Christian)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpPadRowLSegment.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice                               */
3
4 // $Id$
5 // $MpId: AliMpPadRowLSegment.h,v 1.4 2005/08/26 15:43:36 ivana Exp $
6
7 /// \ingroup sector
8 /// \class AliMpPadRowLSegment
9 /// \brief A left pad row segment composed of the identic pads
10 ///
11 /// A pad row segment composed of the identic pads;
12 /// the pads are placed from the offset (defined in the base class)
13 /// to the left.
14 ///
15 /// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
16
17 #ifndef ALI_MP_PAD_ROW_L_SEGMENT_H
18 #define ALI_MP_PAD_ROW_L_SEGMENT_H
19
20 #include <TObject.h>
21
22 #include "AliMpVPadRowSegment.h"
23
24 class AliMpPadRow;
25 class AliMpMotif;
26
27 class AliMpPadRowLSegment : public AliMpVPadRowSegment
28 {
29   public:
30     AliMpPadRowLSegment(AliMpPadRow* padRow, AliMpMotif* motif, Int_t motifPositionId,
31                    Int_t nofPads);
32     AliMpPadRowLSegment();
33     virtual ~AliMpPadRowLSegment();
34
35     // methods
36     virtual Double_t  LeftBorderX() const;
37     virtual Double_t  RightBorderX() const;
38
39   private:
40     // methods
41     Double_t  FirstPadCenterX() const;
42     Double_t  LastPadCenterX() const;
43     Double_t  FirstPadBorderX() const;
44     Double_t  LastPadBorderX() const;
45     
46   ClassDef(AliMpPadRowLSegment,1)  //Row segment
47 };
48
49 #endif //ALI_MP_PAD_ROW_L_SEGMENT_H
50