]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONSegmentationTriggerY.h
In stand-allone mode, pass stack to entries.
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentationTriggerY.h
CommitLineData
a9e2aefa 1#ifndef ALIMUONSEGMENTATIONTRIGGERY_H
2#define ALIMUONSEGMENTATIONTRIGGERY_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
30178c30 7// Revision of includes 07/05/2004
a9e2aefa 8
a9e2aefa 9//----------------------------------------------
10//
11// Chamber segmentation virtual base class
12//
30178c30 13
14#include "AliMUONSegmentationTrigger.h"
15
16class AliMUONChamber;
17
18class AliMUONSegmentationTriggerY : public AliMUONSegmentationTrigger
19{
a9e2aefa 20 public:
30178c30 21 AliMUONSegmentationTriggerY();
a9e2aefa 22 virtual ~AliMUONSegmentationTriggerY(){}
23 // Transform from pad to real coordinates
a30a000f 24 virtual void GetPadI(Float_t x,Float_t y,Int_t &ix,Int_t &iy);
e889a146 25 virtual void GetPadI(Float_t x, Float_t y, Float_t z, Int_t &ix, Int_t &iy);
a9e2aefa 26 // Transform from real to pad coordinates
a30a000f 27 virtual void GetPadC(Int_t ix,Int_t iy,Float_t &x,Float_t &y);
c3eff6ad 28 virtual void GetPadC(Int_t ix, Int_t iy, Float_t &x, Float_t &y, Float_t &z)
4554f81d 29 {z=-10000.; GetPadC(ix, iy, x , y);}
a9e2aefa 30 // Pad size Dx*Dy
31 virtual void SetPadSize(Float_t dp1, Float_t dp2);
32 // Strip size by Module
c3eff6ad 33 virtual Float_t Dpx(Int_t imodule) const;
34 virtual Float_t Dpy(Int_t imodule) const;
a9e2aefa 35 // Set pad position
36 virtual void SetPad(Int_t ix, Int_t iy);
37 // Set hit position
38 virtual void SetHit(Float_t xhit , Float_t yhit);
e889a146 39 virtual void SetHit(Float_t xhit, Float_t yhit, Float_t zhit);
a9e2aefa 40 // Current integration parameters
03f221a7 41 virtual void IntegrationLimits(Float_t& x1, Float_t& x2, Float_t& x3, Float_t& x4);
a9e2aefa 42 // Current Pad during Integration
43 // x-coordinate
44 virtual Int_t Ix();
45 // y-coordinate
46 virtual Int_t Iy();
47 // Sector
48 virtual Int_t ISector();
49 // calculate sector from pad coordinates
50 virtual Int_t Sector(Int_t ix, Int_t iy);
51
52
53 // Get next neighbours
54 virtual void Neighbours
03f221a7 55 (Int_t iX, Int_t iY, Int_t* Nlist, Int_t Xlist[10], Int_t Ylist[10]);
a9e2aefa 56 //
57 // Initialisation
d81db581 58 virtual void Init(Int_t chamber);
a9e2aefa 59
60 ClassDef(AliMUONSegmentationTriggerY,1) //Segmentation class for trigger X
61 protected:
62 void IntegrationParam(Float_t& x1, Float_t& x2, Float_t& y1);
63
64// Geometry Parameters
65 float fXofysmin[126][16]; // x-min
66 float fXofysmax[126][16]; // x-max
67 float fYofysmin[126][16]; // y-min
68 float fYofysmax[126][16]; // y-max
a9e2aefa 69};
70#endif
71
72
73