]>
Commit | Line | Data |
---|---|---|
970773a1 | 1 | void CreateCalibPars_Ideal(){ |
2 | // Create TOF Calibration Object for Ideal calibration and | |
3 | // write it on CDB | |
6c757316 | 4 | AliCDBManager *man = AliCDBManager::Instance(); |
162637e4 | 5 | man->SetDefaultStorage("local://$ALICE_ROOT/OCDB"); |
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 |