BuildGeometry of AliMUON for trigger chambers delegated to AliMUONSegmentationTrigger...
[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:
c3eff6ad 18 AliMUONSegmentationTrigger(){};
19 virtual ~AliMUONSegmentationTrigger(){}
20 virtual void Init(Int_t 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 virtual void SetHit(Float_t xhit, Float_t yhit, Float_t zhit)
27 {SetHit(xhit, yhit);}
5fd73042 28 // Draw the segmentation zones
c3eff6ad 29 virtual void Draw(const char *opt="") const {}
5fd73042 30
31 protected:
32 AliMUONChamber* fChamber; // Parent Chamber
33 Int_t fId; // Identifier
c3eff6ad 34
35 protected:
36 Float_t StripSizeX(Int_t imodule);
37 Float_t StripSizeY(Int_t imodule);
a9e2aefa 38 protected:
5fd73042 39 Float_t fYcmin[126]; // y min position of modules
40 Float_t fYcmax[126]; // y max position of modules
41 Float_t fZscale; // scaling factor (Zx/Z1, x=1,2,3,4)
c3eff6ad 42
a9e2aefa 43// Current pad during integration (cursor for disintegration)
ecfa008b 44 Int_t fIx; // pad coord. x
45 Int_t fIy; // pad coord. y
46 Float_t fX; // real coord. x
47 Float_t fY; // real ccord. y
a9e2aefa 48
ecfa008b 49 Float_t fXhit; // x-position of hit
50 Float_t fYhit; // y-position of hit
a9e2aefa 51 Int_t fSector;// Segmentation Sector
52
c3eff6ad 53 ClassDef(AliMUONSegmentationTrigger,1) //Segmentation class for trigger
a9e2aefa 54};
55
56#endif
57
58
59
60
61
62
63
64
65
66
67
68
69