2 void AliPMDRootDataRead()
4 // To read PMD raw root data and fetch the adc value for each cell
12 AliRawReaderRoot reader("raw_6b_61.root",ievt);
20 cout << "LDC ID = " << reader.GetLDCId() << endl;
21 cout << "Equipment ID = " << reader.GetEquipmentId() << endl;
22 cout << "Data Size = " << reader.GetDataSize() << endl;
25 AliPMDRawStream stream(&reader);
30 for (Int_t iddl = 0; iddl < 6; iddl++)
33 reader.Select("PMD", iddl, iddl);
35 junk = stream.DdlData(&pmdddlcont);
37 Int_t ientries = pmdddlcont.GetEntries();
38 for (Int_t ient = 0; ient < ientries; ient++)
40 AliPMDddldata *pmdddl = (AliPMDddldata*)pmdddlcont.UncheckedAt(ient);
42 Int_t det = pmdddl->GetDetector();
43 Int_t smn = pmdddl->GetSMN();
44 //Int_t mcm = pmdddl->GetMCM();
45 //Int_t chno = pmdddl->GetChannel();
46 Int_t row = pmdddl->GetRow();
47 Int_t col = pmdddl->GetColumn();
48 Int_t sig = pmdddl->GetSignal();
50 // cout << row << " " << col << " " << sig << endl;