]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONSegmentationTrigger.h
Bug on pad size (Sacha, Christian)
[u/mrichter/AliRoot.git] / MUON / AliMUONSegmentationTrigger.h
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 // Revision of includes 07/05/2004
9
10 //----------------------------------------------
11 //
12 // Chamber segmentation virtual base class
13 //
14
15 #include "AliMUONSegmentationV0.h"
16
17 class AliMUONChamber;
18
19 class AliMUONSegmentationTrigger : public AliMUONSegmentationV0 
20 {
21  public:
22     AliMUONSegmentationTrigger();
23     virtual ~AliMUONSegmentationTrigger(){}  
24     virtual void Init(Int_t chamber);         // Initialization
25     Int_t ModuleNumber(Int_t imodule);  // returns module number of ModuleId
26     // Set pad position -> in SegRes X & Y
27     //       virtual void     SetPad(Int_t, Int_t);
28     // Set hit position
29     virtual void     SetHit(Float_t xhit, Float_t yhit);
30     virtual void     SetHit(Float_t xhit, Float_t yhit, Float_t zhit);
31     // Draw the segmentation zones
32     virtual void Draw(const char *opt="");
33  
34   protected:
35     Int_t                fId;                    // Identifier
36
37  protected:
38     Float_t StripSizeX(Int_t imodule);
39     Float_t StripSizeY(Int_t imodule, Int_t istrip);
40  protected:
41     Float_t fYcmin[126];       // y min position of modules
42     Float_t fYcmax[126];       // y max position of modules
43     Float_t fZscale;            // scaling factor (Zx/Z1, x=1,2,3,4)
44   
45 // Current pad during integration (cursor for disintegration)
46   Int_t   fSector;// Segmentation Sector
47   
48   ClassDef(AliMUONSegmentationTrigger,1) //Segmentation class for trigger  
49 };
50
51 #endif
52
53
54
55
56
57
58
59
60
61
62
63
64