Coverity warning corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 26 Nov 2011 19:04:10 +0000 (19:04 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 26 Nov 2011 19:04:10 +0000 (19:04 +0000)
EVGEN/AliGenHaloProtvino.cxx

index 099c8ab..0a6041e 100644 (file)
@@ -270,7 +270,10 @@ void AliGenHaloProtvino::Generate()
 //
 // Mean time between interactions
 //
-  Float_t dT = fTimePerEvent/nInt;   // sec 
+
+  Float_t dT = 0.;   // sec 
+  if (nInt > 0) 
+      dT = fTimePerEvent/nInt;   
   Float_t t  = 0;                    // sec
   
 //