31 lines
527 B
C++
31 lines
527 B
C++
#ifndef DetectorConstruction_h
|
|
#define DetectorConstruction_h
|
|
|
|
#include "Core/Object.h"
|
|
#include "G4VUserDetectorConstruction.hh"
|
|
#include "globals.hh"
|
|
|
|
class G4VPhysicalVolume;
|
|
class G4LogicalVolume;
|
|
|
|
namespace uLib {
|
|
namespace Geant {
|
|
|
|
class DetectorConstruction : public G4VUserDetectorConstruction {
|
|
public:
|
|
DetectorConstruction(const char *name);
|
|
virtual ~DetectorConstruction();
|
|
|
|
virtual G4VPhysicalVolume *Construct();
|
|
|
|
virtual void ConstructSDandField();
|
|
};
|
|
|
|
} // namespace Geant
|
|
} // namespace uLib
|
|
|
|
#endif
|
|
|
|
|
|
|