Introduction of the Copyright and cvs Log
[u/mrichter/AliRoot.git] / MUON / AliMUONSegResV02.h
CommitLineData
a897a37a 1#ifndef MUONv02_H
2#define MUONv02_H
3/////////////////////////////////////////////////////
4// Segmentation and Response classes version 01 //
5/////////////////////////////////////////////////////
6
7#include "AliMUON.h"
8#include "TArrayF.h"
9#include "TArrayI.h"
10#include "AliMUONSegResV01.h"
11class AliMUONsegmentationV02 :
12public AliMUONsegmentationV01 {
13 public:
14 AliMUONsegmentationV02(){};
15 virtual ~AliMUONsegmentationV02(){}
16 //
17 virtual void SetPADSIZ(Float_t p1, Float_t p2);
18 //
19 // Get member data
20 // Pad size in x
21 virtual Float_t Dpx() {return fDpy;}
22 // Pad size in y
23 virtual Float_t Dpy() {return fDpx;}
24 // Pad size in x by Sector
25 virtual Float_t Dpx(Int_t isec);
26 // Pad size in y by Sector
27 virtual Float_t Dpy(Int_t isec);
28 // Max number of Pads in x
29 virtual Int_t Npx();
30 // max number of Pads in y
31 virtual Int_t Npy();
32 // calculate sector from pad coordinates
33 virtual Int_t Sector(Int_t ix, Int_t iy);
34 //
35 // Transform from pad (wire) to real coordinates and vice versa
36 // Transform from pad to real coordinates
37 virtual void GetPadCxy(Int_t ix,Int_t iy,Float_t &x ,Float_t &y );
38 // Transform from pad to real coordinates
39 virtual void GetPadIxy(Float_t x ,Float_t y ,Int_t &ix,Int_t &iy);
40 virtual void SetPad(Int_t ix,Int_t iy);
41 // Stepper
42 virtual void NextPad();
43 // Condition
44 virtual Int_t MorePads();
45
46 virtual void Neighbours
47 (Int_t iX, Int_t iY, Int_t* Nlist, Int_t Xlist[10], Int_t Ylist[10]);
48 // Get next neighbours
49 ClassDef(AliMUONsegmentationV02,1) //Muon chamber segmentation version 02
50 };
51#endif
52
53
54
55
56
57
58
59
60