Shuttle debugging line removed.
[u/mrichter/AliRoot.git] / TOF / CreateCalibPars_Ideal.C
CommitLineData
970773a1 1void CreateCalibPars_Ideal(){
2 // Create TOF Calibration Object for Ideal calibration and
3 // write it on CDB
6c757316 4 AliCDBManager *man = AliCDBManager::Instance();
5 man->SetDefaultStorage("local://$ALICE");
096b3668 6 AliTOFcalib *tofcalib = new AliTOFcalib();
40212801 7 tofcalib->CreateCalArrays();
8 TObjArray *tofCalOffline = (TObjArray*) tofcalib->GetTOFCalArrayOffline();
970773a1 9 TH1F *hToT= new TH1F(); //"empty" ToT histo as a default for ideal
40212801 10 tofcalib->WriteParOfflineOnCDB("TOF/Calib","valid",0,AliCDBRunRange::Infinity());
11 tofcalib->WriteSimHistoOnCDB("TOF/Calib",0,AliCDBRunRange::Infinity(),hToT);
970773a1 12}
13
14