]>
Commit | Line | Data |
---|---|---|
636af9b4 | 1 | // Macro to print the values stored in the OCDB with AliEMCALSimParam |
2 | // These parameters are used during simulation | |
6569f329 | 3 | |
636af9b4 | 4 | // Author: Gustavo Conesa (IN2P3-LPSC) |
6569f329 | 5 | |
6 | ||
7 | void PrintEMCALSimParam(char * file = "$ALICE_ROOT/OCDB/EMCAL/Calib/SimParam/Run0_999999999_v0_s0.root"){ | |
8 | ||
9 | ||
10 | TFile * f = new TFile(file,"READ"); | |
11 | ||
12 | AliCDBEntry * cdb = (AliCDBEntry*) f->Get("AliCDBEntry"); | |
13 | AliEMCALSimParam * sparam = cdb->GetObject(); | |
14 | ||
15 | ||
16 | cout<<"============== "<<sparam->GetName()<<" ==============="<<endl; | |
17 | ||
18 | sparam->Print(""); | |
19 | ||
20 | } |