]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Seed set correctly (P.Skowronski)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 11 Nov 2001 18:22:00 +0000 (18:22 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 11 Nov 2001 18:22:00 +0000 (18:22 +0000)
EVGEN/AliGenHBTprocessor.cxx

index 4f7a59f876f3b8656f5f8846040fdf6d160f0b5e..3d31293b2282901fe23731c72790ba72259b6a13 100644 (file)
@@ -1,28 +1,7 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
-
-/* $Id$ */
-
 // Implementation of the interface for THBTprocessor
 // Author: Piotr Krzysztof Skowronski <Piotr.Skowronski@cern.ch>
-
-// 09.10.2001 Piotr Skowronski
-// 
-// Theta - Eta cohernecy facilities added:
-//    AliGenerator::SetThetaRange method overriden
-//    Static methods added
-//    EtaToTheta
-//    ThetaToEta 
-//    DegreesToRadians
-//    RadiansToDegrees
-//
-// Class description comments put on proper place
-
-// 27.09.2001 Piotr Skowronski
-// removing of redefinition of defaults velues 
-// in method's implementation. 
-//  
-
 //////////////////////////////////////////////////////////////////////////////////
 //Wrapper class for "hbt processor" after burner
 //The origibal code is written in fortran by Lanny Ray
 //         B)  IT IS ABLE TO "ADD" CORRELATIONS ONLY UP TO TWO PARTICLE TYPES AT ONES
 //////////////////////////////////////////////////////////////////////////////////
 
+// 11.11.2001 Piotr Skowronski
+// Setting seed (date) in RNG in the constructor
+
+// 09.10.2001 Piotr Skowronski
+// 
+// Theta - Eta cohernecy facilities added:
+//    AliGenerator::SetThetaRange method overriden
+//    Static methods added
+//    EtaToTheta
+//    ThetaToEta 
+//    DegreesToRadians
+//    RadiansToDegrees
+//
+// Class description comments put on proper place
+
+// 27.09.2001 Piotr Skowronski
+// removing of redefinition of defaults velues 
+// in method's implementation. 
+//  
+// 
+
 #include "AliGenHBTprocessor.h"
 #include "TROOT.h"
 #include <iostream.h>
@@ -83,6 +83,7 @@ AliGenHBTprocessor::AliGenHBTprocessor() : AliGenerator(-1)
   SetName("AliGenHBTprocessor");
   SetTitle("AliGenHBTprocessor");
   
+  fRandom ->SetSeed(0);
   sRandom = fRandom;
   fHBTprocessor = new THBTprocessor();
 
@@ -1059,7 +1060,7 @@ extern "C" void type_of_call
    //check to be deleted 
    if (geantpid != (g->IdFromPDG( track->GetPdgCode() )))
     {
-      cout<<endl<<" AliGenHBTprocessor.cxx: alihbtp_puttrack: SOMETHING IS GOING BAD:\n   GEANTPIDS ARE NOT THE SAME"<<endl;
+      cerr<<endl<<" AliGenHBTprocessor.cxx: alihbtp_puttrack: SOMETHING IS GOING BAD:\n   GEANTPIDS ARE NOT THE SAME"<<endl;
     }
    
    if(gDebug>0)