// To read PMD raw root data and fetch the adc value for each cell void AliPMDRootDataRead(Int_t NEVT = 10) { TObjArray pmdddlcont; gBenchmark->Start(""); Bool_t junk; Int_t xpad, ypad; Float_t xx, yy; AliPMDUtility cc; TH2F *h2 = new TH2F("h2","Y vs. X",200,-100.,100.,200,-100.,100.); for(Int_t ievt=3; ievt < NEVT; ievt++) { AliRawReaderRoot reader("08000033646024.10.root",ievt); // reader.NextEvent(); cout<<" Processing Event No : "<=12 && smn < 24) { xpad = row; ypad = col; } if (det == 0) { cc.RectGeomCellPos(smn,xpad,ypad,xx,yy); h2->Fill(xx,yy); } } pmdddlcont.Clear(); } } h2->Draw(); gBenchmark->Show(""); }