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