CMake: removing qpythia from the depedencies
[u/mrichter/AliRoot.git] / TOF / ReadCalibNoiseReference.C
CommitLineData
f268a9c7 1TH1F *
2ReadCalibNoiseReference(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/CalibNoise");
9 TH1F *h = (TH1F *)cdbe->GetObject();
10 h->DrawCopy();
11 return h;
12
13}