1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 Revision 1.2.2.2 2002/09/12 10:25:39 iglez2
19 Corrected the output to write AliFluka and not TFluka
21 Revision 1.2.2.1 2002/07/24 08:49:41 alibrary
22 Adding TFluka to VirtualMC
24 Revision 1.2 2002/07/11 08:58:07 morsch
25 Some corrections in the constructors. Init() moved to AliFluka.
27 Revision 1.1 2002/07/05 13:10:07 morsch
28 First commit of Fluka interface.
34 #include "AliGenerator.h"
41 printf("AliFluka::Init \n\n");
45 void AliFluka::ProcessRun(Int_t nevent)
50 printf("AliFluka::ProcessRun \n\n");
52 Int_t todo = TMath::Abs(nevent);
53 for (Int_t i=0; i<todo; i++) {
54 // Process one run (one run = one event)
57 gAlice->FinishEvent();
63 void AliFluka::ProcessEvent()
68 printf("AliFluka::ProcessEvent \n\n");
69 gAlice->Generator()->Generate();