]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONSegmentationTriggerX.h
Added taa, participants and almonds for AuAu.
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentationTriggerX.h
CommitLineData
a9e2aefa 1#ifndef ALIMUONSEGMENTATIONTRIGGERX_H
2#define ALIMUONSEGMENTATIONTRIGGERX_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#include "AliMUONSegmentationTrigger.h"
10
11class AliMUONChamber;
12//----------------------------------------------
13//
14// Chamber segmentation virtual base class
15//
16class AliMUONSegmentationTriggerX :
17public AliMUONSegmentationTrigger {
18 public:
19 AliMUONSegmentationTriggerX(){}
20 virtual ~AliMUONSegmentationTriggerX(){}
21 // Transform from pad to real coordinates
a30a000f 22 virtual void GetPadI(Float_t x, Float_t y, Int_t &ix, Int_t &iy);
e889a146 23 virtual void GetPadI(Float_t x, Float_t y, Float_t z, Int_t &ix, Int_t &iy);
a9e2aefa 24 // Transform from real to pad coordinates
a30a000f 25 virtual void GetPadC(Int_t ix, Int_t iy, Float_t &x, Float_t &y);
c3eff6ad 26 virtual void GetPadC(Int_t ix, Int_t iy, Float_t &x, Float_t &y, Float_t &z)
4554f81d 27 {z=-10000.; GetPadC(ix, iy, x , y);}
5fd73042 28 // Draw the segmentation zones
29 virtual void Draw(const char *opt = "") const;
ef42d733 30
a9e2aefa 31 // Pad size Dx*Dy
32 virtual void SetPadSize(Float_t dp1, Float_t dp2);
33 // Strip size
c3eff6ad 34 virtual Float_t Dpx(Int_t imodule) const;
35 virtual Float_t Dpy(Int_t imodule) const;
a9e2aefa 36 // Set pad position
37 virtual void SetPad(Int_t ix, Int_t iy);
38 // Set hit position
39 virtual void SetHit(Float_t xhit, Float_t yhit);
e889a146 40 virtual void SetHit(Float_t xhit, Float_t yhit, Float_t zhit);
a9e2aefa 41 // Current integration parameters
03f221a7 42 virtual void IntegrationLimits(Float_t& x1, Float_t& x2, Float_t& x3, Float_t& x4);
a9e2aefa 43 // Current Pad during Integration
44 // x-coordinate
45 virtual Int_t Ix();
46 // y-coordinate
47 virtual Int_t Iy();
48 // Sector
49 virtual Int_t ISector();
50 // calculate sector from pad coordinates
51 virtual Int_t Sector(Int_t ix, Int_t iy);
52 // Get next neighbours
53 virtual void Neighbours
03f221a7 54 (Int_t iX, Int_t iY, Int_t* Nlist, Int_t Xlist[10], Int_t Ylist[10]);
a9e2aefa 55
56 //
57 // Initialisation
d81db581 58 virtual void Init(Int_t chamber);
a9e2aefa 59
60 ClassDef(AliMUONSegmentationTriggerX,1) //Segmentation class for trigger X
61
62 protected:
63 void IntegrationParam(Float_t& x1, Float_t& x2, Float_t& y1);
64// Geometry Parameters
65 float fXofxsmin[126][64]; // x-min
66 float fXofxsmax[126][64]; // x-max
67 float fYofxsmin[126][64]; // y-min
68 float fYofxsmax[126][64]; // y-max
a9e2aefa 69};
70#endif
71
72
73