| 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
| 2 | * See cxx source for full Copyright notice */ |
| 3 | |
| 4 | // $Id$ |
| 5 | // |
| 6 | // Author: I. Hrivnacova |
| 7 | // |
| 8 | // Class AliDetConstructionHelper |
| 9 | // ------------------------------ |
| 10 | // Helper class that takes care of instantiating AliRoot modules |
| 11 | // and creating detector construction class. |
| 12 | |
| 13 | #ifndef ALI_DET_CONSTRUCTION_HELPER_H |
| 14 | #define ALI_DET_CONSTRUCTION_HELPER_H |
| 15 | |
| 16 | class G4VUserDetectorConstruction; |
| 17 | class AliFiles; |
| 18 | |
| 19 | class AliDetConstructionHelper |
| 20 | { |
| 21 | public: |
| 22 | AliDetConstructionHelper(); |
| 23 | virtual ~AliDetConstructionHelper(); |
| 24 | |
| 25 | // methods |
| 26 | G4VUserDetectorConstruction* DetConstruction() const; |
| 27 | |
| 28 | private: |
| 29 | G4VUserDetectorConstruction* fDetConstruction;//detector construction |
| 30 | AliFiles* fFiles; //file paths |
| 31 | }; |
| 32 | |
| 33 | // inline methods |
| 34 | |
| 35 | inline G4VUserDetectorConstruction* AliDetConstructionHelper::DetConstruction() const |
| 36 | { return fDetConstruction; } |
| 37 | |
| 38 | #endif //ALI_DETECTOR_CONSTRUCTION_HELPER_H |
| 39 | |