4 // Detector construction class with interactive setting of detectors setup
6 // In case the detector setup is not defined in Root macro Config.C
7 // commands /alDet/switchOn/Off can be used either interactively or
10 #ifndef ALI_DET_CONSTRUCTION_H
11 #define ALI_DET_CONSTRUCTION_H
13 #include "AliModulesComposition.h"
17 class G4VPhysicalVolume;
19 class AliDetConstruction : public AliModulesComposition
24 // AliDetConstruction(const AliDetConstruction& right);
25 virtual ~AliDetConstruction();
28 virtual G4VPhysicalVolume* Construct();
31 void SetTopVolumeName(G4String name);
34 AliDetConstruction(const AliDetConstruction& right);
37 AliDetConstruction& operator=(const AliDetConstruction& right);
41 void BuildDetectors();
42 void CreateDetectors();
43 void CheckDetDependencies();
46 G4String fTopVolumeName; //top volume name
51 inline void AliDetConstruction::SetTopVolumeName(G4String name)
52 { fTopVolumeName = name; }
54 #endif //ALI_DET_CONSTRUCTION_H