Initialisations in constructor.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 2 Jul 2009 15:38:01 +0000 (15:38 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 2 Jul 2009 15:38:01 +0000 (15:38 +0000)
EVGEN/AliGenBox.cxx

index 4c3d797..5869d03 100644 (file)
@@ -35,7 +35,9 @@ ClassImp(AliGenBox)
 //_____________________________________________________________________________
 AliGenBox::AliGenBox()
     :AliGenerator(), 
-     fIpart(0)
+     fIpart(0),
+     fEtaMin(0),
+     fEtaMax(0)
 {
   //
   // Default constructor
@@ -45,7 +47,9 @@ AliGenBox::AliGenBox()
 //_____________________________________________________________________________
 AliGenBox::AliGenBox(Int_t npart)
     :AliGenerator(npart),
-     fIpart(kProton)
+     fIpart(kProton),
+     fEtaMin(0),
+     fEtaMax(0)
 {
   //
   // Standard constructor