fix bugs add new features
[u/mrichter/AliRoot.git] / ITS / DumpspdTestBeamData.C
CommitLineData
5355b2f1 1void 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}