]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONSegmentationSlatN.h
Connect only MUON branches when reading the event to speed up digitisation.
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentationSlatN.h
1 #ifndef ALIMUONSEGMENTATIONSLATN_H
2 #define ALIMUONSEGMENTATIONSLATN_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 "AliMUONSegmentationSlat.h"
14
15 class TArrayF;
16 class TList;
17 class AliMUONSegmentationSlatModuleN;
18
19
20 class  AliMUONSegmentationSlatN :
21 public AliMUONSegmentationSlat {
22  public:
23     AliMUONSegmentationSlatN();
24     AliMUONSegmentationSlatN(Int_t nsec);
25     virtual ~AliMUONSegmentationSlatN(){}
26     //    
27     // Set Chamber Segmentation Parameters
28     //
29     // Transform from pad to real coordinates and vice versa
30     virtual void GetPadI(Float_t x, Float_t y , Float_t z, Int_t &ix, Int_t &iy);
31     //
32     // Get member data
33     //
34     // Pad size in x by Sector
35     virtual Float_t Dpx(Int_t isec) const;
36     // Pad size in y by Sector
37     virtual Float_t Dpy(Int_t isec) const;
38     //
39     //
40     // Class specific methods
41     virtual void GlobalToLocal(
42         Int_t ix, Int_t iy, Int_t &islat, Int_t &ixlocal, Int_t &iylocal);
43     virtual void LocalToGlobal(
44          Int_t islat, Int_t ixlocal, Int_t iylocal, Int_t &ix, Int_t &iy);
45     // Factory method for associated slat module class
46      AliMUONSegmentationSlatModule* CreateSlatModule();
47  private:
48     ClassDef(AliMUONSegmentationSlatN,1) // Segmentation for Muon Chamber built from Slat Modules
49         
50 };
51         
52
53 #endif
54
55
56
57
58
59