PMD DA informations : satya
[u/mrichter/AliRoot.git] / PMD / AliPMDReadDdlinfo.C
1 void AliPMDReadDdlinfo()
2 {
3   TFile * f = TFile::Open("/Users/basanta/ALISOFT/PMD/VarInit/OCDB/PMD/Calib/Ddlinfo/Run0_999999999_v0_s0.root");
4   //  TFile * f = TFile::Open("$ALICE_ROOT/OCDB/PMD/Calib/Mapping/Run0_999999999_v0_s0.root");
5
6   f->ls();
7   if (!AliCDBEntry)
8     {
9       printf("Something is wrong ************ \n");
10     }
11   else if(AliCDBEntry)
12     {
13       AliCDBEntry->PrintId(); 
14       AliCDBEntry->PrintMetaData();
15       AliPMDddlinfoData * mapdata = 0;
16       mapdata = (AliPMDddlinfoData*)AliCDBEntry->GetObject();
17       mapdata->Print(); 
18     }
19 }