]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/DumpspdTestBeamData.C
Fixing the decoding of regional header bits.
[u/mrichter/AliRoot.git] / ITS / DumpspdTestBeamData.C
1 void DumpspdTestBeamData(const Char_t *filename,Int_t istart=0,Int_t iend=-1){
2     AliITSspdTestBeam *spd = new AliITSspdTestBeam(filename);
3     Int_t i;
4          //fstream *fp = new fstream("dumpedata.txt",io::out);
5
6     spd->Read();
7     spd->Decode();
8     if(iend<=0) iend = spd->GetNumberOfEvents();
9     for(i=istart;i<iend;i++){
10         cout << "********Event=" << i <<" *********"<< endl;
11         spd->PrintEventData(i);
12     } // end for
13          //fp->Close();
14 }