1 // To read PMD raw data
3 void AliPMDRawDataRead(Int_t iEvent)
7 TH2F *h2 = new TH2F("h2"," ",100,-100.,100.,100,-100.,100.);
13 for(Int_t ievt = 0; ievt < iEvent; ievt++)
15 AliRawReaderFile reader(ievt);
16 AliPMDRawStream stream(&reader);
19 while ((iddl = stream.DdlData(&pmdddlcont)) >=0)
21 //cout << " inside the macro DDLNO = " << iddl << endl;
22 Int_t ientries = pmdddlcont.GetEntries();
23 for (Int_t ient = 0; ient < ientries; ient++)
25 AliPMDddldata *pmdddl = (AliPMDddldata*)pmdddlcont.UncheckedAt(ient);
27 Int_t det = pmdddl->GetDetector();
28 Int_t smn = pmdddl->GetSMN();
29 //Int_t mcm = pmdddl->GetMCM();
30 //Int_t chno = pmdddl->GetChannel();
31 Int_t row = pmdddl->GetRow();
32 Int_t col = pmdddl->GetColumn();
33 Int_t sig = pmdddl->GetSignal();
40 else if(smn >=12 && smn < 24)
48 // Draw only for PRE plane
49 cc.RectGeomCellPos(smn,xpad,ypad,xx,yy);