#include "AliTPCParamSR.h"
#include "AliTPCTrackHitsV2.h"
#include "AliTPCv3.h"
+#include "AliMC.h"
ClassImp(AliTPCv3)
//_____________________________________________________________________________
//
dm[3]=-283.7;
- dm[4]=65.6;
+ dm[4]=77.017;
dm[5]=278.;
//
//
dm[24]=283.7;
- dm[25]=65.6;
+ dm[25]=77.017;
dm[26]=278.;
gMC->Gsvolu("TPC ","PCON",idtmed[0],dm,27);
Int_t id,copy;
TLorentzVector pos;
- Float_t hits[4];
+ Float_t hits[5];
Int_t vol[2];
vol[1]=0;
hits[1]=pos[1];
hits[2]=pos[2];
+ // Get also the track time for pileup simulation
+ hits[4]=gMC->TrackTime();
+
//
// check the selected side of the TPC
//
// Add this hit
- AddHit(gAlice->CurrentTrack(), vol,hits); //MI change
+ AddHit(gAlice->GetMCApp()->GetCurrentTrackNumber(), vol,hits); //MI change
}