Initial import
[u/mrichter/AliRoot.git] / AliFluka / AliDetConstructionHelper.h
1 // $Id$
2 //
3 // Author: I. Hrivnacova
4 //
5 // Class AliDetConstructionHelper
6 // ------------------------------
7 // Helper class that takes care of instantiating AliRoot modules
8 // and creating detector construction class.
9
10 #ifndef ALI_DET_CONSTRUCTION_HELPER_H
11 #define ALI_DET_CONSTRUCTION_HELPER_H
12
13 class G4VUserDetectorConstruction;
14 class AliFiles;
15
16 class AliDetConstructionHelper
17 {
18   public:
19     AliDetConstructionHelper();
20     virtual ~AliDetConstructionHelper();
21     
22     // methods
23     G4VUserDetectorConstruction* DetConstruction() const;
24
25   private:
26     G4VUserDetectorConstruction* fDetConstruction;//detector construction
27     AliFiles*                    fFiles;          //file paths  
28 };
29
30 // inline methods
31
32 inline G4VUserDetectorConstruction* AliDetConstructionHelper::DetConstruction() const
33 { return fDetConstruction; }
34
35 #endif //ALI_DETECTOR_CONSTRUCTION_HELPER_H
36