]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONSegmentationSlatModuleN.h
warning GetNtracks()
[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
8 /////////////////////////////////////////////////////
9 //  Segmentation classes for slat modules          //
10 //  to be used with AluMUONSegmentationSlat        //
11 /////////////////////////////////////////////////////
12
13 #include "AliMUONSegmentationSlatModule.h"
14
15 class  AliMUONSegmentationSlatModuleN :
16 public AliMUONSegmentationSlatModule {
17  public:
18     AliMUONSegmentationSlatModuleN();
19     AliMUONSegmentationSlatModuleN(Int_t nsec);
20     virtual ~AliMUONSegmentationSlatModuleN(){}
21     // Transform from pad to real coordinates
22     virtual void    GetPadI(Float_t x ,Float_t y ,Int_t   &ix,Int_t &iy);
23     // Transform from real to pad coordinates
24     virtual void    GetPadC(Int_t   ix,Int_t   iy,Float_t &x ,Float_t &y );
25     // Initialisation
26     virtual void Init(Int_t chamber);
27     //
28     // Get member data
29     //
30     // Pad size in x by Sector
31     virtual Float_t Dpx(Int_t isec) const;
32     // Pad size in y by Sector
33     virtual Float_t Dpy(Int_t isec) const;
34     // Iterate over pads
35     // Stepper
36     virtual void  NextPad();
37     virtual Int_t MorePads();
38     
39     // Get next neighbours
40     virtual void Neighbours
41         (Int_t iX, Int_t iY, Int_t* Nlist, Int_t Xlist[10], Int_t Ylist[10]);
42  protected:
43     Int_t   fNpxPCB;        // Number of strips per PCB board 
44     
45     ClassDef(AliMUONSegmentationSlatModuleN,1) // Segmentation class for non bending plane slat
46 };
47
48 #endif
49
50
51
52
53
54