Update PMDHOT map reader: sjena
authorsjena <sjena@cern.ch>
Thu, 22 Jan 2015 13:21:51 +0000 (14:21 +0100)
committersjena <sjena@cern.ch>
Thu, 22 Jan 2015 13:21:51 +0000 (14:21 +0100)
PMD/macro/AliPMDPutHot.C
PMD/macro/AliPMDReadHot.C

index 029861a..3eb3e93 100644 (file)
@@ -8,5 +8,7 @@ void AliPMDPutHot()
   man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
   AliCDBId id("PMD/Calib/Hot",0,AliCDBRunRange::Infinity());
   AliCDBMetaData *md=new AliCDBMetaData();
+  md->SetResponsible("Satyajit Jena");
+  md->SetComment("Hot Cell Maps");
   man->GetDefaultStorage()->Put(hotda,id,md);
 }
index 700ab6a..9e24c4b 100644 (file)
@@ -1,6 +1,5 @@
-void AliPMDReadHot()
-{
-  TFile * f = TFile::Open("Run0_0_v0_s3.root");
+void AliPMDReadHot(const Char_t *filename) {
+  TFile * f = TFile::Open(filename);
   f->ls();
   if (!AliCDBEntry)
     {