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