]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/ocdbmacro/MakePMDHotCDB.C
Cleanup of ocdb macros:sjena
[u/mrichter/AliRoot.git] / PMD / ocdbmacro / MakePMDHotCDB.C
1 /**************************************************************************
2  * To Create PMD CDB object for Hot Cells
3  * sjena@cern.ch
4  * Mon Nov 22 19:54:27 CET 2010
5  *                     
6  **************************************************************************/
7 //
8 // This macro puts the gains in the database
9 //
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);
19 }