1 void MakeVZEROTimeSlewingEntry()
4 AliCDBManager *man = AliCDBManager::Instance();
5 man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
7 // Creation of the time slewing OCDB object
8 TF1 *slew = new TF1("TimeSlewing","[0]*TMath::Power(x,[1])",1,1024);
9 slew->SetParameter(0,1.57345e1);
10 slew->SetParameter(1,-4.25603e-1);
12 TObjString str("VZERO Time-slewing correction");
14 AliCDBMetaData *md= new AliCDBMetaData(); // metaData describing the object
15 md->SetResponsible("Brigitte Cheynis");
17 md->SetAliRootVersion(gSystem->Getenv("ARVERSION"));
18 md->SetComment("Time-slewing correction used in reconstruction and MC simulation");
21 AliCDBStorage *storLoc = man->GetDefaultStorage();
22 AliCDBId id("VZERO/Calib/TimeSlewing",0,AliCDBRunRange::Infinity());
24 storLoc->Put(slew, id, md);