generates TOF CDB reconstruction parameters (AliTOFRecoParam)
[u/mrichter/AliRoot.git] / TOF / CreateRecPars_CDB.C
CommitLineData
14520bfa 1void CreateRecPars_CDB(){
2 // Create TOF Calibration Object for Ideal calibration and
3 // write it on CDB
4 AliCDBManager *man = AliCDBManager::Instance();
5 man->SetDefaultStorage("local://$ALICE");
6 AliTOFGeometry *geom = new AliTOFGeometryV5();
7 AliTOFcalib *tofcalib = new AliTOFcalib(geom);
8 AliTOFRecoParam *param = new AliTOFRecoParam();
9 tofcalib->WriteRecParOnCDB("TOF/Calib",0,0,param);
10}
11
12