another fix
This commit is contained in:
@@ -61,6 +61,7 @@ class DetectorConstruction : public G4VUserDetectorConstruction
|
||||
{
|
||||
public:
|
||||
|
||||
//we have to pass around these global things...
|
||||
static DetectorConstruction* _global_detector_construction;
|
||||
static DetectorConstruction* getDetectorConstruction(){
|
||||
return _global_detector_construction;
|
||||
@@ -75,7 +76,7 @@ class DetectorConstruction : public G4VUserDetectorConstruction
|
||||
G4VPhysicalVolume* Construct() override;
|
||||
void ConstructSDandField() override;
|
||||
|
||||
void setConstructionWrapper(ConstructionWrapper* Cw){
|
||||
void setConstructionWrapper(ConstructionWrapper* Cw){
|
||||
this->cw = Cw;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user