]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenDoubleScan.cxx
New class used for primary vertex finding (AliITSVertexerTracks)
[u/mrichter/AliRoot.git] / EVGEN / AliGenDoubleScan.cxx
index 3597984021c8e9c07b6b722133002eb659da9701..a674d2ccd5647139a0517b3d702fd8b7afb941c1 100644 (file)
 
 /*
 $Log$
+Revision 1.8.6.1  2002/07/30 15:00:39  alibrary
+Correction in initialization of dx (Enrique Gamez Flores).
+
+Revision 1.9  2002/07/30 13:48:03  morsch
+
+Correction in initialization of dx (Enrique Gamez Flores).
+
+Revision 1.8  2002/02/08 16:50:50  morsch
+Add name and title in constructor.
+
+Revision 1.7  2001/07/27 17:09:35  morsch
+Use local SetTrack, KeepTrack and SetHighWaterMark methods
+to delegate either to local stack or to stack owned by AliRun.
+(Piotr Skowronski, A.M.)
+
 Revision 1.6  2000/12/21 16:24:06  morsch
 Coding convention clean-up
 
@@ -55,6 +70,8 @@ AliGenDoubleScan::AliGenDoubleScan(Int_t npart)
     :AliGenScan(npart)
 {
 // Constructor
+    fName = "Double Scan";
+    fTitle= "Particle Generator for two correlated particles on a grid";
 }
 
 //____________________________________________________________
@@ -81,7 +98,7 @@ void AliGenDoubleScan::Generate()
     Float_t dx,dy,dz;
     
     //
-    if (fNy > 0) {
+    if (fNx > 0) {
        dx=(fXCmax-fXCmin)/fNx;
     } else {
        dx=1e10;