resolving new library dependency libAOD
[u/mrichter/AliRoot.git] / PMD / AliPMDReadMapping.C
1 void AliPMDReadMapping()
2 {
3   TFile * f = TFile::Open("/Users/basanta/Misc/Public/PMD/OCDBMacro/CDB_IDEAL/PMD/Calib/Mapping/Run0_999999999_v0_s0.root");
4
5   f->ls();
6   if (!AliCDBEntry)
7     {
8       printf("Something is wrong ************ \n");
9     }
10   else if(AliCDBEntry)
11     {
12       AliCDBEntry->PrintId(); 
13       AliCDBEntry->PrintMetaData();
14       AliPMDMappingData * mapdata = 0;
15       mapdata = (AliPMDMappingData*)AliCDBEntry->GetObject();
16       mapdata->Print(); 
17     }
18 }