/************************************************************************** * 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. * **************************************************************************/ /* $Log$ Revision 1.6 2000/07/13 16:19:09 fca Mainly coding conventions + some small bug fixes Revision 1.5 2000/07/12 08:56:25 fca Coding convention correction and warning removal Revision 1.4 2000/07/11 18:24:59 fca Coding convention corrections + few minor bug fixes Revision 1.3 2000/03/22 18:08:07 fca Rationalisation of the virtual MC interfaces Revision 1.2 1999/09/29 09:24:29 fca Introduction of the Copyright and cvs Log */ #include #include "AliMC.h" ClassImp(AliMC) AliMC* AliMC::fgMC=0; AliMC* gMC; AliMC::AliMC(const char *name, const char *title) : TNamed(name,title) { // // Standard constructor // if(fgMC) { printf("Cannot initialise twice MonteCarlo class\n"); exit(1); } else { fgMC=this; gMC=this; } }