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 // Author: I. Hrivnacova
22 #include "FGeometryInit.hh"
24 #include "AliDetConstructionHelper.h"
29 #define flukam flukam_
31 extern "C" void flukam(const G4int & GeoFlag);
33 int main(int argc, char** argv)
35 // ROOT ===================
36 TROOT aTROOT("Alice","Alice Flugg prototype Root I/O");
40 = new AliRun("gAlice","The Alice run manager");
41 G4cout << "AliRun has been created." << G4endl;
45 = new TFluka("TFluka", "The Fluka Monte Carlo");
46 G4cout << "TFluka has been created." << G4endl;
48 // Detector construction helper
49 AliDetConstructionHelper* detHelper = new AliDetConstructionHelper();
50 G4cout << "Detector construction helper has been created." << G4endl;
53 FGeometryInit* theFGeometryInit = FGeometryInit::GetInstance();
54 theFGeometryInit->setDetConstruction(detHelper->DetConstruction());
55 G4cout << "Detector construction has been set to Flugg." << G4endl;