1) Set reconstruction parameter fTimeCut (maximum digit time) in OCDB
[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
7void PrintEMCALRecParam(char * file = "Run0_999999999_v0_s0.root"){
8
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
27
28rparam->Print("");
29
30
31
32}
33
34
35
36
a435f763 37}