]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenThetaSlice.cxx
Pass event vertex to the cocktail entries.
[u/mrichter/AliRoot.git] / EVGEN / AliGenThetaSlice.cxx
index 3d0343251734e7105e691c2df1891b56f69348d3..a9077c3d7e41bef0624c5db991cd0520d45a17ef 100644 (file)
@@ -37,25 +37,24 @@ ClassImp(AliGenThetaSlice)
 
 //_____________________________________________________________________________
 AliGenThetaSlice::AliGenThetaSlice()
-    :AliGenerator()
+    :AliGenerator(),
+     fIpart(0)
 {
   //
   // Default constructor
   //
-  fIpart=0;
 }
 
 //_____________________________________________________________________________
 AliGenThetaSlice::AliGenThetaSlice(Int_t npart)
-  :AliGenerator(npart)
+    :AliGenerator(npart),
+     fIpart(kProton)
 {
   //
   // Standard constructor
   //
   fName  = "ThetaSlice";
   fTitle = "Particle generator - const. phi, slices in theta";
-  // Generate Proton by default
-  fIpart=kProton;
 }
 
 //_____________________________________________________________________________