1 /**************************************************************************
2 * To Create PMD CDB object for Hot Cells
4 * Mon Nov 22 19:54:27 CET 2010
6 **************************************************************************/
8 // This macro puts the gains in the database
10 void MakePMDHotCDB() {
11 AliPMDHotData *hotda=new AliPMDHotData();
12 AliCDBManager *man = AliCDBManager::Instance();
13 man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
14 AliCDBId id("PMD/Calib/Hot",0,AliCDBRunRange::Infinity());
15 AliCDBMetaData *md=new AliCDBMetaData();
16 md->SetResponsible("Satyajit Jena");
17 md->SetComment("Hot Cell Maps");
18 man->GetDefaultStorage()->Put(hotda,id,md);