]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONTriggerConstants.cxx
display for trigger repaired (Ivana, Gines)
[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
88cb7938 16/* $Id$ */
7c2017ae 17
18#include "AliMUONTriggerConstants.h"
19
20ClassImp(AliMUONTriggerConstants)
21
22//----------------------------------------------------------------------
23AliMUONTriggerConstants::AliMUONTriggerConstants()
30178c30 24 : TNamed()
7c2017ae 25{
26// constructor
27 ;
28}
29//----------------------------------------------------------------------
30AliMUONTriggerConstants::~AliMUONTriggerConstants()
31{
32// destructor
33 ;
34}
35
36//----------------------------------------------------------------------
30178c30 37const Int_t AliMUONTriggerConstants::fgkNmodule = 126;
7c2017ae 38
39//----------------------------------------------------------------------
40// conv : line-column (line : from top to bottom, column : from left to right)
30178c30 41const Int_t AliMUONTriggerConstants::fgkModuleId[126] =
7c2017ae 42{11,12,13,14,15,16,17, // right side of the chamber
43 21,22,23,24,25,26,27,
44 31,32,33,34,35,36,37,
45 41,42,43,44,45,46,47,
46 51,52,53,54,55,56,57,
47 61,62,63,64,65,66,67,
48 71,72,73,74,75,76,77,
49 81,82,83,84,85,86,87,
50 91,92,93,94,95,96,97,
51 -11,-12,-13,-14,-15,-16,-17, // right side of chamber
52 -21,-22,-23,-24,-25,-26,-27,
53 -31,-32,-33,-34,-35,-36,-37,
54 -41,-42,-43,-44,-45,-46,-47,
55 -51,-52,-53,-54,-55,-56,-57,
56 -61,-62,-63,-64,-65,-66,-67,
57 -71,-72,-73,-74,-75,-76,-77,
58 -81,-82,-83,-84,-85,-86,-87,
59 -91,-92,-93,-94,-95,-96,-97};
60
61//----------------------------------------------------------------------
30178c30 62const Int_t AliMUONTriggerConstants::fgkNstripX[126]=
7c2017ae 63{16,16,16,16,16,16,16, // right side of the chamber
64 32,32,32,32,32,32,16,
65 32,32,32,32,32,32,16,
66 48,64,64,32,32,32,16,
67 0,64,64,32,32,32,16,
68 48,64,64,32,32,32,16,
69 32,32,32,32,32,32,16,
70 32,32,32,32,32,32,16,
71 16,16,16,16,16,16,16, // left side of the chamber
72 16,16,16,16,16,16,16,
73 32,32,32,32,32,32,16,
74 32,32,32,32,32,32,16,
75 48,64,64,32,32,32,16,
76 0,64,64,32,32,32,16,
77 48,64,64,32,32,32,16,
78 32,32,32,32,32,32,16,
79 32,32,32,32,32,32,16,
80 16,16,16,16,16,16,16};
81
82//----------------------------------------------------------------------
30178c30 83const Int_t AliMUONTriggerConstants::fgkNstripY[126]=
7c2017ae 84{ 8, 8, 8, 8, 8, 8,16, // right side of the chamber
85 8, 8, 8, 8, 8, 8,16,
86 16,16,16,16,16, 8,16,
87 16,16,16,16,16, 8,16,
88 0, 8,16,16,16, 8,16,
89 16,16,16,16,16, 8,16,
90 16,16,16,16,16, 8,16,
91 8, 8, 8, 8, 8, 8,16,
92 8, 8, 8, 8, 8, 8,16,
93 8, 8, 8, 8, 8, 8,16, // left side of the chamber
94 8, 8, 8, 8, 8, 8,16,
95 16,16,16,16,16, 8,16,
96 16,16,16,16,16, 8,16,
97 0, 8,16,16,16, 8,16,
98 16,16,16,16,16, 8,16,
99 16,16,16,16,16, 8,16,
100 8, 8, 8, 8, 8, 8,16,
101 8, 8, 8, 8, 8, 8,16};
102
103//----------------------------------------------------------------------
30178c30 104const Float_t AliMUONTriggerConstants::fgkXcMin[126]=
deea6fd8 105{-36.,-70.,-104.,-138.,-172.,-206.,-274., //right
106 -36.,-70.,-104.,-138.,-172.,-206.,-274.,
107 -36.,-70.,-104.,-138.,-172.,-206.,-274.,
108 -36.,-70.,-104.,-138.,-172.,-206.,-274.,
109 0.,-70.,-104.,-138.,-172.,-206.,-274.,
110 -36.,-70.,-104.,-138.,-172.,-206.,-274.,
111 -36.,-70.,-104.,-138.,-172.,-206.,-274.,
112 -36.,-70.,-104.,-138.,-172.,-206.,-274.,
113 -36.,-70.,-104.,-138.,-172.,-206.,-274.,
114 2.,36.,70.,104.,138.,172.,206., // left
8c057ca9 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 0.,53.,70.,104.,138.,172.,206.,
119 2.,36.,70.,104.,138.,172.,206.,
120 2.,36.,70.,104.,138.,172.,206.,
121 2.,36.,70.,104.,138.,172.,206.,
122 2.,36.,70.,104.,138.,172.,206.,
deea6fd8 123};
7c2017ae 124
125//----------------------------------------------------------------------
30178c30 126const Float_t AliMUONTriggerConstants::fgkXcMax[126]=
deea6fd8 127{-2.,-36.,-70.,-104.,-138.,-172.,-206., // right
128 -2.,-36.,-70.,-104.,-138.,-172.,-206.,
129 -2.,-36.,-70.,-104.,-138.,-172.,-206.,
130 -2.,-36.,-70.,-104.,-138.,-172.,-206.,
131 0.,-53.,-70.,-104.,-138.,-172.,-206.,
132 -2.,-36.,-70.,-104.,-138.,-172.,-206.,
133 -2.,-36.,-70.,-104.,-138.,-172.,-206.,
134 -2.,-36.,-70.,-104.,-138.,-172.,-206.,
135 -2.,-36.,-70.,-104.,-138.,-172.,-206.,
136 36.,70.,104.,138.,172.,206.,274., //left
8c057ca9 137 36.,70.,104.,138.,172.,206.,274.,
138 36.,70.,104.,138.,172.,206.,274.,
139 36.,70.,104.,138.,172.,206.,274.,
140 0.,70.,104.,138.,172.,206.,274.,
141 36.,70.,104.,138.,172.,206.,274.,
142 36.,70.,104.,138.,172.,206.,274.,
143 36.,70.,104.,138.,172.,206.,274.,
144 36.,70.,104.,138.,172.,206.,274.,
deea6fd8 145};
7c2017ae 146
147//----------------------------------------------------------------------
30178c30 148const Int_t AliMUONTriggerConstants::fgkCircuitId[234]=
7c2017ae 149{111, 121, 131, 141, 151, 161, 171,
150 211, 212, 221, 222, 231, 232, 241, 242, 251, 252, 261, 262, 271,
151 311, 312, 321, 322, 331, 332, 341, 342, 351, 352, 361, 362, 371,
152 411, 412, 413, 421, 422, 423, 424, 431, 432, 433, 434, 441, 442,
153 451, 452, 461, 462, 471,
154 521, 522, 523, 524, 531, 532, 533, 534, 541, 542, 551, 552, 561, 562, 571,
155 611, 612, 613, 621, 622, 623, 624, 631, 632, 633, 634, 641, 642,
156 651, 652, 661, 662, 671,
157 711, 712, 721, 722, 731, 732, 741, 742, 751, 752, 761, 762, 771,
158 811, 812, 821, 822, 831, 832, 841, 842, 851, 852, 861, 862, 871,
159 911, 921, 931, 941, 951, 961, 971,
160 -111, -121, -131, -141, -151, -161, -171,
161 -211, -212, -221, -222, -231, -232, -241, -242, -251, -252, -261, -262, -271,
162 -311, -312, -321, -322, -331, -332, -341, -342, -351, -352, -361, -362, -371,
163 -411, -412, -413, -421, -422, -423, -424, -431, -432, -433, -434, -441, -442,
164 -451, -452, -461, -462, -471,
165 -521, -522, -523, -524, -531, -532, -533, -534, -541, -542, -551, -552, -561, -562, -571,
166 -611, -612, -613, -621, -622, -623, -624, -631, -632, -633, -634, -641, -642,
167 -651, -652, -661, -662, -671,
168 -711, -712, -721, -722, -731, -732, -741, -742, -751, -752, -761, -762, -771,
169 -811, -812, -821, -822, -831, -832, -841, -842, -851, -852, -861, -862, -871,
170 -911, -921, -931, -941, -951, -961, -971};
171
172
173
174//----------------------------------------------------------------------
175// methods which returns public static const data
176//----------------------------------------------------------------------
177Int_t AliMUONTriggerConstants::Nmodule()
178{
30178c30 179// returns fgkNmodule
180 return fgkNmodule;
7c2017ae 181}
182//----------------------------------------------------------------------
183Int_t AliMUONTriggerConstants::ModuleId(Int_t imodule)
184{
30178c30 185// returns fgkModuleId
186 return fgkModuleId[imodule];
7c2017ae 187}
188//----------------------------------------------------------------------
189Int_t AliMUONTriggerConstants::NstripX(Int_t imodule)
190{
30178c30 191// returns fgkNstripX
192 return fgkNstripX[imodule];
7c2017ae 193}
194//----------------------------------------------------------------------
195Int_t AliMUONTriggerConstants::NstripY(Int_t imodule)
196{
30178c30 197// return fgkNstripY
198 return fgkNstripY[imodule];
7c2017ae 199}
200//----------------------------------------------------------------------
201Float_t AliMUONTriggerConstants::XcMin(Int_t imodule)
202{
30178c30 203// returns fgkXcMin
204 return fgkXcMin[imodule];
7c2017ae 205}
206//----------------------------------------------------------------------
207Float_t AliMUONTriggerConstants::XcMax(Int_t imodule)
208{
30178c30 209// returns fgkXcMax
210 return fgkXcMax[imodule];
7c2017ae 211}
212//----------------------------------------------------------------------
213Int_t AliMUONTriggerConstants::CircuitId(Int_t icircuit)
214{
30178c30 215// returns fgkCircuitId
216 return fgkCircuitId[icircuit];
7c2017ae 217}
218
219
220
221
222
223
224
225
226
227
228