Change reco param default and OCDB settings, PbPb clusterizer is v2 and minimum cell...
[u/mrichter/AliRoot.git] / EMCAL / macros / RecParamDB / PrintEMCALRecParam.C
CommitLineData
a40d9f03 1// Macro to print the values stored in the OCDB with AliEMCALRecParam
2// These parameters are used during reconstruction
3
4// Author: Gustavo Conesa (INFN-LNF)
5
6
a0945e6f 7void PrintEMCALRecParam(char * file = "$ALICE_ROOT/OCDB/EMCAL/Calib/RecoParam/Run0_999999999_v0_s0.root")
8{
a40d9f03 9
10TFile * f = new TFile(file,"READ");
11
12AliCDBEntry * cdb = (AliCDBEntry*) f->Get("AliCDBEntry");
13TObjArray * array = (TObjArray *) cdb->GetObject();
14
15//Loop on the different event species and print parameters.
16Int_t nSpecies = array->GetEntriesFast();
17for(Int_t i = 0; i < nSpecies ; i++){
18
19AliEMCALRecParam * rparam = array->At(i);
20
21cout<<"================================================"<<endl;
22
23cout<<"============== "<<rparam->GetName()<<" ==============="<<endl;
24
25cout<<"================================================"<<endl;
26
a0945e6f 27//rparam->Print("reco");//Print only clusterizer parameters
ee08edde 28//rparam->Print("pid");//Print only pid parameters
29//rparam->Print("raw");//Print only raw digitization parameters
a0945e6f 30 rparam->Print("");// Print all
a40d9f03 31
32
33}
34
35
36
37
a435f763 38}