1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 //-----------------------------------------------------------------------------
19 // Container of EMCAL reconstruction parameters
20 // The purpose of this object is to store it to OCDB
21 // and retrieve it in the corresponding reconstruction class:
22 // AliEMCALClusterizer, AliEMCALPID, AliEMCALTracker ...
24 // Author: Yuri Kharlov
25 //-----------------------------------------------------------------------------
27 // --- Root header files
28 //#include "TObjArray.h"
30 // --- AliRoot header files ---
31 #include "AliCDBManager.h"
32 #include "AliCDBEntry.h"
33 #include "AliEMCALRecParam.h"
35 ClassImp(AliEMCALRecParam)
37 TObjArray* AliEMCALRecParam::fgkMaps =0; //ALTRO mappings
39 AliEMCALRecParam::AliEMCALRecParam() :
40 AliDetectorRecoParam(),
41 fClusteringThreshold(0.5),
46 fTimeCut(1.),// high value, accept all
47 fTimeMin(-1.),// small value, accept all
48 fTimeMax(1.),// high value, accept all//clustering
49 fClusterizerFlag(AliEMCALRecParam::kClusterizerv1),
54 fTrkCutAlphaMin(-50.0),
55 fTrkCutAlphaMax(50.0),
56 fTrkCutAngle(10000.0),
58 fTrkCutNTPC(20.0), //track matching
59 fHighLowGainFactor(16.0),
64 fRemoveBadChannels(kFALSE),
67 fFitLEDEvents(kFALSE)//raw signal
69 // default reco values
71 // PID parameters for Pb Pb from Lambda0 distributions fitted by
72 // a landau inverted + Gaussian for Gammas
73 // and a Landau +Gaussian for Pi0 and hadrons
74 // New parametrisation for
75 // lambda0^2 (=x): f(x) = normLandau*TMath::Landau(((1-mpvlandau)-x),mpvLandau,widthLandau)+normgaus*TMath::Gaus(x,meangaus,sigmagaus) for gammas
76 // lambda0^2 (=x): f(x) = normLandau*TMath::Landau(x,mpvLandau,widthLandau)+normgaus*TMath::Gaus(x,meangaus,sigmagaus) for pi0 & hadrons
79 // (index i) refers to each parameters of the f(lambda0^2)
86 // (index j) refers to the polynomial parameters of the fit of each parameter vs energy
89 // as a first step, all array elements are initialized to 0.0
91 for (i = 0; i < 6; i++) {
92 for (j = 0; j < 6; j++) {
93 fGamma[i][j] = fPiZero[i][j] = fHadron[i][j] = 0.;
94 fGamma1to10[i][j] = fHadron1to10[i][j]= 0.;
96 fGammaEnergyProb[i] =0.; // not yet implemented
97 fHadronEnergyProb[i]=0.;
98 fPiZeroEnergyProb[i]=0.; // not yet implemented
102 // Set here default parameters for Pb+Pb (high flux)
104 fGamma[0][0] = -7.656908e-01;
105 fGamma[0][1] = 2.352536e-01;
106 fGamma[0][2] = 1.555996e-02;
107 fGamma[0][3] = 2.243525e-04;
108 fGamma[0][4] = -2.560087e-06;
110 fGamma[1][0] = 6.500216e+00;
111 fGamma[1][1] = -2.564958e-01;
112 fGamma[1][2] = 1.967894e-01;
113 fGamma[1][3] = -3.982273e-04;
114 fGamma[1][4] = 2.797737e-06;
116 fGamma[2][0] = 2.416489e+00;
117 fGamma[2][1] = -1.601258e-01;
118 fGamma[2][2] = 3.126839e-02;
119 fGamma[2][3] = 3.387532e-04;
120 fGamma[2][4] = -4.089145e-06;
124 fGamma[3][1] = -2.696008e+00;
125 fGamma[3][2] = 6.920305e-01;
126 fGamma[3][3] = -2.281122e-03;
129 fGamma[4][0] = 2.281564e-01;
130 fGamma[4][1] = -7.575040e-02;
131 fGamma[4][2] = 3.813423e-01;
132 fGamma[4][3] = -1.243854e-04;
133 fGamma[4][4] = 1.232045e-06;
135 fGamma[5][0] = -3.290107e-01;
136 fGamma[5][1] = 3.707545e-02;
137 fGamma[5][2] = 2.917397e-03;
138 fGamma[5][3] = 4.695306e-05;
139 fGamma[5][4] = -3.572981e-07;
142 fHadron[0][0] = 1.519112e-01;
143 fHadron[0][1] = -8.267603e-02;
144 fHadron[0][2] = 1.914574e-02;
145 fHadron[0][3] = -2.677921e-04;
146 fHadron[0][4] = 5.447939e-06;
150 fHadron[1][1] = -7.549870e-02;
151 fHadron[1][2] = 3.930087e-01;
152 fHadron[1][3] = -2.368500e-03;
156 fHadron[2][1] = -2.463152e-02;
157 fHadron[2][2] = 1.349257e-01;
158 fHadron[2][3] = -1.089440e-03;
162 fHadron[3][1] = 5.101560e-01;
163 fHadron[3][2] = 1.458679e-01;
164 fHadron[3][3] = 4.903068e-04;
168 fHadron[4][1] = -6.693943e-03;
169 fHadron[4][2] = 2.444753e-01;
170 fHadron[4][3] = -5.553749e-05;
173 fHadron[5][0] = -4.414030e-01;
174 fHadron[5][1] = 2.292277e-01;
175 fHadron[5][2] = -2.433737e-02;
176 fHadron[5][3] = 1.758422e-03;
177 fHadron[5][4] = -3.001493e-05;
180 fPiZero[0][0] = 5.072157e-01;
181 fPiZero[0][1] = -5.352747e-01;
182 fPiZero[0][2] = 8.499259e-02;
183 fPiZero[0][3] = -3.687401e-03;
184 fPiZero[0][4] = 5.482280e-05;
187 fPiZero[1][0] = 4.590137e+02;
188 fPiZero[1][1] = -7.079341e+01;
189 fPiZero[1][2] = 4.990735e+00;
190 fPiZero[1][3] = -1.241302e-01;
191 fPiZero[1][4] = 1.065772e-03;
194 fPiZero[2][0] = 1.376415e+02;
195 fPiZero[2][1] = -3.031577e+01;
196 fPiZero[2][2] = 2.474338e+00;
197 fPiZero[2][3] = -6.903410e-02;
198 fPiZero[2][4] = 6.244089e-04;
201 fPiZero[3][1] = 1.145983e+00;
202 fPiZero[3][2] = -2.476052e-01;
203 fPiZero[3][3] = 1.367373e-02;
206 fPiZero[4][0] = -2.097586e+02;
207 fPiZero[4][1] = 6.300800e+01;
208 fPiZero[4][2] = -4.038906e+00;
209 fPiZero[4][3] = 1.088543e-01;
210 fPiZero[4][4] = -9.362485e-04;
212 fPiZero[5][0] = -1.671477e+01;
213 fPiZero[5][1] = 2.995415e+00;
214 fPiZero[5][2] = -6.040360e-02;
215 fPiZero[5][3] = -6.137459e-04;
216 fPiZero[5][4] = 1.847328e-05;
218 fHadronEnergyProb[0]= 0.;
219 fHadronEnergyProb[1]= 0.;
220 fHadronEnergyProb[2]= 6.188452e-02;
221 fHadronEnergyProb[3]= 2.030230e+00;
222 fHadronEnergyProb[4]= -6.402242e-02;
229 fSSPars[4] = -0.4195;
234 fPar5[1] = -0.007381;
237 fPar6[1] = 0.0001228;
242 //-----------------------------------------------------------------------------
243 AliEMCALRecParam::AliEMCALRecParam(const AliEMCALRecParam& rp) :
244 AliDetectorRecoParam(),
245 fClusteringThreshold(rp.fClusteringThreshold),
247 fMinECut(rp.fMinECut),
249 fLocMaxCut(rp.fLocMaxCut),
250 fTimeCut(rp.fTimeCut),
251 fTimeMin(rp.fTimeMin),
252 fTimeMax(rp.fTimeMax),//clustering
253 fClusterizerFlag(rp.fClusterizerFlag),
254 fTrkCutX(rp.fTrkCutX),
255 fTrkCutY(rp.fTrkCutY),
256 fTrkCutZ(rp.fTrkCutZ),
257 fTrkCutR(rp.fTrkCutR),
258 fTrkCutAlphaMin(rp.fTrkCutAlphaMin),
259 fTrkCutAlphaMax(rp.fTrkCutAlphaMax),
260 fTrkCutAngle(rp.fTrkCutAngle),
261 fTrkCutNITS(rp.fTrkCutNITS),
262 fTrkCutNTPC(rp.fTrkCutNTPC), // track matching
263 fHighLowGainFactor(rp.fHighLowGainFactor),
264 fOrderParameter(rp.fOrderParameter),
266 fNoiseThreshold(rp.fNoiseThreshold),
267 fNPedSamples(rp.fNPedSamples),
268 fRemoveBadChannels(rp.fRemoveBadChannels),
269 fFittingAlgorithm(rp.fFittingAlgorithm),
270 fUseFALTRO(rp.fUseFALTRO),
271 fFitLEDEvents(rp.fFitLEDEvents) //raw signal
277 for (i = 0; i < 6; i++) {
278 for (j = 0; j < 6; j++) {
279 fGamma[i][j] = rp.fGamma[i][j];
280 fGamma1to10[i][j] = rp.fGamma1to10[i][j];
281 fHadron[i][j] = rp.fHadron[i][j];
282 fHadron1to10[i][j] = rp.fHadron1to10[i][j];
283 fPiZero[i][j] = rp.fPiZero[i][j];
285 fGammaEnergyProb[i] = rp.fGammaEnergyProb[i];
286 fPiZeroEnergyProb[i] = rp.fPiZeroEnergyProb[i];
287 fHadronEnergyProb[i] = rp.fHadronEnergyProb[i];
292 for (i = 0; i < 8; i++) {
293 fSSPars[i] = rp.fSSPars[i];
295 for (i = 0; i < 3; i++) {
296 fPar5[i] = rp.fPar5[i];
297 fPar6[i] = rp.fPar6[i];
302 //-----------------------------------------------------------------------------
303 AliEMCALRecParam& AliEMCALRecParam::operator = (const AliEMCALRecParam& rp)
305 //assignment operator
308 fClusteringThreshold = rp.fClusteringThreshold;
310 fMinECut = rp.fMinECut;
311 fUnfold = rp.fUnfold;
312 fLocMaxCut = rp.fLocMaxCut;
313 fTimeCut = rp.fTimeCut;
314 fTimeMax = rp.fTimeMax;
315 fTimeMin = rp.fTimeMin;//clustering
316 fClusterizerFlag = rp.fClusterizerFlag;
317 fTrkCutX = rp.fTrkCutX;
318 fTrkCutY = rp.fTrkCutY;
319 fTrkCutZ = rp.fTrkCutZ;
320 fTrkCutR = rp.fTrkCutR;
321 fTrkCutAlphaMin = rp.fTrkCutAlphaMin;
322 fTrkCutAlphaMax = rp.fTrkCutAlphaMax;
323 fTrkCutAngle = rp.fTrkCutAngle;
324 fTrkCutNITS = rp.fTrkCutNITS;
325 fTrkCutNTPC = rp.fTrkCutNTPC; //track matching
326 fHighLowGainFactor = rp.fHighLowGainFactor;
327 fOrderParameter = rp.fOrderParameter;
329 fNoiseThreshold = rp.fNoiseThreshold;
330 fNPedSamples = rp.fNPedSamples;
331 fRemoveBadChannels = rp.fRemoveBadChannels;
332 fFittingAlgorithm = rp.fFittingAlgorithm;
333 fUseFALTRO = rp.fUseFALTRO;
334 fFitLEDEvents = rp.fFitLEDEvents;//raw signal
338 for (i = 0; i < 6; i++) {
339 for (j = 0; j < 6; j++) {
340 fGamma[i][j] = rp.fGamma[i][j];
341 fGamma1to10[i][j] = rp.fGamma1to10[i][j];
342 fHadron[i][j] = rp.fHadron[i][j];
343 fHadron1to10[i][j] = rp.fHadron1to10[i][j];
344 fPiZero[i][j] = rp.fPiZero[i][j];
346 fGammaEnergyProb[i] = rp.fGammaEnergyProb[i];
347 fPiZeroEnergyProb[i] = rp.fPiZeroEnergyProb[i];
348 fHadronEnergyProb[i] = rp.fHadronEnergyProb[i];
351 for (i = 0; i < 8; i++) {
352 fSSPars[i] = rp.fSSPars[i];
354 for (i = 0; i < 3; i++) {
355 fPar5[i] = rp.fPar5[i];
356 fPar6[i] = rp.fPar6[i];
365 //-----------------------------------------------------------------------------
366 AliEMCALRecParam* AliEMCALRecParam::GetDefaultParameters()
368 //default parameters for the reconstruction
369 AliEMCALRecParam* params = GetLowFluxParam();
370 params->SetName("Default - p+p");
371 params->SetTitle("Default - p+p");
376 //-----------------------------------------------------------------------------
377 AliEMCALRecParam* AliEMCALRecParam::GetCalibParam()
379 //parameters for the reconstruction of calibration runs
380 AliEMCALRecParam* params = GetLowFluxParam();
381 //params->SetClusteringThreshold(0.1); // 100 MeV
382 //params->SetMinECut(0.01); //10 MeV
383 params->SetName("Calibration - LED");
384 params->SetTitle("Calibration - LED");
385 params->SetEventSpecie(AliRecoParam::kCalib);
391 //-----------------------------------------------------------------------------
392 AliEMCALRecParam* AliEMCALRecParam::GetCosmicParam()
394 //parameters for the reconstruction of cosmic runs
395 AliEMCALRecParam* params = GetLowFluxParam();
396 //params->SetClusteringThreshold(0.1); // 100 MeV
397 //params->SetMinECut(0.01); //10 MeV
398 params->SetName("Cosmic");
399 params->SetTitle("Cosmic");
400 params->SetEventSpecie(AliRecoParam::kCosmic);
407 //-----------------------------------------------------------------------------
408 AliEMCALRecParam* AliEMCALRecParam::GetLowFluxParam()
410 //low flux/multiplicity ("p+p") parameters for the reconstruction
411 AliEMCALRecParam* params = new AliEMCALRecParam();
412 params->SetClusteringThreshold(0.1); // 100 MeV
413 params->SetMinECut(0.01); //10 MeV
414 params->SetName("Low Flux - p+p");
415 params->SetTitle("Low Flux - p+p");
416 params->SetEventSpecie(AliRecoParam::kLowMult);
419 //PID parameters for pp implemented
420 // as a first step, all array elements are initialized to 0.0
422 for (i = 0; i < 6; i++) {
423 for (j = 0; j < 6; j++) {
424 params->SetGamma(i,j,0.);
425 params->SetGamma1to10(i,j,0.);
426 params->SetHadron(i,j,0.);
427 params->SetHadron1to10(i,j,0.);
428 params->SetPiZero(i,j,0.);
431 params->SetGammaEnergyProb(i,0.); // not yet implemented
432 params->SetHadronEnergyProb(i,0.);
433 params->SetPiZeroEnergyProb(i,0.); // not yet implemented
437 params->SetGamma(0,0,-7.656908e-01);
438 params->SetGamma(0,1,2.352536e-01);
439 params->SetGamma(0,2,1.555996e-02);
440 params->SetGamma(0,3,2.243525e-04);
441 params->SetGamma(0,4,-2.560087e-06);
443 params->SetGamma(1,0,6.500216e+00);
444 params->SetGamma(1,1,-2.564958e-01);
445 params->SetGamma(1,2,1.967894e-01);
446 params->SetGamma(1,3,-3.982273e-04);
447 params->SetGamma(1,4,2.797737e-06);
449 params->SetGamma(2,0,2.416489e+00);
450 params->SetGamma(2,1,-1.601258e-01);
451 params->SetGamma(2,2,3.126839e-02);
452 params->SetGamma(2,3,3.387532e-04);
453 params->SetGamma(2,4,-4.089145e-06);
455 params->SetGamma(3,0,0.);
456 params->SetGamma(3,1,-2.696008e+00);
457 params->SetGamma(3,2, 6.920305e-01);
458 params->SetGamma(3,3,-2.281122e-03);
459 params->SetGamma(3,4,0.);
461 params->SetGamma(4,0,2.281564e-01);
462 params->SetGamma(4,1,-7.575040e-02);
463 params->SetGamma(4,2,3.813423e-01);
464 params->SetGamma(4,3,-1.243854e-04);
465 params->SetGamma(4,4,1.232045e-06);
467 params->SetGamma(5,0,-3.290107e-01);
468 params->SetGamma(5,1,3.707545e-02);
469 params->SetGamma(5,2,2.917397e-03);
470 params->SetGamma(5,3,4.695306e-05);
471 params->SetGamma(5,4,-3.572981e-07);
473 params->SetHadron(0,0,9.482243e-01);
474 params->SetHadron(0,1,-2.780896e-01);
475 params->SetHadron(0,2, 2.223507e-02);
476 params->SetHadron(0,3,7.294263e-04);
477 params->SetHadron(0,4,-5.665872e-06);
479 params->SetHadron(1,0,0.);
480 params->SetHadron(1,1,0.);
481 params->SetHadron(1,2,2.483298e-01);
482 params->SetHadron(1,3,0.);
483 params->SetHadron(1,4,0.);
485 params->SetHadron(2,0,-5.601199e+00);
486 params->SetHadron(2,1,2.097382e+00);
487 params->SetHadron(2,2,-2.307965e-01);
488 params->SetHadron(2,3,9.206871e-03);
489 params->SetHadron(2,4,-8.887548e-05);
491 params->SetHadron(3,0,6.543101e+00);
492 params->SetHadron(3,1,-2.305203e+00);
493 params->SetHadron(3,2,2.761673e-01);
494 params->SetHadron(3,3,-5.465855e-03);
495 params->SetHadron(3,4,2.784329e-05);
497 params->SetHadron(4,0,-2.443530e+01);
498 params->SetHadron(4,1,8.902578e+00);
499 params->SetHadron(4,2,-5.265901e-01);
500 params->SetHadron(4,3,2.549111e-02);
501 params->SetHadron(4,4,-2.196801e-04);
503 params->SetHadron(5,0,2.102007e-01);
504 params->SetHadron(5,1,-3.844418e-02);
505 params->SetHadron(5,2,1.234682e-01);
506 params->SetHadron(5,3,-3.866733e-03);
507 params->SetHadron(5,4,3.362719e-05);
509 params->SetPiZero(0,0,5.07215e-01);
510 params->SetPiZero(0,1,-5.35274e-01);
511 params->SetPiZero(0,2,8.49925e-02);
512 params->SetPiZero(0,3,-3.68740e-03);
513 params->SetPiZero(0,4,5.48228e-05);
515 params->SetPiZero(1,0,4.590137e+02);
516 params->SetPiZero(1,1,-7.079341e+01);
517 params->SetPiZero(1,2,4.990735e+00);
518 params->SetPiZero(1,3,-1.241302e-01);
519 params->SetPiZero(1,4,1.065772e-03);
521 params->SetPiZero(2,0,1.376415e+02);
522 params->SetPiZero(2,1,-3.031577e+01);
523 params->SetPiZero(2,2,2.474338e+00);
524 params->SetPiZero(2,3,-6.903410e-02);
525 params->SetPiZero(2,4,6.244089e-04);
527 params->SetPiZero(3,0,0.);
528 params->SetPiZero(3,1,1.145983e+00);
529 params->SetPiZero(3,2,-2.476052e-01);
530 params->SetPiZero(3,3,1.367373e-02);
531 params->SetPiZero(3,4,0.);
533 params->SetPiZero(4,0,-2.09758e+02);
534 params->SetPiZero(4,1,6.30080e+01);
535 params->SetPiZero(4,2,-4.03890e+00);
536 params->SetPiZero(4,3,1.08854e-01);
537 params->SetPiZero(4,4,-9.36248e-04);
539 params->SetPiZero(5,0,-1.671477e+01);
540 params->SetPiZero(5,1,2.995415e+00);
541 params->SetPiZero(5,2,-6.040360e-02);
542 params->SetPiZero(5,3,-6.137459e-04);
543 params->SetPiZero(5,4,1.847328e-05);
546 // params->SetHadronEnergyProb(0,0.);
547 // params->SetHadronEnergyProb(1,0.);
548 // params->SetHadronEnergyProb(2,1.);
549 // params->SetHadronEnergyProb(3,0.);
550 // params->SetHadronEnergyProb(4,0.);
552 params->SetHadronEnergyProb(0, 4.767543e-02);
553 params->SetHadronEnergyProb(1,-1.537523e+00);
554 params->SetHadronEnergyProb(2,2.956727e-01);
555 params->SetHadronEnergyProb(3,-3.051022e+01);
556 params->SetHadronEnergyProb(4,-6.036931e-02);
560 // AliDebug(1,Form("PID parameters (%d, %d): fGamma=%.3f, fPi=%.3f, fHadron=%.3f",
561 // ii,jj, params->GetGamma(ii,jj), params->GetPiZero(ii,jj), params->GetHadron(ii,jj)));
562 // cout << " Low Flux Parameters fGamma [2][2] = " << params->GetGamma(2,2) << endl;
563 // cout << " Low Flux Parameters fHadron [2][2] = " << params->GetHadron(2,2) << endl;
570 //-----------------------------------------------------------------------------
571 AliEMCALRecParam* AliEMCALRecParam::GetHighFluxParam()
573 //high flux/multiplicity ("Pb+Pb") parameters for the reconstruction
574 AliEMCALRecParam* params = new AliEMCALRecParam();
575 //For now, same as default
576 //if later these need to be modified, here's where it is done
577 params->SetName("High Flux - Pb+Pb");
578 params->SetTitle("High Flux - Pb+Pb");
579 params->SetEventSpecie(AliRecoParam::kHighMult);
585 //-----------------------------------------------------------------------------
586 void AliEMCALRecParam::Print(Option_t * opt) const
588 // Print reconstruction parameters to stdout
589 // if nothing is specified print all, if "reco" just clusterization/track matching
590 // if "pid", just PID parameters, if "raw", just raw utils parameters.
591 if(!strcmp("",opt) || !strcmp("reco",opt)){
592 AliInfo(Form("Clusterizer selected: %d", fClusterizerFlag));
593 AliInfo(Form("Clusterization parameters :\n fClusteringThreshold=%.3f,\n fW0=%.3f,\n fMinECut=%.3f,\n fUnfold=%d,\n fLocMaxCut=%.3f,\n fTimeCut=%2.1f ns\n fTimeMin=%2.1f ns\n fTimeMax=%2.1f ns\n",
594 fClusteringThreshold,fW0,fMinECut,fUnfold,fLocMaxCut,fTimeCut*1.e9,fTimeMin*1e9,fTimeMax*1e9));
596 AliInfo(Form("Track-matching cuts :\n x %f, y %f, z %f, R %f \n alphaMin %f, alphaMax %f, Angle %f, NITS %f, NTPC %f\n",
597 fTrkCutX, fTrkCutY, fTrkCutZ, fTrkCutR,fTrkCutAlphaMin,fTrkCutAlphaMax, fTrkCutAngle,fTrkCutNITS,fTrkCutNTPC));
599 AliInfo(Form("Unfolding parameters, Shower shape function :\n"));
600 for(Int_t i = 0; i < 8; i++){
601 printf(" %f, ", fSSPars[i]);
603 printf("\n Parameter 5 : ");
604 for(Int_t i = 0; i < 3; i++){
605 printf(" %f, ", fPar5[i]);
607 printf("\n Parameter 6 : ");
608 for(Int_t i = 0; i < 3; i++){
609 printf(" %f, ", fPar6[i]);
614 if(!strcmp("",opt) || !strcmp("pid",opt)){
615 AliInfo(Form("PID parameters, Gamma :\n"));
616 for(Int_t i = 0; i < 6; i++){
617 for(Int_t j = 0; j < 6; j++){
618 printf(" %f, ", fGamma[i][j]);
624 AliInfo(Form("PID parameters, Hadron :\n"));
625 for(Int_t i = 0; i < 6; i++){
626 for(Int_t j = 0; j < 6; j++){
627 printf(" %f, ", fHadron[i][j]);
634 AliInfo(Form("PID parameters, Pi0zero :\n"));
635 for(Int_t i = 0; i < 6; i++){
636 for(Int_t j = 0; j < 6; j++){
637 printf(" %f, ", fPiZero[i][j]);
646 if(!strcmp("",opt) || !strcmp("raw",opt)){
647 AliInfo(Form("Raw signal parameters: \n gain factor=%f, order=%d, tau=%f, noise threshold=%d, nped samples=%d \n",
648 fHighLowGainFactor,fOrderParameter,fTau,fNoiseThreshold,fNPedSamples));
649 AliInfo(Form("Raw signal: remove bad channels? %d, \n \t with fitting algorithm %d, \n \t Use FALTRO %d, Fit LED events %d \n",
650 fRemoveBadChannels, fFittingAlgorithm, fUseFALTRO, fFitLEDEvents));
654 //-----------------------------------------------------------------------------
655 const TObjArray* AliEMCALRecParam::GetMappings()
657 //Returns array of AliAltroMappings for RCU0..RCUX.
658 //If not found, read it from OCDB.
660 //Quick check as follows:
661 // root [0] AliCDBManager::Instance()->SetDefaultStorage("local://$ALICE_ROOT"
662 // root [1] AliCDBManager::Instance()->SetRun(1);
663 // root [2] TObjArray* maps = AliEMCALRecParam::GetMappings();
664 // root [3] maps->Print();
666 if(fgkMaps) return fgkMaps;
668 AliCDBEntry* entry = AliCDBManager::Instance()->Get("EMCAL/Calib/Mapping");
670 fgkMaps = (TObjArray*)entry->GetObject();