free arrays before of return in PropagateBack
[u/mrichter/AliRoot.git] / TOF / ReadReadoutInfoReference.C
CommitLineData
6c167626 1AliTOFReadoutInfo *
2ReadReadoutInfoReference(Int_t run, Int_t year = 2010)
3{
4
5 AliCDBManager *cdb = AliCDBManager::Instance();
6 cdb->SetDefaultStorage(Form("alien://folder=/alice/data/%d/Reference", year));
7 cdb->SetRun(run);
8 AliCDBEntry *cdbe = cdb->Get("TOF/Calib/ReadoutInfo");
9 AliTOFReadoutInfo *ri = (AliTOFReadoutInfo *)cdbe->GetObject();
10
11 return ri;
12}