Initial import
[u/mrichter/AliRoot.git] / AliFluka / AliDetConstructionHelper.cxx
1 // $Id$
2 // Flugg tag $Name$
3
4 #include "AliDetConstructionHelper.h"
5 #include "AliDetConstruction.h"
6 #include "AliFiles.h"
7 #include "AliBODY.h"
8 #include "AliHALL.h"
9
10 /*
11 #include <TROOT.h>
12 #include <TCint.h>
13 */
14
15 AliDetConstructionHelper::AliDetConstructionHelper()
16 {
17 /*
18   // initialize the Alice setup
19   gROOT->LoadMacro("/home/ivana/AliRoot/macros/Config.C");
20   gInterpreter->ProcessLine("Config()");
21 */
22   G4cout << "Creating world" << G4endl;
23   AliBODY *BODY = new AliBODY("BODY","Alice envelop");
24   G4cout << "Creating hall" << G4endl;
25   AliHALL *HALL = new AliHALL("HALL","Alice Hall");
26
27   fFiles = new AliFiles();
28   fDetConstruction = new AliDetConstruction();
29 }
30
31 AliDetConstructionHelper::~AliDetConstructionHelper()
32 {
33   delete fDetConstruction;
34   delete fFiles;
35 }
36