4 // Author: I. Hrivnacova
6 // Class AliDetConstruction
7 // ------------------------
8 // Detector construction class with interactive setting of detectors setup
10 // In case the detector setup is not defined in Root macro Config.C
11 // the commands /alDet/switchOn/Off can be used either interactively or
14 #ifndef ALI_DET_CONSTRUCTION_H
15 #define ALI_DET_CONSTRUCTION_H
17 #include "AliModulesComposition.h"
21 class G4VPhysicalVolume;
23 class AliDetConstruction : public AliModulesComposition
28 // AliDetConstruction(const AliDetConstruction& right);
29 virtual ~AliDetConstruction();
32 virtual G4VPhysicalVolume* Construct();
35 void SetTopVolumeName(G4String name);
38 AliDetConstruction(const AliDetConstruction& right);
41 AliDetConstruction& operator=(const AliDetConstruction& right);
45 void BuildDetectors();
46 void CreateDetectors();
47 void CheckDetDependencies();
50 G4String fTopVolumeName; //top volume name
55 inline void AliDetConstruction::SetTopVolumeName(G4String name)
56 { fTopVolumeName = name; }
58 #endif //ALI_DET_CONSTRUCTION_H