Properly initialise pointers
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 1 Aug 2003 16:47:37 +0000 (16:47 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 1 Aug 2003 16:47:37 +0000 (16:47 +0000)
STEER/AliGenerator.cxx

index 6e38280e4f3bd47371e1b3baff3ea4741d650444..ab3d33898b5836e1095037b9c44fbf41b877ef7a 100644 (file)
@@ -47,6 +47,7 @@ ClassImp(AliGenerator)
 
 //_______________________________________________________________________
 AliGenerator::AliGenerator():
+  fMCEvGen(0),
   fThetaMin(0),
   fThetaMax(0),
   fPhiMin(0),
@@ -102,6 +103,7 @@ AliGenerator::AliGenerator():
 
 //_______________________________________________________________________
 AliGenerator::AliGenerator(Int_t npart):
+  fMCEvGen(0),
   fThetaMin(0),
   fThetaMax(0),
   fPhiMin(0),
@@ -161,6 +163,7 @@ AliGenerator::AliGenerator(Int_t npart):
 AliGenerator::AliGenerator(const AliGenerator &gen): 
   TNamed(gen),
   AliRndm(gen),
+  fMCEvGen(0),
   fThetaMin(0),
   fThetaMax(0),
   fPhiMin(0),