From 455750043e3a5aba999209e72fa0d3ca42925971 Mon Sep 17 00:00:00 2001 From: nick Date: Wed, 11 Dec 2002 14:45:12 +0000 Subject: [PATCH] 11-dec-2002 NvE Copyright notice added into AliCollider.h and AliCollider.cxx. Also small (integer division) modification made in AliCollider.cxx to prevent an innocent warning of the g++ compiler under Linux. --- RALICE/AliCollider.cxx | 21 ++++++++++++++++++--- RALICE/AliCollider.h | 4 +++- RALICE/history.txt | 3 +++ 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/RALICE/AliCollider.cxx b/RALICE/AliCollider.cxx index b3d8ccda3ba..668394bde34 100644 --- a/RALICE/AliCollider.cxx +++ b/RALICE/AliCollider.cxx @@ -1,4 +1,19 @@ -// $Id: AliCollider.cxx,v 1.2 2002/11/29 13:54:52 nick Exp $ +/************************************************************************** + * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * + * * + * Author: The ALICE Off-line Project. * + * Contributors are mentioned in the code where appropriate. * + * * + * Permission to use, copy, modify and distribute this software and its * + * documentation strictly for non-commercial purposes is hereby granted * + * without fee, provided that the above copyright notice appears in all * + * copies and that both the copyright notice and this permission notice * + * appear in the supporting documentation. The authors make no claims * + * about the suitability of this software for any purpose. It is * + * provided "as is" without express or implied warranty. * + **************************************************************************/ + +// $Id: AliCollider.cxx,v 1.3 2002/12/02 15:10:37 nick Exp $ /////////////////////////////////////////////////////////////////////////// // Class AliCollider @@ -89,7 +104,7 @@ // // //--- Author: Nick van Eijndhoven 22-nov-2002 Utrecht University -//- Modified: NvE $Date: 2002/11/29 13:54:52 $ Utrecht University +//- Modified: NvE $Date: 2002/12/02 15:10:37 $ Utrecht University /////////////////////////////////////////////////////////////////////////// #include "AliCollider.h" @@ -386,7 +401,7 @@ void AliCollider::MakeEvent(Int_t npt,Int_t mlist,Int_t medit) } // Determine the number of nucleon-nucleon collisions - Int_t ncol=npt/2.; + Int_t ncol=npt/2; if (npt%2 && fRan.Uniform()>0.5) ncol+=1; // Determine the number of the various types of N+N interactions diff --git a/RALICE/AliCollider.h b/RALICE/AliCollider.h index b4fc5d72d12..62c7ee4d03b 100644 --- a/RALICE/AliCollider.h +++ b/RALICE/AliCollider.h @@ -1,7 +1,9 @@ #ifndef ALICOLLIDER_H #define ALICOLLIDER_H +/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * + * See cxx source for full Copyright notice */ -// $Id: AliCollider.h,v 1.1 2002/11/27 21:25:52 nick Exp $ +// $Id: AliCollider.h,v 1.2 2002/12/02 15:10:37 nick Exp $ #include "Riostream.h" #include "TPythia6.h" diff --git a/RALICE/history.txt b/RALICE/history.txt index 04fd09b3afb..dd05f6f0698 100644 --- a/RALICE/history.txt +++ b/RALICE/history.txt @@ -324,3 +324,6 @@ 02-dec-2002 NvE Facility for user defined projectile and target particle ID introduced in AliEvent and projectile/target information provided in the AliCollider created event structure. +11-dec-2002 NvE Copyright notice added into AliCollider.h and AliCollider.cxx. + Also small (integer division) modification made in AliCollider.cxx + to prevent an innocent warning of the g++ compiler under Linux. -- 2.43.0