]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONSegmentationSlatModuleN.h
Global transformation correction (ivana)
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentationSlatModuleN.h
1 #ifndef ALIMUONSEGMENTATIONSLATMODULEN_H
2 #define ALIMUONSEGMENTATIONSLATMODULEN_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7 // Revision of includes 07/05/2004
8
9 /////////////////////////////////////////////////////
10 //  Segmentation classes for slat modules          //
11 //  to be used with AluMUONSegmentationSlat        //
12 /////////////////////////////////////////////////////
13
14 #include "AliMUONSegmentationSlatModule.h"
15
16 class  AliMUONSegmentationSlatModuleN : public AliMUONSegmentationSlatModule 
17 {
18  public:
19     AliMUONSegmentationSlatModuleN();
20     AliMUONSegmentationSlatModuleN(Int_t nsec);
21     virtual ~AliMUONSegmentationSlatModuleN(){}
22     // Transform from pad to real coordinates
23     virtual void    GetPadI(Float_t x ,Float_t y ,Int_t   &ix,Int_t &iy);
24     // Transform from real to pad coordinates
25     virtual void    GetPadC(Int_t   ix,Int_t   iy,Float_t &x ,Float_t &y );
26     // Initialisation
27     virtual void Init(Int_t chamber);
28     //
29     // Get member data
30     //
31     // Pad size in x by Sector
32     virtual Float_t Dpx(Int_t isec) const;
33     // Pad size in y by Sector
34     virtual Float_t Dpy(Int_t isec) const;
35     // Iterate over pads
36     // Stepper
37     virtual void  NextPad();
38     virtual Int_t MorePads();
39     
40     // Get next neighbours
41     virtual void Neighbours
42         (Int_t iX, Int_t iY, Int_t* Nlist, Int_t Xlist[10], Int_t Ylist[10]);
43  protected:
44     Int_t   fNpxPCB;        // Number of strips per PCB board 
45     
46     ClassDef(AliMUONSegmentationSlatModuleN,1) // Segmentation class for non bending plane slat
47 };
48
49 #endif
50
51
52
53
54
55