another fix

This commit is contained in:
Jan Kieseler
2023-09-21 10:18:26 +02:00
parent 8d2302b5dc
commit 5344586a7a
3 changed files with 13 additions and 3 deletions
+2 -1
View File
@@ -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;
}