]>
Commit | Line | Data |
---|---|---|
de39a0ff | 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 | ||
18 | ||
19 | ||
20 | ||
21 | Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3 | |
22 | */ | |
23 | ||
24 | #include "AliEMCALTriggerRawDigitMaker.h" | |
25 | #include "AliEMCALTriggerSTURawStream.h" | |
26 | #include "AliCaloRawAnalyzerFakeALTRO.h" | |
27 | #include "AliEMCALTriggerRawDigit.h" | |
28 | #include "AliCaloRawStreamV3.h" | |
29 | #include "AliRun.h" | |
30 | #include "AliRunLoader.h" | |
31 | #include "AliEMCAL.h" | |
32 | #include "AliCaloBunchInfo.h" | |
33 | #include "AliRawReader.h" | |
34 | #include "AliEMCALTriggerDCSConfigDB.h" | |
35 | #include "AliEMCALTriggerData.h" | |
36 | #include "AliEMCALTriggerPatch.h" | |
37 | #include "AliLog.h" | |
38 | ||
39 | #include "AliRawDataHeader.h" | |
40 | #include "AliRawVEvent.h" | |
41 | #include "AliRawEventHeaderBase.h" | |
42 | #include "AliRawEvent.h" | |
43 | #include "AliRawVEquipment.h" | |
44 | #include "AliRawEquipmentHeader.h" | |
45 | ||
7965f885 | 46 | #include "Riostream.h" |
47 | ||
92d9f317 | 48 | #include "AliCaloRawAnalyzerFactory.h" |
49 | ||
de39a0ff | 50 | namespace |
51 | { | |
52 | const Int_t kSTUEqId = 4652; | |
53 | } | |
54 | ||
55 | ClassImp(AliEMCALTriggerRawDigitMaker) | |
56 | ||
57 | //_______________ | |
58 | AliEMCALTriggerRawDigitMaker::AliEMCALTriggerRawDigitMaker() : TObject(), | |
59 | fGeometry(0x0), | |
60 | fRawReader(0x0), | |
61 | fCaloRawStream(0x0), | |
62 | fSTURawStream(0x0), | |
63 | fRawDigits(0x0), | |
64 | fRawAnalyzer(0x0), | |
65 | fDCSConfig(0x0), | |
66 | fTriggerData(0x0) | |
67 | { | |
a51e676d | 68 | // def ctor |
69 | ||
70 | AliRunLoader* rl = AliRunLoader::Instance(); | |
71 | if (rl && rl->GetAliRun()){ | |
72 | AliEMCAL * emcal = dynamic_cast<AliEMCAL*>(rl->GetAliRun()->GetDetector("EMCAL")); | |
73 | if(emcal) fGeometry = emcal->GetGeometry(); | |
74 | } | |
75 | ||
76 | if(!fGeometry) | |
77 | { | |
78 | AliDebug(1, Form("Using default geometry")); | |
79 | fGeometry = AliEMCALGeometry::GetInstance(AliEMCALGeometry::GetDefaultGeometryName()); | |
80 | } | |
81 | ||
92d9f317 | 82 | // fRawAnalyzer = new AliCaloRawAnalyzerFakeALTRO (); |
a51e676d | 83 | |
92d9f317 | 84 | fRawAnalyzer = (AliCaloRawAnalyzerFakeALTRO*)AliCaloRawAnalyzerFactory::CreateAnalyzer(kFakeAltro); |
85 | ||
a51e676d | 86 | fDCSConfig = AliEMCALTriggerDCSConfigDB::Instance(); |
87 | ||
88 | for (Int_t i=0; i<3072; i++) fRawDigitIndex[i] = -1; | |
de39a0ff | 89 | } |
90 | ||
91 | //_______________ | |
92 | AliEMCALTriggerRawDigitMaker::~AliEMCALTriggerRawDigitMaker() | |
93 | { | |
94 | // dtor | |
95 | } | |
96 | ||
97 | //_______________ | |
98 | void AliEMCALTriggerRawDigitMaker::SetIO(AliRawReader* reader, AliCaloRawStreamV3& in, AliEMCALTriggerSTURawStream& inSTU, TClonesArray* digits, AliEMCALTriggerData* data) | |
99 | { | |
100 | // | |
101 | fRawReader = reader; | |
102 | fCaloRawStream = ∈ | |
103 | fRawDigits = digits; | |
104 | fSTURawStream = &inSTU; | |
105 | fTriggerData = data; | |
106 | } | |
107 | ||
108 | //_______________ | |
109 | void AliEMCALTriggerRawDigitMaker::Add(const std::vector<AliCaloBunchInfo> &bunchlist) | |
110 | { | |
111 | // | |
112 | Int_t hwAdd = fCaloRawStream->GetHWAddress(); | |
113 | UShort_t iRCU = fCaloRawStream->GetDDLNumber() % 2; // 0/1 | |
114 | UShort_t iBranch = ( hwAdd >> 11 ) & 0x1; // 0/1 | |
115 | ||
116 | // TRU id | |
117 | Int_t iTRU = ( (iRCU << 1) | iBranch ) - 1; // 0..2 | |
118 | ||
119 | iTRU = (fCaloRawStream->GetModule() % 2) ? 2 * (2 - iTRU) + 1 : 2 * iTRU; | |
120 | ||
121 | iTRU += 6 * int(fCaloRawStream->GetModule()/2); | |
122 | ||
123 | if (AliDebugLevel()) | |
124 | { | |
125 | printf("===\n"); | |
126 | printf("| Hw Adress: 0x%x => SM# %2d / RCU# %d / Branch# %d / TRU# %2d / ADC# %2d\n", | |
127 | hwAdd, fCaloRawStream->GetModule(), iRCU, iBranch, iTRU, fCaloRawStream->GetColumn()); | |
128 | } | |
129 | ||
130 | Int_t idx; | |
131 | ||
132 | AliEMCALTriggerRawDigit* dig = 0x0; | |
133 | ||
134 | Int_t timeSamples[256]; for (Int_t j=0; j<256; j++) timeSamples[j] = 0; | |
135 | Int_t nSamples = 0; | |
136 | ||
137 | UInt_t iBin = bunchlist.at(0).GetStartBin(); | |
138 | Int_t iBunch = 0; | |
139 | ||
140 | for (UInt_t i = 0; i < bunchlist.size(); i++) | |
141 | { | |
142 | AliCaloBunchInfo bunch = bunchlist.at(i); | |
143 | ||
144 | if (iBin > bunch.GetStartBin()) | |
145 | { | |
146 | iBin = bunch.GetStartBin(); | |
147 | iBunch = i; | |
148 | } | |
149 | ||
150 | if (fCaloRawStream->GetColumn() < 96) | |
151 | { | |
152 | const UShort_t* sig = bunch.GetData(); | |
153 | Int_t startBin = bunch.GetStartBin(); | |
154 | ||
155 | for (Int_t iS = 0; iS < bunch.GetLength(); iS++) | |
156 | { | |
157 | Int_t time = startBin--; | |
158 | Int_t amp = sig[iS]; | |
159 | ||
160 | if (amp) timeSamples[nSamples++] = ((time << 12) & 0xFF000) | (amp & 0xFFF); | |
161 | ||
162 | if (AliDebugLevel()) | |
163 | { | |
164 | printf("ADC# %2d / time: %2d amplitude: %d\n", fCaloRawStream->GetColumn(), time, amp); | |
165 | } | |
166 | } | |
167 | } | |
168 | } | |
169 | ||
170 | if (fCaloRawStream->GetColumn() > 95 && fCaloRawStream->GetColumn() < 106) | |
171 | { | |
172 | Int_t nBits = (fCaloRawStream->GetColumn() == 105) ? 6 : 10; | |
173 | ||
174 | const UShort_t* sig = bunchlist.at(iBunch).GetData(); | |
175 | ||
176 | if (AliDebugLevel()) printf("| L0 id in F-ALTRO => bunch length is: %d\n", bunchlist.at(iBunch).GetLength()); | |
177 | ||
178 | for (Int_t i = 0; i < bunchlist.at(iBunch).GetLength(); i++) | |
179 | { | |
180 | if (AliDebugLevel()) printf("| sig[%3d]: %x\n",i,sig[i]); | |
181 | ||
182 | for (Int_t j = 0; j < nBits; j++) | |
183 | { | |
184 | if (sig[i] & ( 1 << j )) | |
185 | { | |
186 | if (AliDebugLevel()) | |
187 | { | |
188 | printf("| Add L0 patch index in TRU# %2d position %2d\n",iTRU,(fCaloRawStream->GetColumn() - 96) * 10 + j); | |
189 | } | |
190 | ||
191 | if (fGeometry->GetAbsFastORIndexFromTRU(iTRU, (fCaloRawStream->GetColumn() - 96) * 10 + j, idx)) | |
192 | { | |
193 | if (fRawDigitIndex[idx] >= 0) | |
194 | { | |
195 | dig = (AliEMCALTriggerRawDigit*)fRawDigits->At(fRawDigitIndex[idx]); | |
196 | } | |
197 | else | |
198 | { | |
54ad9360 | 199 | AliDebug(100,"L0: Trying to update trigger info of a non-existent digit!"); |
de39a0ff | 200 | |
201 | fRawDigitIndex[idx] = fRawDigits->GetEntriesFast(); | |
202 | new((*fRawDigits)[fRawDigits->GetEntriesFast()]) AliEMCALTriggerRawDigit(idx, 0x0, 0); | |
203 | ||
204 | dig = (AliEMCALTriggerRawDigit*)fRawDigits->At(fRawDigitIndex[idx]); | |
205 | } | |
206 | ||
de39a0ff | 207 | dig->SetL0Time(iBin); |
208 | } | |
209 | } | |
210 | } | |
211 | ||
212 | if (fCaloRawStream->GetColumn() == 105 && (sig[i] & (1 << 6))) | |
213 | { | |
214 | fTriggerData->SetL0Trigger(1, iTRU, 1); | |
215 | ||
216 | if (AliDebugLevel()) printf("=======TRU# %2d has issued a L0\n",iTRU); | |
217 | } | |
218 | ||
219 | iBin--; | |
220 | } | |
221 | } | |
222 | else | |
223 | { | |
224 | if (nSamples && fGeometry->GetAbsFastORIndexFromTRU(iTRU, fCaloRawStream->GetColumn(), idx)) | |
225 | { | |
226 | if (fRawDigitIndex[idx] < 0) | |
227 | { | |
228 | fRawDigitIndex[idx] = fRawDigits->GetEntriesFast(); | |
229 | new((*fRawDigits)[fRawDigits->GetEntriesFast()]) AliEMCALTriggerRawDigit(idx, timeSamples, nSamples); | |
230 | } | |
231 | else | |
232 | { | |
233 | dig = (AliEMCALTriggerRawDigit*)fRawDigits->At(fRawDigitIndex[idx]); | |
234 | dig->SetTimeSamples(timeSamples, nSamples); | |
235 | } | |
236 | ||
237 | if (AliDebugLevel()) | |
238 | { | |
239 | printf("| Add TRG digit of id# %4d from TRU# %2d ADC# %2d\n", idx, iTRU, fCaloRawStream->GetColumn()); | |
240 | ||
241 | dig = (AliEMCALTriggerRawDigit*)fRawDigits->At(fRawDigitIndex[idx]); | |
242 | dig->Print(""); | |
243 | ||
244 | Int_t iSm, iTru, iEta, iPhi, iD[4], iFor; | |
245 | if (fGeometry->GetPositionInTRUFromAbsFastORIndex(idx, iTru, iEta, iPhi)) | |
246 | { | |
247 | printf("| Position => TRU: %2d Eta: %2d Phi: %2d\n", iTru, iEta, iPhi); | |
248 | } | |
249 | ||
250 | if (fGeometry->GetPositionInSMFromAbsFastORIndex(idx, iSm, iEta, iPhi)) | |
251 | { | |
252 | printf("| Position => SM: %2d Eta: %2d Phi: %2d\n", iSm, iEta, iPhi); | |
253 | } | |
254 | ||
255 | if (fGeometry->GetCellIndexFromFastORIndex(idx, iD)) | |
256 | { | |
257 | printf("| tower iDs: "); | |
258 | for (Int_t i = 0; i < 4; i++) | |
259 | { | |
260 | printf("%5d ",iD[i]); | |
261 | } | |
262 | printf("\n"); | |
263 | ||
264 | for (Int_t i = 0; i < 4; i++) | |
265 | { | |
266 | if (fGeometry->GetFastORIndexFromCellIndex(iD[i], iFor)) | |
267 | { | |
268 | printf("| tower %d to F-OR %d\n",iD[i],iFor); | |
269 | } | |
270 | } | |
271 | } | |
272 | } | |
273 | } | |
274 | } | |
275 | } | |
276 | ||
277 | //_______________ | |
278 | void AliEMCALTriggerRawDigitMaker::PostProcess() | |
279 | { | |
280 | // | |
f20a8dd5 | 281 | AliDebug(2,"Start post processing the raw digit maker"); |
de39a0ff | 282 | Int_t idx; |
283 | ||
284 | AliEMCALTriggerRawDigit* dig = 0x0; | |
285 | ||
286 | Int_t sizeL1gsubr[2], sizeL1gpatch[2], sizeL1jsubr[2], sizeL1jpatch[2]; | |
287 | ||
288 | fDCSConfig->GetSTUSegmentation(sizeL1gsubr, sizeL1gpatch, sizeL1jsubr, sizeL1jpatch); | |
289 | ||
290 | fRawReader->Reset(); | |
291 | fRawReader->Select("EMCAL",44); | |
292 | ||
293 | Bool_t STUin = kFALSE; | |
294 | ||
295 | Int_t nSubEv = fRawReader->GetEvent()->GetNSubEvents(); | |
296 | ||
297 | for ( Int_t iSubEv=0; iSubEv<nSubEv; iSubEv++) | |
298 | { | |
299 | AliRawVEvent *SubEv = ((AliRawEvent*)fRawReader->GetEvent())->GetSubEvent(iSubEv); | |
300 | if ( !SubEv ) continue; | |
301 | ||
302 | for (Int_t iEquip = 0; iEquip < SubEv->GetNEquipments(); iEquip++) | |
303 | { | |
304 | Int_t eqId = SubEv->GetEquipment(iEquip)->GetEquipmentHeader()->GetId(); | |
305 | ||
306 | if (eqId == kSTUEqId) STUin = kTRUE; | |
307 | } | |
308 | } | |
309 | ||
310 | fRawReader->Reset(); | |
311 | ||
312 | if (STUin && fSTURawStream && fSTURawStream->ReadPayLoad()) | |
313 | { | |
314 | fTriggerData->SetL1GammaThreshold(fSTURawStream->GetL1GammaThreshold()); | |
315 | fTriggerData->SetL1JetThreshold( fSTURawStream->GetL1JetThreshold() ); | |
316 | ||
317 | Int_t iTRU, x, y; | |
318 | ||
319 | if (fSTURawStream->GetRawData()) | |
320 | { | |
321 | if (AliDebugLevel()) printf("| STU => TRU raw data are there!\n"); | |
322 | ||
323 | for (Int_t i = 0; i < 32; i++) | |
324 | { | |
325 | iTRU = fGeometry->GetTRUIndexFromSTUIndex(i); | |
326 | ||
327 | UInt_t adc[96]; for (Int_t j = 0; j < 96; j++) adc[j] = 0; | |
328 | ||
329 | fSTURawStream->GetADC(i, adc); | |
7965f885 | 330 | /* |
331 | ofstream outfile(Form("data_TRU%d.txt",i),ios_base::trunc); | |
de39a0ff | 332 | |
7965f885 | 333 | for (Int_t j = 0; j < 96; j++) |
334 | { | |
335 | outfile << adc[j] << endl; | |
336 | } | |
337 | ||
338 | outfile.close(); | |
339 | */ | |
de39a0ff | 340 | for (Int_t j = 0; j < 96; j++) |
341 | { | |
a61738e1 | 342 | //if (adc[j] < 5) continue; |
de39a0ff | 343 | |
344 | if (AliDebugLevel()) printf("| STU => TRU# %2d raw data: ADC# %2d: %d\n", iTRU, j, adc[j]); | |
345 | ||
346 | fGeometry->GetAbsFastORIndexFromTRU(iTRU, j, idx); | |
347 | ||
348 | if (fRawDigitIndex[idx] >= 0) | |
349 | { | |
350 | dig = (AliEMCALTriggerRawDigit*)fRawDigits->At(fRawDigitIndex[idx]); | |
351 | ||
a61738e1 | 352 | if (!dig->GetNSamples()) AliDebug(10,Form("TRG digit of id: %4d found in STU but has no time sample in F-ALTRO!",idx)); |
de39a0ff | 353 | } |
354 | else | |
355 | { | |
54ad9360 | 356 | AliDebug(10,Form("TRG digit of id: %4d found in STU but not in F-ALTRO! Create a new digit!",idx)); |
de39a0ff | 357 | |
358 | fRawDigitIndex[idx] = fRawDigits->GetEntriesFast(); | |
359 | new((*fRawDigits)[fRawDigits->GetEntriesFast()]) AliEMCALTriggerRawDigit(idx, 0x0, 0); | |
360 | ||
361 | dig = (AliEMCALTriggerRawDigit*)fRawDigits->At(fRawDigitIndex[idx]); | |
de39a0ff | 362 | } |
a61738e1 | 363 | |
364 | dig->SetL1TimeSum(adc[j]); | |
de39a0ff | 365 | } |
366 | } | |
367 | } | |
368 | ||
369 | // List of patches in EMCal coordinate system | |
de39a0ff | 370 | |
371 | for (Int_t i = 0; i < fSTURawStream->GetNL0GammaPatch(); i++) | |
372 | { | |
373 | fSTURawStream->GetL0GammaPatch(i, iTRU, x); | |
374 | ||
375 | iTRU = fGeometry->GetTRUIndexFromSTUIndex(iTRU); | |
376 | ||
377 | if (AliDebugLevel()) printf("| STU => Found L0 patch id: %2d in TRU# %2d\n", x, iTRU); | |
378 | ||
4753e7a2 | 379 | const Int_t sizePatchL0 = fDCSConfig->GetTRUSegmentation(iTRU) * fDCSConfig->GetTRUSegmentation(iTRU); |
de39a0ff | 380 | |
7965f885 | 381 | Int_t idFastOR[4]; |
382 | for (Int_t j = 0; j < 4; j++) idFastOR[j] = -1; | |
de39a0ff | 383 | |
384 | if (fGeometry->GetFastORIndexFromL0Index(iTRU, x, idFastOR, sizePatchL0)) | |
385 | { | |
a61738e1 | 386 | idx = idFastOR[1]; |
387 | ||
de39a0ff | 388 | Int_t px, py; |
a61738e1 | 389 | if (fGeometry->GetPositionInEMCALFromAbsFastORIndex(idx, px, py)) |
de39a0ff | 390 | { |
de39a0ff | 391 | if (AliDebugLevel()) printf("| STU => Add L0 patch at (%2d , %2d)\n", px, py); |
a61738e1 | 392 | |
393 | if (fRawDigitIndex[idx] >= 0) | |
394 | { | |
395 | dig = (AliEMCALTriggerRawDigit*)fRawDigits->At(fRawDigitIndex[idx]); | |
7965f885 | 396 | } |
a61738e1 | 397 | else |
398 | { | |
399 | fRawDigitIndex[idx] = fRawDigits->GetEntriesFast(); | |
400 | new((*fRawDigits)[fRawDigits->GetEntriesFast()]) AliEMCALTriggerRawDigit(idx, 0x0, 0); | |
de39a0ff | 401 | |
a61738e1 | 402 | dig = (AliEMCALTriggerRawDigit*)fRawDigits->At(fRawDigitIndex[idx]); |
7965f885 | 403 | } |
de39a0ff | 404 | |
a61738e1 | 405 | dig->SetTriggerBit(kL0,1); |
406 | } | |
407 | } | |
a61738e1 | 408 | } |
de39a0ff | 409 | |
410 | for (Int_t i = 0; i < fSTURawStream->GetNL1GammaPatch(); i++) | |
411 | { | |
412 | if (fSTURawStream->GetL1GammaPatch(i, iTRU, x, y)) // col (0..23), row (0..3) | |
413 | { | |
414 | iTRU = fGeometry->GetTRUIndexFromSTUIndex(iTRU); | |
415 | ||
416 | if (AliDebugLevel()) printf("| STU => Found L1 gamma patch at (%2d , %2d) in TRU# %2d\n", x, y, iTRU); | |
417 | ||
418 | Int_t vx = 23 - x, vy = y + 4 * int(iTRU / 2); // Position in EMCal frame | |
419 | ||
420 | if (iTRU % 2) vx += 24; // C side | |
421 | ||
422 | vx = vx - sizeL1gsubr[0] * sizeL1gpatch[0] + 1; | |
423 | ||
424 | if (vx >= 0) | |
425 | { | |
a61738e1 | 426 | if (fGeometry->GetAbsFastORIndexFromPositionInEMCAL(vx, vy, idx)) |
427 | { | |
de39a0ff | 428 | if (AliDebugLevel()) printf("| STU => Add L1 gamma patch at (%2d , %2d)\n", vx, vy); |
a61738e1 | 429 | |
430 | if (fRawDigitIndex[idx] >= 0) | |
431 | { | |
432 | dig = (AliEMCALTriggerRawDigit*)fRawDigits->At(fRawDigitIndex[idx]); | |
de39a0ff | 433 | } |
a61738e1 | 434 | else |
435 | { | |
436 | fRawDigitIndex[idx] = fRawDigits->GetEntriesFast(); | |
437 | new((*fRawDigits)[fRawDigits->GetEntriesFast()]) AliEMCALTriggerRawDigit(idx, 0x0, 0); | |
de39a0ff | 438 | |
a61738e1 | 439 | dig = (AliEMCALTriggerRawDigit*)fRawDigits->At(fRawDigitIndex[idx]); |
440 | } | |
de39a0ff | 441 | |
a61738e1 | 442 | dig->SetTriggerBit(kL1Gamma,1); |
443 | } | |
444 | } | |
445 | } | |
446 | } | |
de39a0ff | 447 | |
448 | for (Int_t i = 0; i < fSTURawStream->GetNL1JetPatch(); i++) | |
449 | { | |
450 | if (fSTURawStream->GetL1JetPatch(i, x, y)) // col (0,15), row (0,11) | |
451 | { | |
452 | if (AliDebugLevel()) printf("| STU => Found L1 jet patch at (%2d , %2d)\n", x, y); | |
453 | ||
454 | Int_t ix = sizeL1jsubr[0] * (11 - y - sizeL1jpatch[0] + 1); | |
455 | ||
456 | Int_t iy = sizeL1jsubr[1] * (15 - x - sizeL1jpatch[1] + 1); | |
457 | ||
458 | // FIXME: x = 0 || y = 0 (Olivier's CS) patches a lost? | |
459 | ||
460 | if (ix >= 0 && iy >= 0) | |
461 | { | |
a61738e1 | 462 | if (fGeometry->GetAbsFastORIndexFromPositionInEMCAL(ix, iy, idx)) |
463 | { | |
de39a0ff | 464 | if (AliDebugLevel()) printf("| STU => Add L1 jet patch at (%2d , %2d)\n", ix, iy); |
de39a0ff | 465 | |
a61738e1 | 466 | if (fRawDigitIndex[idx] >= 0) |
467 | { | |
468 | dig = (AliEMCALTriggerRawDigit*)fRawDigits->At(fRawDigitIndex[idx]); | |
469 | } | |
470 | else | |
471 | { | |
472 | fRawDigitIndex[idx] = fRawDigits->GetEntriesFast(); | |
473 | new((*fRawDigits)[fRawDigits->GetEntriesFast()]) AliEMCALTriggerRawDigit(idx, 0x0, 0); | |
de39a0ff | 474 | |
a61738e1 | 475 | dig = (AliEMCALTriggerRawDigit*)fRawDigits->At(fRawDigitIndex[idx]); |
476 | } | |
de39a0ff | 477 | |
a61738e1 | 478 | dig->SetTriggerBit(kL1Jet,1); |
479 | } | |
480 | } | |
481 | } | |
482 | } | |
de39a0ff | 483 | } |
484 | } | |
485 | ||
486 | //_______________ | |
487 | void AliEMCALTriggerRawDigitMaker::Reset() | |
488 | { | |
489 | // | |
490 | for (Int_t i = 0; i < 3072; i++) fRawDigitIndex[i] = -1; | |
491 | } | |
492 | ||
493 |