]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
11-dec-2002 NvE Copyright notice added into AliCollider.h and AliCollider.cxx.
authornick <nick@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Dec 2002 14:45:12 +0000 (14:45 +0000)
committernick <nick@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Dec 2002 14:45:12 +0000 (14:45 +0000)
                Also small (integer division) modification made in AliCollider.cxx
                to prevent an innocent warning of the g++ compiler under Linux.

RALICE/AliCollider.cxx
RALICE/AliCollider.h
RALICE/history.txt

index b3d8ccda3ba4fed4273f285e56554039b7a29424..668394bde34530fb75144f6440bb62ed814472e0 100644 (file)
@@ -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
 //
 //
 //--- 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
index b4fc5d72d122fbe0a30e0f7bab9c113bdfe7b8d2..62c7ee4d03bf17efb947e4d616a998b80d349afc 100644 (file)
@@ -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"
index 04fd09b3afbfbdcdfbb29d3adb0682900713ff71..dd05f6f0698dd05aedbf0c06a1487bdb238fb5a5 100644 (file)
 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.