1 void AliTOFRawDataRead(Int_t iEvent=0)
4 // To read TOF raw data
9 AliRawReaderFile reader(ievt);
11 for (indexDDL = 0; indexDDL < 72; indexDDL++) {
14 AliTOFRawStream stream(&reader);
15 reader.Select(5, indexDDL, indexDDL);
17 //FILE *fpw = fopen("TOFrawDataRead.txt","w");
19 while(stream.Next()) {
21 if (stream.GetSector()==0) {
23 printf("%2i %2i %2i %2i %2i %1i %2i %1i %2i %7i %8i\n",
24 stream.GetDDL(),stream.GetTRM(),
25 stream.GetTDC(),stream.GetChannel(),
26 stream.GetSector(),stream.GetPlate(),
27 stream.GetStrip(),stream.GetPadZ(),stream.GetPadX(),
28 stream.GetADCbin(),stream.GetTofBin());
30 Int_t iSector = stream.GetSector();
31 Int_t iPlate = stream.GetPlate();
32 Int_t iStrip = stream.GetStrip();
33 Int_t iPadZ = stream.GetPadZ();
34 Int_t iPadX = stream.GetPadX();
35 Int_t iTof = stream.GetTofBin();
36 Int_t iAdc = stream.GetADCbin();
38 fprintf(fpw,"%2i %1i %2i %1i %2i %8i %7i\n",
39 iSector, iPlate, iStrip, iPadZ, iPadX, iTof, iAdc);