1 #ifndef ALIMUONSEGMENTATIONTRIGGER_H
2 #define ALIMUONSEGMENTATIONTRIGGER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 #include "AliMUONSegmentationV0.h"
12 //----------------------------------------------
14 // Chamber segmentation virtual base class
16 class AliMUONSegmentationTrigger :
17 public AliMUONSegmentationV0 {
19 AliMUONSegmentationTrigger(){};
20 virtual ~AliMUONSegmentationTrigger(){}
21 virtual void Init(AliMUONChamber* chamber); // Initialization
22 Int_t ModuleNumber(Int_t imodule); // returns module number of ModuleId
23 // Set pad position -> in SegRes X & Y
24 // virtual void SetPad(Int_t, Int_t);
26 virtual void SetHit(Float_t xhit, Float_t yhit);
28 // Current Pad during Integration
30 // virtual Int_t Ix();
32 // virtual Int_t Iy();
34 ClassDef(AliMUONSegmentationTrigger,1) //Segmentation class for trigger
36 // Returns x-strip size for given module imodule
37 Float_t StripSizeX(Int_t imodule);
38 // Returns y-strip size for given module imodule
39 Float_t StripSizeY(Int_t imodule);
41 // Geometry Parameters
43 Int_t fgNum[126]; // circuit Id.
44 Int_t fgNmodule; // total number of modules
45 Int_t fgNstripx[126]; // number of X strip / module
46 Int_t fgNstripy[126]; // number of Y strip / module
47 Float_t fgXcmin[126]; // x min position of modules
48 Float_t fgXcmax[126]; // x max position of modules
49 Float_t fgYcmin[126]; // y min position of modules
50 Float_t fgYcmax[126]; // y max position of modules
51 Float_t fZscale; // scaling factor (Zx/Z1, x=1,2,3,4)
53 // Current pad during integration (cursor for disintegration)
54 Int_t fix; // pad coord. x
55 Int_t fiy; // pad coord. y
56 Float_t fx; // real coord. x
57 Float_t fy; // real ccord. y
59 Float_t fxhit; // x-position of hit
60 Float_t fyhit; // y-position of hit
61 Int_t fSector;// Segmentation Sector