23 lines
510 B
C
23 lines
510 B
C
|
#ifndef B0DetectorConstruction_h
|
||
|
#define B0DetectorConstruction_h
|
||
|
|
||
|
#include "G4VUserDetectorConstruction.hh"
|
||
|
#include "globals.hh"
|
||
|
|
||
|
class G4VPhysicalVolume;
|
||
|
class G4LogicalVolume;
|
||
|
|
||
|
class DetectorConstruction : public G4VUserDetectorConstruction {
|
||
|
public:
|
||
|
DetectorConstruction();
|
||
|
~DetectorConstruction() override;
|
||
|
|
||
|
G4VPhysicalVolume* Construct() override;
|
||
|
G4LogicalVolume* GetScoringVolume() const { return fScoringVolume; }
|
||
|
|
||
|
protected:
|
||
|
G4LogicalVolume* fScoringVolume = nullptr;
|
||
|
};
|
||
|
|
||
|
#endif
|