31 lines
640 B
C++
31 lines
640 B
C++
|
|
#ifndef DetectorConstruction_h
|
|
#define DetectorConstruction_h 1
|
|
|
|
#include "G4VUserDetectorConstruction.hh"
|
|
#include "globals.hh"
|
|
|
|
class G4VPhysicalVolume;
|
|
class G4LogicalVolume;
|
|
|
|
/// Detector construction class to define materials and geometry.
|
|
|
|
class DetectorConstruction : public G4VUserDetectorConstruction
|
|
{
|
|
public:
|
|
DetectorConstruction();
|
|
virtual ~DetectorConstruction();
|
|
|
|
virtual G4VPhysicalVolume* Construct();
|
|
virtual void ConstructSDandField();
|
|
|
|
protected:
|
|
// void DefineMaterials();
|
|
G4bool fCheckOverlaps;
|
|
};
|
|
|
|
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|
|
|
#endif
|
|
|