]>
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(); |
5 | man->SetDefaultStorage("local://$ALICE"); | |
970773a1 | 6 | AliTOFGeometry *geom = new AliTOFGeometryV5(); |
7 | AliTOFcalib *tofcalib = new AliTOFcalib(geom); | |
8 | AliTOFCal *tofCal= new AliTOFCal(geom); | |
9 | tofCal->CreateArray();//"empty" channels as a default for ideal (par,delay=0) | |
10 | TH1F *hToT= new TH1F(); //"empty" ToT histo as a default for ideal | |
11 | tofcalib->WriteSimParOnCDB("TOF/Calib",0,0,tofCal,hToT); | |
12 | } | |
13 | ||
14 |