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