#include <ExExChDetectorConstruction.hh>
ExExChDetectorConstruction::ExExChDetectorConstruction |
( |
| ) |
|
Definition at line 79 of file ExExChDetectorConstruction.cc.
80 fWorldLogic(0),fXtalLogic(0){
CLHEP::Hep3Vector G4ThreeVector
static constexpr double centimeter
static constexpr double meter
static constexpr double millimeter
static constexpr double micrometer
static constexpr double deg
void SetXtalMaterial(const G4String &name)
static constexpr double angstrom
ExExChDetectorConstruction::~ExExChDetectorConstruction |
( |
| ) |
|
void ExExChDetectorConstruction::AddXtalTarget |
( |
| ) |
|
|
inline |
Implements G4VUserDetectorConstruction.
Definition at line 138 of file ExExChDetectorConstruction.cc.
146 fWorldSolid =
new G4Box(
"World",
166 for(
unsigned int i1=0;i1<3;i1++){
172 fSSDXtalDistance[i1]);
189 fSSDXtalDistance[0] + std::fabs(fSSDXtalDistance[1] -
190 fSSDXtalDistance[0])/2.);
193 std::fabs(fSSDXtalDistance[1] - fSSDXtalDistance[0]) -
194 2. * (fSSDSize.
z()/2.) - 2. * fBeamPipeFromSiSDDistance;
197 ConstructBeamPipe(fBeamPipeA0Length);
210 std::fabs(fSSDXtalDistance[2]) - 2. * (fSSDSize.
z()/2.) -
211 2. * fBeamPipeFromSiSDDistance;
214 ConstructBeamPipe(fBeamPipeA1Length);
224 #ifndef G4MULTITHREADED
229 for(
unsigned int i1=0;i1<3;i1++){
235 ConstructXtalTarget();
238 return fWorldPhysical;
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
CLHEP::Hep3Vector G4ThreeVector
static G4NistManager * Instance()
static constexpr double centimeter
static constexpr double meter
void AddNewDetector(G4VSensitiveDetector *aSD)
static G4SDManager * GetSDMpointer()
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)
void ExExChDetectorConstruction::DefineMaterials |
( |
| ) |
|
G4ThreeVector ExExChDetectorConstruction::GetXtalCurvatureRadius |
( |
| ) |
|
|
inline |
G4String ExExChDetectorConstruction::GetXtalMaterial |
( |
| ) |
|
G4double ExExChDetectorConstruction::GetXtalThermalVibrationAmplitude |
( |
| ) |
|
|
inline |
Definition at line 694 of file ExExChDetectorConstruction.cc.
695 if(fXtalAngle != angle) {
void GeometryHasBeenModified(G4bool prop=true)
static G4double angle[DIM]
static G4RunManager * GetRunManager()
Definition at line 721 of file ExExChDetectorConstruction.cc.
723 if(fXtalCellAngle != cellangle) {
725 fXtalCellAngle = cellangle;
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition at line 703 of file ExExChDetectorConstruction.cc.
704 if(fXtalCellSize != cellsize) {
706 fXtalCellSize = cellsize;
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition at line 676 of file ExExChDetectorConstruction.cc.
677 if(fXtalCurvatureRadius != cr) {
679 fXtalCurvatureRadius = cr;
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
void ExExChDetectorConstruction::SetXtalMaterial |
( |
const G4String & |
name | ) |
|
Definition at line 647 of file ExExChDetectorConstruction.cc.
654 if (vMaterial && vMaterial != fXtalMaterial) {
655 G4cout <<
"DetectorConstructor::SetXtalMaterial() - New Xtal Material: "
657 fXtalMaterial = vMaterial;
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
const G4String & GetName() const
static G4NistManager * Instance()
G4GLOB_DLL std::ostream G4cout
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
void SetMaterial(G4Material *pMaterial)
Definition at line 712 of file ExExChDetectorConstruction.cc.
713 if(fXtalMiller != miller) {
715 fXtalMiller = miller;
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition at line 685 of file ExExChDetectorConstruction.cc.
686 if(fXtalSize != size) {
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
void ExExChDetectorConstruction::SetXtalThermalVibrationAmplitude |
( |
G4double |
thermvibr | ) |
|
Definition at line 731 of file ExExChDetectorConstruction.cc.
733 if(fXtalTVA != thermvibr) {
735 fXtalTVA = thermvibr;
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
The documentation for this class was generated from the following files: