]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - START/AliSTARTv1.cxx
Additional protection: to be discussed with the Root team (M.Ivanov)
[u/mrichter/AliRoot.git] / START / AliSTARTv1.cxx
index 31595ce4cc7ad0759885cd168f741b65deee0e88..2f4bc1aa6ddf637a4109df60991101e6b8fc9faa 100755 (executable)
 
 #include "AliSTARTv1.h"
 #include "AliRun.h"
-#include "AliMC.h"
 #include "AliMagF.h"
 #include "AliSTARThit.h"
 
-#include <iostream.h>
-#include <fstream.h>
+#include <Riostream.h>
 
-//#include "TGeant3.h"
 #include <stdlib.h>
 
 ClassImp(AliSTARTv1)
@@ -382,8 +379,8 @@ void AliSTARTv1::StepManager()
   TClonesArray &lhits = *fHits;
   
   if(!gMC->IsTrackAlive()) return; // particle has disappeared
-  Float_t charge = gMC->TrackCharge();
-  if(TMath::Abs(charge)<=0.) return; //take only charged particles
+  //  Float_t charge = gMC->TrackCharge();
+  //  if(TMath::Abs(charge)<=0.) return; //take only charged particles
   id=gMC->CurrentVolID(copy);