#include "AliHBTReaderPPprod.h"
-#include <iostream.h>
-#include <fstream.h>
+#include <Riostream.h>
+#include <Riostream.h>
#include <TString.h>
#include <TTree.h>
#include <TFile.h>
//reads data and puts put to the particles and tracks objects
//reurns 0 if everything is OK
//
+ cout<<"New I/O not implemented\n";
+ return 0;
+
Int_t i; //iterator and some temprary values
Int_t Nevents;
if (!particles) //check if an object is instatiated
AliTPCtrack *iotrack=0;
fClustersFile->cd();
- AliTPCtracker *tracker = new AliTPCtracker(TPCParam,currentEvent);
+ AliTPCtracker *tracker = new AliTPCtracker(TPCParam,currentEvent,"");
if (!tracker)
{
Error("AliHBTReaderPPprod::Read","Can't get a tracker !\n");
Double_t mass = TDatabasePDG::Instance()->GetParticle(gt.code)->Mass();
Double_t pEtot = TMath::Sqrt(gt.px*gt.px + gt.py*gt.py + gt.pz*gt.pz + mass*mass);
- AliHBTParticle* part = new AliHBTParticle(gt.code, gt.px, gt.py, gt.pz, pEtot, gt.x, gt.y, gt.z, 0.0);
+ AliHBTParticle* part = new AliHBTParticle(gt.code,i, gt.px, gt.py, gt.pz, pEtot, gt.x, gt.y, gt.z, 0.0);
if(Pass(part)) continue;
Double_t tEtot = TMath::Sqrt( tpx*tpx + tpy*tpy + tpz*tpz + mass*mass);
- AliHBTParticle* track = new AliHBTParticle(gt.code, tpx, tpy , tpz, tEtot, 0., 0., 0., 0.);
+ AliHBTParticle* track = new AliHBTParticle(gt.code,i, tpx, tpy , tpz, tEtot, 0., 0., 0., 0.);
if(Pass(track)) continue;
particles->AddParticle(currentEvent,part);