Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -23,60 +23,54 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// $Id$
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
// This example is provided by the Geant4-DNA collaboration
|
||||
// Any report or published results obtained using the Geant4-DNA software
|
||||
// shall cite the following Geant4-DNA collaboration publication:
|
||||
// Med. Phys. 37 (2010) 4692-4708
|
||||
// The Geant4-DNA web site is available at http://geant4-dna.org
|
||||
//
|
||||
|
||||
#ifndef DetectorConstruction_h
|
||||
#define DetectorConstruction_h 1
|
||||
|
||||
#include "G4VUserDetectorConstruction.hh"
|
||||
#include "G4VPhysicalVolume.hh"
|
||||
#include "G4LogicalVolume.hh"
|
||||
#include "G4Box.hh"
|
||||
#include "G4Sphere.hh"
|
||||
#include "G4Material.hh"
|
||||
#include "G4NistManager.hh"
|
||||
#include "G4PVPlacement.hh"
|
||||
#include "G4UserLimits.hh"
|
||||
#include "G4VisAttributes.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
class G4Region;
|
||||
class DetectorMessenger;
|
||||
|
||||
class DetectorConstruction : public G4VUserDetectorConstruction
|
||||
{
|
||||
public:
|
||||
public:
|
||||
|
||||
DetectorConstruction();
|
||||
DetectorConstruction();
|
||||
|
||||
~DetectorConstruction();
|
||||
~DetectorConstruction();
|
||||
|
||||
G4VPhysicalVolume* Construct();
|
||||
G4VPhysicalVolume* Construct();
|
||||
|
||||
void SetMaterial (G4String);
|
||||
void UpdateGeometry();
|
||||
void SetMaterial (G4String);
|
||||
void UpdateGeometry();
|
||||
|
||||
private:
|
||||
private:
|
||||
|
||||
G4double WorldSizeX;
|
||||
G4double WorldSizeY;
|
||||
G4double WorldSizeZ;
|
||||
G4double fWorldSizeX;
|
||||
G4double fWorldSizeY;
|
||||
G4double fWorldSizeZ;
|
||||
|
||||
G4VPhysicalVolume* physiWorld;
|
||||
G4LogicalVolume* logicWorld;
|
||||
G4Box* solidWorld;
|
||||
G4VPhysicalVolume* fPhysiWorld;
|
||||
G4LogicalVolume* fLogicWorld;
|
||||
G4Box* fSolidWorld;
|
||||
|
||||
G4Material* waterMaterial;
|
||||
G4Material* fWaterMaterial;
|
||||
|
||||
void DefineMaterials();
|
||||
void DefineMaterials();
|
||||
|
||||
G4VPhysicalVolume* ConstructDetector();
|
||||
DetectorMessenger* fDetectorMessenger;
|
||||
G4VPhysicalVolume* ConstructDetector();
|
||||
DetectorMessenger* fDetectorMessenger;
|
||||
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user