]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALRecParam.cxx
1) Set reconstruction parameter fTimeCut (maximum digit time) in OCDB
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALRecParam.cxx
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 /* $Id$ */
17
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 ...
23 //
24 // Author: Yuri Kharlov
25 //-----------------------------------------------------------------------------
26
27 // --- Root header files
28 //#include "TObjArray.h"
29
30 // --- AliRoot header files ---
31 #include "AliCDBManager.h"
32 #include "AliCDBEntry.h"
33 #include "AliEMCALRecParam.h"
34
35 ClassImp(AliEMCALRecParam)
36   
37   TObjArray* AliEMCALRecParam::fgkMaps =0; //ALTRO mappings 
38
39 AliEMCALRecParam::AliEMCALRecParam() :
40   AliDetectorRecoParam(),
41   fClusteringThreshold(0.5),
42   fW0(4.5),
43   fMinECut(0.45), 
44   fUnfold(kFALSE), 
45   fLocMaxCut(0.03), 
46   fTimeCut(1.),// high value, accept all//clustering
47   fTrkCutX(6.0), 
48   fTrkCutY(6.0), 
49   fTrkCutZ(6.0),  
50   fTrkCutR(10.0),
51   fTrkCutAlphaMin(-50.0), 
52   fTrkCutAlphaMax(50.0), 
53   fTrkCutAngle(10000.0),
54   fTrkCutNITS(3.0),
55   fTrkCutNTPC(20.0), //track matching
56   fHighLowGainFactor(16.0), 
57   fOrderParameter(2), 
58   fTau(2.35), 
59   fNoiseThreshold(3), 
60   fNPedSamples(5) //raw signal
61 {
62   // default reco values
63   
64   // PID parameters for Pb Pb from Lambda0 distributions fitted by  
65   // a landau inverted + Gaussian for Gammas
66   // and a Landau +Gaussian for Pi0 and hadrons 
67   // New parametrisation for 
68   // lambda0^2 (=x): f(x) = normLandau*TMath::Landau(((1-mpvlandau)-x),mpvLandau,widthLandau)+normgaus*TMath::Gaus(x,meangaus,sigmagaus) for gammas
69   // lambda0^2 (=x): f(x) = normLandau*TMath::Landau(x,mpvLandau,widthLandau)+normgaus*TMath::Gaus(x,meangaus,sigmagaus) for pi0 & hadrons
70   
71   // See AliEMCALPid 
72   // (index i) refers to each parameters of the f(lambda0^2) 
73   // i=0: normGaus
74   // i=1: meanGaus
75   // i=2: sigmaGaus
76   // i=3: normLandau
77   // i=4: mpvLandau
78   // i=5: sigmaLanda
79   // (index j) refers to the polynomial parameters of the fit of each parameter vs energy
80   // Pb Pb
81   
82   // as a first step, all array elements are initialized to 0.0
83   Int_t i, j;
84   for (i = 0; i < 6; i++) {
85     for (j = 0; j < 6; j++) {      
86       fGamma[i][j] =  fPiZero[i][j] = fHadron[i][j] = 0.; 
87       fGamma1to10[i][j] =  fHadron1to10[i][j]= 0.;
88     }
89     fGammaEnergyProb[i]=0.; // not yet implemented
90     fHadronEnergyProb[i]=0.; 
91     fPiZeroEnergyProb[i]=0.; // not yet implemented
92     
93     
94   }
95   // Set here default parameters for Pb+Pb (high flux)
96   
97   fGamma[0][0] = -7.656908e-01; 
98   fGamma[0][1] =  2.352536e-01; 
99   fGamma[0][2] =  1.555996e-02;
100   fGamma[0][3] =  2.243525e-04;
101   fGamma[0][4] = -2.560087e-06;
102   
103   fGamma[1][0] =  6.500216e+00;
104   fGamma[1][1] = -2.564958e-01;
105   fGamma[1][2] =  1.967894e-01;
106   fGamma[1][3] = -3.982273e-04;
107   fGamma[1][4] =  2.797737e-06;
108   
109   fGamma[2][0] =  2.416489e+00;
110   fGamma[2][1] = -1.601258e-01;
111   fGamma[2][2] =  3.126839e-02;
112   fGamma[2][3] =  3.387532e-04;
113   fGamma[2][4] = -4.089145e-06;
114   
115   
116   fGamma[3][0] =  0.;
117   fGamma[3][1] = -2.696008e+00;
118   fGamma[3][2] =  6.920305e-01;
119   fGamma[3][3] = -2.281122e-03;
120   fGamma[3][4] =  0.;
121   
122   fGamma[4][0] =  2.281564e-01;
123   fGamma[4][1] = -7.575040e-02;
124   fGamma[4][2] =  3.813423e-01;
125   fGamma[4][3] = -1.243854e-04;
126   fGamma[4][4] =  1.232045e-06;
127   
128   fGamma[5][0] = -3.290107e-01;
129   fGamma[5][1] =  3.707545e-02;
130   fGamma[5][2] =  2.917397e-03;
131   fGamma[5][3] =  4.695306e-05;
132   fGamma[5][4] = -3.572981e-07;
133   
134   
135   fHadron[0][0] =   1.519112e-01;
136   fHadron[0][1] = -8.267603e-02;
137   fHadron[0][2] =  1.914574e-02;
138   fHadron[0][3] = -2.677921e-04;
139   fHadron[0][4] =  5.447939e-06;
140   
141   
142   fHadron[1][0] = 0.;
143   fHadron[1][1] = -7.549870e-02; 
144   fHadron[1][2] = 3.930087e-01;
145   fHadron[1][3] = -2.368500e-03; 
146   fHadron[1][4] = 0.;
147   
148   
149   fHadron[2][0] = 0.;
150   fHadron[2][1] =  -2.463152e-02;
151   fHadron[2][2] = 1.349257e-01;
152   fHadron[2][3] = -1.089440e-03;
153   fHadron[2][4] = 0.;
154   
155   
156   
157   fHadron[3][0] = 0.;
158   fHadron[3][1] = 5.101560e-01;
159   fHadron[3][2] = 1.458679e-01;
160   fHadron[3][3] = 4.903068e-04;
161   fHadron[3][4] = 0.;
162   
163   fHadron[4][0] = 0.;
164   fHadron[4][1] = -6.693943e-03; 
165   fHadron[4][2] =  2.444753e-01;
166   fHadron[4][3] = -5.553749e-05;
167   fHadron[4][4] = 0.;
168   
169   fHadron[5][0] = -4.414030e-01;
170   fHadron[5][1] = 2.292277e-01;
171   fHadron[5][2] = -2.433737e-02;
172   fHadron[5][3] =  1.758422e-03;
173   fHadron[5][4] = -3.001493e-05;
174   
175   
176   fPiZero[0][0] =  5.072157e-01;
177   fPiZero[0][1] = -5.352747e-01;
178   fPiZero[0][2] =  8.499259e-02;
179   fPiZero[0][3] = -3.687401e-03;
180   fPiZero[0][4] =  5.482280e-05;
181   
182   
183   fPiZero[1][0] =  4.590137e+02; 
184   fPiZero[1][1] = -7.079341e+01;
185   fPiZero[1][2] =  4.990735e+00;
186   fPiZero[1][3] = -1.241302e-01;
187   fPiZero[1][4] =  1.065772e-03;
188   
189   
190   fPiZero[2][0] =  1.376415e+02;
191   fPiZero[2][1] = -3.031577e+01;
192   fPiZero[2][2] =  2.474338e+00;
193   fPiZero[2][3] = -6.903410e-02;
194   fPiZero[2][4] =  6.244089e-04;
195   
196   fPiZero[3][0] = 0.;
197   fPiZero[3][1] =  1.145983e+00;
198   fPiZero[3][2] = -2.476052e-01;
199   fPiZero[3][3] =  1.367373e-02;
200   fPiZero[3][4] = 0.;
201   
202   fPiZero[4][0] = -2.097586e+02;
203   fPiZero[4][1] =  6.300800e+01;
204   fPiZero[4][2] = -4.038906e+00;
205   fPiZero[4][3] =  1.088543e-01;
206   fPiZero[4][4] = -9.362485e-04;
207   
208   fPiZero[5][0] = -1.671477e+01; 
209   fPiZero[5][1] =  2.995415e+00;
210   fPiZero[5][2] = -6.040360e-02;
211   fPiZero[5][3] = -6.137459e-04;
212   fPiZero[5][4] =  1.847328e-05;
213     
214   fHadronEnergyProb[0]= 0.;
215   fHadronEnergyProb[1]= 0.;
216   fHadronEnergyProb[2]=  6.188452e-02;
217   fHadronEnergyProb[3]=  2.030230e+00;
218   fHadronEnergyProb[4]= -6.402242e-02;
219   
220   
221 }
222
223
224
225 //-----------------------------------------------------------------------------
226 AliEMCALRecParam::AliEMCALRecParam(const AliEMCALRecParam& rp) :
227   AliDetectorRecoParam(),
228   fClusteringThreshold(rp.fClusteringThreshold),
229   fW0(rp.fW0),
230   fMinECut(rp.fMinECut), 
231   fUnfold(rp.fUnfold), 
232   fLocMaxCut(rp.fLocMaxCut), 
233   fTimeCut(rp.fTimeCut),//clustering
234   fTrkCutX(rp.fTrkCutX), 
235   fTrkCutY(rp.fTrkCutY), 
236   fTrkCutZ(rp.fTrkCutZ),  
237   fTrkCutR(rp.fTrkCutR),
238   fTrkCutAlphaMin(rp.fTrkCutAlphaMin), 
239   fTrkCutAlphaMax(rp.fTrkCutAlphaMax), 
240   fTrkCutAngle(rp.fTrkCutAngle), 
241   fTrkCutNITS(rp.fTrkCutNITS),
242   fTrkCutNTPC(rp.fTrkCutNTPC), // track matching
243   fHighLowGainFactor(rp.fHighLowGainFactor), 
244   fOrderParameter(rp.fOrderParameter), 
245   fTau(rp.fTau), 
246   fNoiseThreshold(rp.fNoiseThreshold), 
247   fNPedSamples(rp.fNPedSamples) //raw signal
248 {
249   //copy constructor
250   
251   //PID values
252   Int_t i, j;
253   for (i = 0; i < 6; i++) {
254     for (j = 0; j < 6; j++) {
255       fGamma[i][j] = rp.fGamma[i][j];
256       fGamma1to10[i][j] = rp.fGamma1to10[i][j];
257       fHadron[i][j] = rp.fHadron[i][j];
258       fHadron1to10[i][j] = rp.fHadron1to10[i][j];
259       fPiZero[i][j] = rp.fPiZero[i][j];
260     }
261     fGammaEnergyProb[i] = rp.fGammaEnergyProb[i];
262     fPiZeroEnergyProb[i] = rp.fPiZeroEnergyProb[i];
263     fHadronEnergyProb[i] = rp.fHadronEnergyProb[i];
264     
265   }
266   
267 }
268
269 //-----------------------------------------------------------------------------
270 AliEMCALRecParam& AliEMCALRecParam::operator = (const AliEMCALRecParam& rp)
271 {
272   //assignment operator
273   
274   if(this != &rp) {
275     fClusteringThreshold = rp.fClusteringThreshold;
276     fW0 = rp.fW0;
277     fMinECut = rp.fMinECut;
278     fUnfold = rp.fUnfold;
279     fLocMaxCut = rp.fLocMaxCut; 
280         fTimeCut = rp.fTimeCut;//clustering
281     fTrkCutX = rp.fTrkCutX;
282     fTrkCutY = rp.fTrkCutY;
283     fTrkCutZ = rp.fTrkCutZ;
284     fTrkCutR = rp.fTrkCutR;
285     fTrkCutAlphaMin = rp.fTrkCutAlphaMin;
286     fTrkCutAlphaMax = rp.fTrkCutAlphaMax;
287     fTrkCutAngle = rp.fTrkCutAngle; 
288     fTrkCutNITS = rp.fTrkCutNITS;
289     fTrkCutNTPC = rp.fTrkCutNTPC; //track matching
290     fHighLowGainFactor = rp.fHighLowGainFactor; 
291     fOrderParameter = rp.fOrderParameter;
292     fTau = rp.fTau;
293     fNoiseThreshold = rp.fNoiseThreshold;
294     fNPedSamples = rp.fNPedSamples; //raw signal
295     
296     //PID values
297     Int_t i, j;
298     for (i = 0; i < 6; i++) {
299       for (j = 0; j < 6; j++) {
300         fGamma[i][j] = rp.fGamma[i][j];
301         fGamma1to10[i][j] = rp.fGamma1to10[i][j];
302         fHadron[i][j] = rp.fHadron[i][j];
303         fHadron1to10[i][j] = rp.fHadron1to10[i][j];
304         fPiZero[i][j] = rp.fPiZero[i][j];
305       }
306       fGammaEnergyProb[i] = rp.fGammaEnergyProb[i];
307       fPiZeroEnergyProb[i] = rp.fPiZeroEnergyProb[i];
308       fHadronEnergyProb[i] = rp.fHadronEnergyProb[i];
309     }
310     
311   }    
312   
313   return *this;
314   
315 }
316
317 //-----------------------------------------------------------------------------
318 AliEMCALRecParam* AliEMCALRecParam::GetDefaultParameters()
319 {
320   //default parameters for the reconstruction
321   AliEMCALRecParam* params = GetLowFluxParam();
322   params->SetName("Default - p+p");
323   params->SetTitle("Default - p+p");
324   return params;
325   
326 }
327
328 //-----------------------------------------------------------------------------
329 AliEMCALRecParam* AliEMCALRecParam::GetCalibParam()
330 {
331   //parameters for the reconstruction of calibration runs
332   AliEMCALRecParam* params = GetLowFluxParam();
333   //params->SetClusteringThreshold(0.1); // 100 MeV                                             
334   //params->SetMinECut(0.01);  //10 MeV       
335   params->SetName("Calibration - LED");
336   params->SetTitle("Calibration - LED");
337   params->SetEventSpecie(AliRecoParam::kCalib);
338   
339   return params;
340   
341 }
342
343 //-----------------------------------------------------------------------------
344 AliEMCALRecParam* AliEMCALRecParam::GetCosmicParam()
345 {
346   //parameters for the reconstruction of cosmic runs
347   AliEMCALRecParam* params = GetLowFluxParam();
348   //params->SetClusteringThreshold(0.1); // 100 MeV                                             
349   //params->SetMinECut(0.01);  //10 MeV       
350   params->SetName("Cosmic");
351   params->SetTitle("Cosmic");
352   params->SetEventSpecie(AliRecoParam::kCosmic);
353   
354   return params;
355   
356 }
357
358
359 //-----------------------------------------------------------------------------
360 AliEMCALRecParam* AliEMCALRecParam::GetLowFluxParam()
361 {
362   //low flux/multiplicity ("p+p") parameters for the reconstruction
363   AliEMCALRecParam* params = new AliEMCALRecParam();
364   params->SetClusteringThreshold(0.1); // 100 MeV                                             
365   params->SetMinECut(0.01);  //10 MeV       
366   params->SetName("Low Flux - p+p");
367   params->SetTitle("Low Flux - p+p");
368   params->SetEventSpecie(AliRecoParam::kLowMult);
369   
370   
371   //PID parameters for pp  implemented 
372   // as a first step, all array elements are initialized to 0.0
373   Int_t i, j;
374   for (i = 0; i < 6; i++) {
375     for (j = 0; j < 6; j++) {
376       params->SetGamma(i,j,0.);
377       params->SetGamma1to10(i,j,0.);
378       params->SetHadron(i,j,0.);
379       params->SetHadron1to10(i,j,0.);
380       params->SetPiZero(i,j,0.);
381       
382     }
383     params->SetGammaEnergyProb(i,0.); // not yet implemented
384     params->SetHadronEnergyProb(i,0.);
385     params->SetPiZeroEnergyProb(i,0.); // not yet implemented
386   }
387   
388   
389   params->SetGamma(0,0,-7.656908e-01);
390   params->SetGamma(0,1,2.352536e-01);
391   params->SetGamma(0,2,1.555996e-02);
392   params->SetGamma(0,3,2.243525e-04);
393   params->SetGamma(0,4,-2.560087e-06);
394
395   params->SetGamma(1,0,6.500216e+00);
396   params->SetGamma(1,1,-2.564958e-01);
397   params->SetGamma(1,2,1.967894e-01);
398   params->SetGamma(1,3,-3.982273e-04);
399   params->SetGamma(1,4,2.797737e-06);
400   
401   params->SetGamma(2,0,2.416489e+00);
402   params->SetGamma(2,1,-1.601258e-01);
403   params->SetGamma(2,2,3.126839e-02);
404   params->SetGamma(2,3,3.387532e-04);
405   params->SetGamma(2,4,-4.089145e-06);
406  
407   params->SetGamma(3,0,0.);
408   params->SetGamma(3,1,-2.696008e+00); 
409   params->SetGamma(3,2, 6.920305e-01);
410   params->SetGamma(3,3,-2.281122e-03);
411   params->SetGamma(3,4,0.);
412
413   params->SetGamma(4,0,2.281564e-01); 
414   params->SetGamma(4,1,-7.575040e-02);
415   params->SetGamma(4,2,3.813423e-01);
416   params->SetGamma(4,3,-1.243854e-04);
417   params->SetGamma(4,4,1.232045e-06);
418
419   params->SetGamma(5,0,-3.290107e-01);
420   params->SetGamma(5,1,3.707545e-02);
421   params->SetGamma(5,2,2.917397e-03);
422   params->SetGamma(5,3,4.695306e-05);
423   params->SetGamma(5,4,-3.572981e-07);
424
425   params->SetHadron(0,0,9.482243e-01); 
426   params->SetHadron(0,1,-2.780896e-01);
427   params->SetHadron(0,2, 2.223507e-02);
428   params->SetHadron(0,3,7.294263e-04);
429   params->SetHadron(0,4,-5.665872e-06); 
430
431   params->SetHadron(1,0,0.);
432   params->SetHadron(1,1,0.);
433   params->SetHadron(1,2,2.483298e-01);
434   params->SetHadron(1,3,0.);
435   params->SetHadron(1,4,0.);
436
437   params->SetHadron(2,0,-5.601199e+00);
438   params->SetHadron(2,1,2.097382e+00);
439   params->SetHadron(2,2,-2.307965e-01);
440   params->SetHadron(2,3,9.206871e-03);
441   params->SetHadron(2,4,-8.887548e-05);
442
443   params->SetHadron(3,0,6.543101e+00);
444   params->SetHadron(3,1,-2.305203e+00);
445   params->SetHadron(3,2,2.761673e-01);
446   params->SetHadron(3,3,-5.465855e-03);
447   params->SetHadron(3,4,2.784329e-05);
448
449   params->SetHadron(4,0,-2.443530e+01);
450   params->SetHadron(4,1,8.902578e+00);
451   params->SetHadron(4,2,-5.265901e-01);
452   params->SetHadron(4,3,2.549111e-02);
453   params->SetHadron(4,4,-2.196801e-04);
454
455   params->SetHadron(5,0,2.102007e-01);
456   params->SetHadron(5,1,-3.844418e-02);
457   params->SetHadron(5,2,1.234682e-01);
458   params->SetHadron(5,3,-3.866733e-03);
459   params->SetHadron(5,4,3.362719e-05);
460
461   params->SetPiZero(0,0,5.07215e-01);
462   params->SetPiZero(0,1,-5.35274e-01);
463   params->SetPiZero(0,2,8.49925e-02);
464   params->SetPiZero(0,3,-3.68740e-03);
465   params->SetPiZero(0,4,5.48228e-05);
466
467   params->SetPiZero(1,0,4.590137e+02);
468   params->SetPiZero(1,1,-7.079341e+01);
469   params->SetPiZero(1,2,4.990735e+00);
470   params->SetPiZero(1,3,-1.241302e-01);
471   params->SetPiZero(1,4,1.065772e-03);
472
473   params->SetPiZero(2,0,1.376415e+02); 
474   params->SetPiZero(2,1,-3.031577e+01);
475   params->SetPiZero(2,2,2.474338e+00);
476   params->SetPiZero(2,3,-6.903410e-02); 
477   params->SetPiZero(2,4,6.244089e-04);
478
479   params->SetPiZero(3,0,0.);
480   params->SetPiZero(3,1,1.145983e+00);
481   params->SetPiZero(3,2,-2.476052e-01);
482   params->SetPiZero(3,3,1.367373e-02);
483   params->SetPiZero(3,4,0.);
484
485   params->SetPiZero(4,0,-2.09758e+02);
486   params->SetPiZero(4,1,6.30080e+01);
487   params->SetPiZero(4,2,-4.03890e+00);
488   params->SetPiZero(4,3,1.08854e-01);
489   params->SetPiZero(4,4,-9.36248e-04);
490
491   params->SetPiZero(5,0,-1.671477e+01);
492   params->SetPiZero(5,1,2.995415e+00);
493   params->SetPiZero(5,2,-6.040360e-02);
494   params->SetPiZero(5,3,-6.137459e-04);
495   params->SetPiZero(5,4,1.847328e-05);
496
497  
498 //     params->SetHadronEnergyProb(0,0.);
499 //     params->SetHadronEnergyProb(1,0.);
500 //     params->SetHadronEnergyProb(2,1.);
501 //     params->SetHadronEnergyProb(3,0.);
502 //     params->SetHadronEnergyProb(4,0.);
503  
504   params->SetHadronEnergyProb(0, 4.767543e-02);
505   params->SetHadronEnergyProb(1,-1.537523e+00);
506   params->SetHadronEnergyProb(2,2.956727e-01);
507   params->SetHadronEnergyProb(3,-3.051022e+01);
508   params->SetHadronEnergyProb(4,-6.036931e-02);
509
510 //   Int_t ii= 0;
511 //   Int_t jj= 3;
512 //      AliDebug(1,Form("PID parameters (%d, %d): fGamma=%.3f, fPi=%.3f, fHadron=%.3f",
513 //                      ii,jj, params->GetGamma(ii,jj), params->GetPiZero(ii,jj), params->GetHadron(ii,jj)));
514 //      cout << " Low Flux Parameters fGamma [2][2] = " << params->GetGamma(2,2) << endl;
515 //      cout << " Low Flux Parameters fHadron [2][2] = " << params->GetHadron(2,2) << endl;
516    
517   return params;
518
519 }
520
521
522 //-----------------------------------------------------------------------------
523 AliEMCALRecParam* AliEMCALRecParam::GetHighFluxParam()
524 {
525   //high flux/multiplicity ("Pb+Pb") parameters for the reconstruction
526   AliEMCALRecParam* params = new AliEMCALRecParam();
527   //For now, same as default
528   //if later these need to be modified, here's where it is done
529   params->SetName("High Flux - Pb+Pb");
530   params->SetTitle("High Flux - Pb+Pb");
531   params->SetEventSpecie(AliRecoParam::kHighMult);
532   
533   return params;
534   
535 }
536
537 //-----------------------------------------------------------------------------
538 void AliEMCALRecParam::Print(Option_t *) const
539 {
540   // Print reconstruction parameters to stdout
541   AliInfo(Form("Clusterization parameters :\n fClusteringThreshold=%.3f,\n fW0=%.3f,\n fMinECut=%.3f,\n fUnfold=%d,\n fLocMaxCut=%.3f,\n fTimeCut=%f \n",
542                fClusteringThreshold,fW0,fMinECut,fUnfold,fLocMaxCut,fTimeCut));
543   
544   AliInfo(Form("Track-matching cuts :\n x %f, y %f, z %f, R %f \n alphaMin %f, alphaMax %f, Angle %f, NITS %f, NTPC %\n", fTrkCutX, fTrkCutY, fTrkCutZ, fTrkCutR,fTrkCutAlphaMin,fTrkCutAlphaMax, fTrkCutAngle,fTrkCutNITS,fTrkCutNTPC));
545   
546   AliInfo(Form("PID parameters, Gamma :\n"));
547   for(Int_t i = 0; i < 6; i++){
548     for(Int_t j = 0; j < 6; j++){
549       printf(" %f, ", fGamma[i][j]);
550     }
551     printf("\n");
552   }
553   
554   
555   AliInfo(Form("PID parameters, Hadron :\n"));
556   for(Int_t i = 0; i < 6; i++){
557     for(Int_t j = 0; j < 6; j++){
558       printf(" %f, ", fHadron[i][j]);
559     }
560     printf("\n");
561   }
562   
563   printf("\n");
564   
565   AliInfo(Form("PID parameters, Pi0zero :\n"));
566   for(Int_t i = 0; i < 6; i++){
567     for(Int_t j = 0; j < 6; j++){
568       printf(" %f, ", fPiZero[i][j]);
569     }
570     printf("\n");
571   }
572   
573   printf("\n");
574   
575   
576   AliInfo(Form("Raw signal parameters: \n gain factor=%f, order=%d, tau=%f, noise threshold=%d, nped samples=%d \n",
577                fHighLowGainFactor,fOrderParameter,fTau,fNoiseThreshold,fNPedSamples));
578   
579 }
580
581 //-----------------------------------------------------------------------------
582 const TObjArray* AliEMCALRecParam::GetMappings()
583 {
584   //Returns array of AliAltroMappings for RCU0..RCUX.
585   //If not found, read it from OCDB.                                           
586   
587   //Quick check as follows:                                                   
588   //  root [0] AliCDBManager::Instance()->SetDefaultStorage("local://$ALICE_ROOT"
589   //  root [1] AliCDBManager::Instance()->SetRun(1);                             
590   //  root [2] TObjArray* maps = AliEMCALRecParam::GetMappings();                
591   //  root [3] maps->Print();                                                    
592   
593   if(fgkMaps) return fgkMaps;
594   
595   AliCDBEntry* entry = AliCDBManager::Instance()->Get("EMCAL/Calib/Mapping");
596   if(entry)
597     fgkMaps = (TObjArray*)entry->GetObject();
598   
599   return fgkMaps;
600   
601 }
602