]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONTriggerConstants.cxx
cuts on Q out, side, long added
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerConstants.cxx
CommitLineData
7c2017ae 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16/*
17$Log$
8c057ca9 18Revision 1.1 2000/06/26 09:57:57 pcrochet
19New class which contains quantities previously defined as global variables
20
7c2017ae 21*/
22
23#include "AliMUONTriggerConstants.h"
24
25ClassImp(AliMUONTriggerConstants)
26
27//----------------------------------------------------------------------
28AliMUONTriggerConstants::AliMUONTriggerConstants()
29{
30// constructor
31 ;
32}
33//----------------------------------------------------------------------
34AliMUONTriggerConstants::~AliMUONTriggerConstants()
35{
36// destructor
37 ;
38}
39
40//----------------------------------------------------------------------
41const Int_t AliMUONTriggerConstants::fgNmodule = 126;
42
43//----------------------------------------------------------------------
44// conv : line-column (line : from top to bottom, column : from left to right)
45const Int_t AliMUONTriggerConstants::fgModuleId[126] =
46{11,12,13,14,15,16,17, // right side of the chamber
47 21,22,23,24,25,26,27,
48 31,32,33,34,35,36,37,
49 41,42,43,44,45,46,47,
50 51,52,53,54,55,56,57,
51 61,62,63,64,65,66,67,
52 71,72,73,74,75,76,77,
53 81,82,83,84,85,86,87,
54 91,92,93,94,95,96,97,
55 -11,-12,-13,-14,-15,-16,-17, // right side of chamber
56 -21,-22,-23,-24,-25,-26,-27,
57 -31,-32,-33,-34,-35,-36,-37,
58 -41,-42,-43,-44,-45,-46,-47,
59 -51,-52,-53,-54,-55,-56,-57,
60 -61,-62,-63,-64,-65,-66,-67,
61 -71,-72,-73,-74,-75,-76,-77,
62 -81,-82,-83,-84,-85,-86,-87,
63 -91,-92,-93,-94,-95,-96,-97};
64
65//----------------------------------------------------------------------
66const Int_t AliMUONTriggerConstants::fgNstripX[126]=
67{16,16,16,16,16,16,16, // right side of the chamber
68 32,32,32,32,32,32,16,
69 32,32,32,32,32,32,16,
70 48,64,64,32,32,32,16,
71 0,64,64,32,32,32,16,
72 48,64,64,32,32,32,16,
73 32,32,32,32,32,32,16,
74 32,32,32,32,32,32,16,
75 16,16,16,16,16,16,16, // left side of the chamber
76 16,16,16,16,16,16,16,
77 32,32,32,32,32,32,16,
78 32,32,32,32,32,32,16,
79 48,64,64,32,32,32,16,
80 0,64,64,32,32,32,16,
81 48,64,64,32,32,32,16,
82 32,32,32,32,32,32,16,
83 32,32,32,32,32,32,16,
84 16,16,16,16,16,16,16};
85
86//----------------------------------------------------------------------
87const Int_t AliMUONTriggerConstants::fgNstripY[126]=
88{ 8, 8, 8, 8, 8, 8,16, // right side of the chamber
89 8, 8, 8, 8, 8, 8,16,
90 16,16,16,16,16, 8,16,
91 16,16,16,16,16, 8,16,
92 0, 8,16,16,16, 8,16,
93 16,16,16,16,16, 8,16,
94 16,16,16,16,16, 8,16,
95 8, 8, 8, 8, 8, 8,16,
96 8, 8, 8, 8, 8, 8,16,
97 8, 8, 8, 8, 8, 8,16, // left side of the chamber
98 8, 8, 8, 8, 8, 8,16,
99 16,16,16,16,16, 8,16,
100 16,16,16,16,16, 8,16,
101 0, 8,16,16,16, 8,16,
102 16,16,16,16,16, 8,16,
103 16,16,16,16,16, 8,16,
104 8, 8, 8, 8, 8, 8,16,
105 8, 8, 8, 8, 8, 8,16};
106
107//----------------------------------------------------------------------
108const Float_t AliMUONTriggerConstants::fgXcMin[126]=
8c057ca9 109{2.,36.,70.,104.,138.,172.,206., // right
110 2.,36.,70.,104.,138.,172.,206.,
111 2.,36.,70.,104.,138.,172.,206.,
112 2.,36.,70.,104.,138.,172.,206.,
113 0.,53.,70.,104.,138.,172.,206.,
114 2.,36.,70.,104.,138.,172.,206.,
115 2.,36.,70.,104.,138.,172.,206.,
116 2.,36.,70.,104.,138.,172.,206.,
117 2.,36.,70.,104.,138.,172.,206.,
118 -36.,-70.,-104.,-138.,-172.,-206.,-274., //left
119 -36.,-70.,-104.,-138.,-172.,-206.,-274.,
120 -36.,-70.,-104.,-138.,-172.,-206.,-274.,
121 -36.,-70.,-104.,-138.,-172.,-206.,-274.,
122 0.,-70.,-104.,-138.,-172.,-206.,-274.,
123 -36.,-70.,-104.,-138.,-172.,-206.,-274.,
124 -36.,-70.,-104.,-138.,-172.,-206.,-274.,
125 -36.,-70.,-104.,-138.,-172.,-206.,-274.,
126 -36.,-70.,-104.,-138.,-172.,-206.,-274.};
7c2017ae 127
128//----------------------------------------------------------------------
129const Float_t AliMUONTriggerConstants::fgXcMax[126]=
8c057ca9 130{36.,70.,104.,138.,172.,206.,274., //right
131 36.,70.,104.,138.,172.,206.,274.,
132 36.,70.,104.,138.,172.,206.,274.,
133 36.,70.,104.,138.,172.,206.,274.,
134 0.,70.,104.,138.,172.,206.,274.,
135 36.,70.,104.,138.,172.,206.,274.,
136 36.,70.,104.,138.,172.,206.,274.,
137 36.,70.,104.,138.,172.,206.,274.,
138 36.,70.,104.,138.,172.,206.,274.,
139 -2.,-36.,-70.,-104.,-138.,-172.,-206., // left
140 -2.,-36.,-70.,-104.,-138.,-172.,-206.,
141 -2.,-36.,-70.,-104.,-138.,-172.,-206.,
142 -2.,-36.,-70.,-104.,-138.,-172.,-206.,
143 0.,-53.,-70.,-104.,-138.,-172.,-206.,
144 -2.,-36.,-70.,-104.,-138.,-172.,-206.,
145 -2.,-36.,-70.,-104.,-138.,-172.,-206.,
146 -2.,-36.,-70.,-104.,-138.,-172.,-206.,
147 -2.,-36.,-70.,-104.,-138.,-172.,-206.};
7c2017ae 148
149//----------------------------------------------------------------------
150const Int_t AliMUONTriggerConstants::fgCircuitId[234]=
151{111, 121, 131, 141, 151, 161, 171,
152 211, 212, 221, 222, 231, 232, 241, 242, 251, 252, 261, 262, 271,
153 311, 312, 321, 322, 331, 332, 341, 342, 351, 352, 361, 362, 371,
154 411, 412, 413, 421, 422, 423, 424, 431, 432, 433, 434, 441, 442,
155 451, 452, 461, 462, 471,
156 521, 522, 523, 524, 531, 532, 533, 534, 541, 542, 551, 552, 561, 562, 571,
157 611, 612, 613, 621, 622, 623, 624, 631, 632, 633, 634, 641, 642,
158 651, 652, 661, 662, 671,
159 711, 712, 721, 722, 731, 732, 741, 742, 751, 752, 761, 762, 771,
160 811, 812, 821, 822, 831, 832, 841, 842, 851, 852, 861, 862, 871,
161 911, 921, 931, 941, 951, 961, 971,
162 -111, -121, -131, -141, -151, -161, -171,
163 -211, -212, -221, -222, -231, -232, -241, -242, -251, -252, -261, -262, -271,
164 -311, -312, -321, -322, -331, -332, -341, -342, -351, -352, -361, -362, -371,
165 -411, -412, -413, -421, -422, -423, -424, -431, -432, -433, -434, -441, -442,
166 -451, -452, -461, -462, -471,
167 -521, -522, -523, -524, -531, -532, -533, -534, -541, -542, -551, -552, -561, -562, -571,
168 -611, -612, -613, -621, -622, -623, -624, -631, -632, -633, -634, -641, -642,
169 -651, -652, -661, -662, -671,
170 -711, -712, -721, -722, -731, -732, -741, -742, -751, -752, -761, -762, -771,
171 -811, -812, -821, -822, -831, -832, -841, -842, -851, -852, -861, -862, -871,
172 -911, -921, -931, -941, -951, -961, -971};
173
174
175
176//----------------------------------------------------------------------
177// methods which returns public static const data
178//----------------------------------------------------------------------
179Int_t AliMUONTriggerConstants::Nmodule()
180{
181// returns fgNmodule
182 return fgNmodule;
183}
184//----------------------------------------------------------------------
185Int_t AliMUONTriggerConstants::ModuleId(Int_t imodule)
186{
187// returns fgModuleId
188 return fgModuleId[imodule];
189}
190//----------------------------------------------------------------------
191Int_t AliMUONTriggerConstants::NstripX(Int_t imodule)
192{
193// returns fgNstripX
194 return fgNstripX[imodule];
195}
196//----------------------------------------------------------------------
197Int_t AliMUONTriggerConstants::NstripY(Int_t imodule)
198{
199// return fgNstripY
200 return fgNstripY[imodule];
201}
202//----------------------------------------------------------------------
203Float_t AliMUONTriggerConstants::XcMin(Int_t imodule)
204{
205// returns fgXcMin
206 return fgXcMin[imodule];
207}
208//----------------------------------------------------------------------
209Float_t AliMUONTriggerConstants::XcMax(Int_t imodule)
210{
211// returns fgXcMax
212 return fgXcMax[imodule];
213}
214//----------------------------------------------------------------------
215Int_t AliMUONTriggerConstants::CircuitId(Int_t icircuit)
216{
217// returns fgCircuitId
218 return fgCircuitId[icircuit];
219}
220
221
222
223
224
225
226
227
228
229
230