Code from MUON-dev joined
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentationTrigger.h
CommitLineData
a9e2aefa 1#ifndef ALIMUONSEGMENTATIONTRIGGER_H
2#define ALIMUONSEGMENTATIONTRIGGER_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
8
9
10#include "AliMUONSegmentationV0.h"
11class AliMUONChamber;
12//----------------------------------------------
13//
14// Chamber segmentation virtual base class
15//
16class AliMUONSegmentationTrigger :
17public AliMUONSegmentationV0 {
18 public:
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);
25 // Set hit position
26 virtual void SetHit(Float_t xhit, Float_t yhit);
27
28 // Current Pad during Integration
29 // x-coordinate
30 // virtual Int_t Ix();
31 // y-coordinate
32 // virtual Int_t Iy();
33
34 ClassDef(AliMUONSegmentationTrigger,1) //Segmentation class for trigger
35 protected:
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);
40 protected:
41// Geometry Parameters
42
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)
52
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
58
59 Float_t fxhit; // x-position of hit
60 Float_t fyhit; // y-position of hit
61 Int_t fSector;// Segmentation Sector
62
63};
64
65#endif
66
67
68
69
70
71
72
73
74
75
76
77
78