From: hristov Date: Sun, 11 Nov 2001 18:22:00 +0000 (+0000) Subject: Seed set correctly (P.Skowronski) X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=ea6982d2722b5db8e8a9d5f23e3a2700212cef00;p=u%2Fmrichter%2FAliRoot.git Seed set correctly (P.Skowronski) --- diff --git a/EVGEN/AliGenHBTprocessor.cxx b/EVGEN/AliGenHBTprocessor.cxx index 4f7a59f876f..3d31293b228 100644 --- a/EVGEN/AliGenHBTprocessor.cxx +++ b/EVGEN/AliGenHBTprocessor.cxx @@ -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 - -// 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 @@ -54,6 +33,27 @@ // 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 @@ -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<0)