Fix Coverity
authorakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 16 Dec 2011 13:47:38 +0000 (13:47 +0000)
committerakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 16 Dec 2011 13:47:38 +0000 (13:47 +0000)
TTherminator/TTherminator.cxx

index 59255c0..fec393e 100644 (file)
@@ -57,8 +57,8 @@ TTherminator::TTherminator():
 }
 TTherminator::TTherminator(const TTherminator & therm) :
   TGenerator(therm),
-  fCalka(0),
-  fEvent(0),
+  fCalka(new Integrator(*therm.fCalka)),
+  fEvent(new Event(*therm.fEvent)),
   fPartDB(new ParticleDB())
 {
   // Copy constructor