]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSvPPRasymm.cxx
Removing obsolete macros
[u/mrichter/AliRoot.git] / ITS / AliITSvPPRasymm.cxx
index 66a2ed8126c118aa084d4b5810ed6c6bc810290b..eba6385aceeae200c1c0cc4ee257eb634aa7c0f6 100644 (file)
 
 /*
 $Log$
+Revision 1.63  2003/02/12 10:39:05  hristov
+Updated AliTrackReference class (S.Radomski)
+
+Revision 1.62  2003/01/16 08:10:13  hristov
+Correcting usage of string arrays (valgrind)
+
 Revision 1.61  2002/11/21 23:05:27  alibrary
 Removing AliMC and AliMCProcess
 
@@ -29372,16 +29378,10 @@ void AliITSvPPRasymm::StepManager(){
     static Int_t stat0=0;
     if((id=gMC->CurrentVolID(copy) == fIDMother)&&
        (gMC->IsTrackEntering()||gMC->IsTrackExiting())){
-       gMC->TrackPosition(position); // Get Position
-       gMC->TrackMomentum(momentum); // Get Momentum
        copy = fTrackReferences->GetEntriesFast();
        TClonesArray &lTR = *fTrackReferences;
        // Fill TrackReference structure with this new TrackReference.
-       AliTrackReference *tr = new(lTR[copy]) AliTrackReference();
-       tr->SetTrack(gAlice->CurrentTrack());
-       tr->SetPosition(position.X(),position.Y(),position.Z());
-       tr->SetMomentum(momentum.Px(),momentum.Py(),momentum.Pz());
-       tr->SetLength(gMC->TrackLength());
+       new(lTR[copy]) AliTrackReference(gAlice->CurrentTrack());
     } // if Outer ITS mother Volume
     if(!(this->IsActive())){
        return;