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"
18 #include "AliDetSwitchVector.h"
22 class G4VPhysicalVolume;
24 class AliDetConstruction : public AliModulesComposition
29 // AliDetConstruction(const AliDetConstruction& right);
30 virtual ~AliDetConstruction();
33 virtual G4VPhysicalVolume* Construct();
34 virtual void GenerateXMLGeometry() const;
37 AliDetConstruction(const AliDetConstruction& right);
40 AliDetConstruction& operator=(const AliDetConstruction& right);
44 void BuildDetectors();
45 void CreateDetectors();
46 void CheckDependence(const G4String& master, const G4String& slave);
47 void CheckDetDependencies();
50 AliDetSwitchVector fDetSwitchVector; //vector of AliDetSwitch
53 #endif //ALI_DET_CONSTRUCTION_H