20 lines
427 B
C++
20 lines
427 B
C++
#ifndef DetectorConstruction_h
|
|
#define DetectorConstruction_h 1
|
|
|
|
#include "G4VUserDetectorConstruction.hh"
|
|
|
|
class DetectorConstruction : public G4VUserDetectorConstruction
|
|
{
|
|
public:
|
|
DetectorConstruction();
|
|
virtual ~DetectorConstruction();
|
|
|
|
virtual G4VPhysicalVolume* Construct();
|
|
|
|
G4LogicalVolume* GetScoringVolume() const { return fScoringVolume; }
|
|
|
|
private:
|
|
G4LogicalVolume* fScoringVolume;
|
|
};
|
|
|
|
#endif |