]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONSegmentationTrigger.h
Mapping test macros (D. Guez, I. Hrivnacova)
[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$ */
30178c30 8// Revision of includes 07/05/2004
a9e2aefa 9
a9e2aefa 10//----------------------------------------------
11//
12// Chamber segmentation virtual base class
13//
30178c30 14
15#include "AliMUONSegmentationV0.h"
16
17class AliMUONChamber;
18
19class AliMUONSegmentationTrigger : public AliMUONSegmentationV0
20{
a9e2aefa 21 public:
30178c30 22 AliMUONSegmentationTrigger();
c3eff6ad 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);
e889a146 30 virtual void SetHit(Float_t xhit, Float_t yhit, Float_t zhit);
5fd73042 31 // Draw the segmentation zones
1373d50f 32 virtual void Draw(const char *opt="");
5fd73042 33
34 protected:
5fd73042 35 Int_t fId; // Identifier
c3eff6ad 36
37 protected:
38 Float_t StripSizeX(Int_t imodule);
b6a52ffa 39 Float_t StripSizeY(Int_t imodule, Int_t istrip);
a9e2aefa 40 protected:
5fd73042 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)
c3eff6ad 44
a9e2aefa 45// Current pad during integration (cursor for disintegration)
a9e2aefa 46 Int_t fSector;// Segmentation Sector
47
c3eff6ad 48 ClassDef(AliMUONSegmentationTrigger,1) //Segmentation class for trigger
a9e2aefa 49};
50
51#endif
52
53
54
55
56
57
58
59
60
61
62
63
64