]>
Commit | Line | Data |
---|---|---|
3aa0223f | 1 | // |
2 | void AliPMDRawDataRead() | |
3 | { | |
4 | // To read PMD raw data | |
5 | ||
6 | Int_t ievt = 0; | |
7 | AliRawReaderFile reader(ievt); | |
8 | AliPMDRawStream stream(&reader); | |
9 | ||
10 | // FILE *fpw2 = fopen("rawread2.txt","w"); | |
11 | ||
12 | while(stream.Next()) | |
13 | { | |
14 | printf("%d %d %d %d\n",stream.GetModule(),stream.GetRow(), | |
15 | stream.GetColumn(),stream.GetSignal()); | |
16 | ||
17 | Int_t det = stream.GetDetector(); | |
18 | Int_t smn = stream.GetSMN(); | |
19 | Int_t mcm = stream.GetMCM(); | |
20 | Int_t chno = stream.GetChannel(); | |
21 | Int_t row = stream.GetRow(); | |
22 | Int_t col = stream.GetColumn(); | |
23 | Int_t sig = stream.GetSignal(); | |
24 | ||
25 | // fprintf(fpw2,"%d %d %d %d %d %d %d\n",det, smn, row, col, | |
26 | // mcm, chno, sig); | |
27 | ||
28 | } | |
29 | ||
30 | } |