]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONSegmentationTrigger.h
New cluster and hit reconstruction macro.
[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
a9e2aefa 9#include "AliMUONSegmentationV0.h"
10class AliMUONChamber;
11//----------------------------------------------
12//
13// Chamber segmentation virtual base class
14//
15class AliMUONSegmentationTrigger :
16public AliMUONSegmentationV0 {
17 public:
18 AliMUONSegmentationTrigger(){};
0c19630f 19 virtual ~AliMUONSegmentationTrigger(){}
a9e2aefa 20 virtual void Init(AliMUONChamber* chamber); // Initialization
21 Int_t ModuleNumber(Int_t imodule); // returns module number of ModuleId
22 // Set pad position -> in SegRes X & Y
23 // virtual void SetPad(Int_t, Int_t);
24 // Set hit position
25 virtual void SetHit(Float_t xhit, Float_t yhit);
26
a9e2aefa 27 ClassDef(AliMUONSegmentationTrigger,1) //Segmentation class for trigger
28 protected:
a9e2aefa 29 Float_t StripSizeX(Int_t imodule);
a9e2aefa 30 Float_t StripSizeY(Int_t imodule);
31 protected:
0c19630f 32 Float_t fYcmin[126]; // y min position of modules
33 Float_t fYcmax[126]; // y max position of modules
34 Float_t fZscale; // scaling factor (Zx/Z1, x=1,2,3,4)
a9e2aefa 35
36// Current pad during integration (cursor for disintegration)
37 Int_t fix; // pad coord. x
38 Int_t fiy; // pad coord. y
39 Float_t fx; // real coord. x
40 Float_t fy; // real ccord. y
41
42 Float_t fxhit; // x-position of hit
43 Float_t fyhit; // y-position of hit
44 Int_t fSector;// Segmentation Sector
45
46};
47
48#endif
49
50
51
52
53
54
55
56
57
58
59
60
61