AliRoot Core  edcc906 (edcc906)
PrintEMCALCalibData.C
Go to the documentation of this file.
1 
17 void PrintEMCALCalibData(TString file =
18  /*"alien:///alice/data/2014/OCDB/EMCAL/Calib/Data/Run0_999999999_v1_s0.root"*/
19  "$ALICE_ROOT/OCDB/EMCAL/Calib/Data/Run0_999999999_v0_s0.root"){
20 
21  if(file.Contains("alien:///"))
22  TGrid::Connect("alien://");
23 
24  TFile * f = TFile::Open(file,"READ");
25 
26  AliCDBEntry * cdb = (AliCDBEntry*) f->Get("AliCDBEntry");
27  AliEMCALCalibData * cparam = cdb->GetObject();
28 
29  //cparam->Print("gain");
30  //cparam->Print("ped");
31  cparam->Print("all");
32 
33 }
TFile * Open(const char *filename, Long64_t &nevents)
Cell energy calibration factors container class.
void Print(Option_t *option="") const
TObject * GetObject()
Definition: AliCDBEntry.h:56
void PrintEMCALCalibData(TString file="$ALICE_ROOT/OCDB/EMCAL/Calib/Data/Run0_999999999_v0_s0.root")
Definition: AliCDBEntry.h:18
TF1 * f
Definition: interpolTest.C:21