28 #include "DetectorConstruction.hh"
55 #include "SensitiveDetector.hh"
62 fECfileName(
"Si220pl"),
63 fMaterialName(
"G4_Si"),
118 fDetectorSizes.x()/2.,
119 fDetectorSizes.y()/2.,
120 fDetectorSizes.z()/2.);
129 for(
size_t i1=0;i1<3;i1++){
133 fDetectorDistance[i1]),
143 G4Box* crystalSolid =
new G4Box(
"crystal.solid",
203 #ifndef G4MULTITHREADED
207 G4cout <<
" Attaching biasing operator " << testMany->
GetName()
208 <<
" to logical volume " << crystalLogic->
GetName()
213 for(
unsigned int i1=0;i1<3;i1++){
218 return worldPhysical;
223 #ifdef G4MULTITHREADED
230 G4cout <<
" Attaching biasing operator " << testMany->
GetName()
231 <<
" to logical volume " << crystalLogic->
GetName()
238 for(
unsigned int i1=0;i1<3;i1++){
const G4String GetName() const
CLHEP::Hep3Vector G4ThreeVector
static constexpr double mm
G4VMaterialExtension * RetrieveExtension(const G4String &name)
void AddNewDetector(G4VSensitiveDetector *aSD)
CLHEP::HepRotation G4RotationMatrix
G4VPhysicalVolume * Construct()
virtual void SetBR(const G4String &)
void SetUnitCell(G4CrystalUnitCell *aUC)
virtual void ConstructSDandField()
static constexpr double angstrom
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static constexpr double m
void SetFilename(const G4String &)
void AttachTo(const G4LogicalVolume *)
static G4SDManager * GetSDMpointer()
HepRotation & rotateY(double delta)
G4GenericMessenger * fMessenger
static constexpr double mm
HepRotation & rotateZ(double delta)
G4GLOB_DLL std::ostream G4cout
static constexpr double meter
void SetVerbose(G4int aInt)
static constexpr double halfpi
HepRotation & rotateX(double delta)
static G4LogicalVolumeStore * GetInstance()
G4LogicalVolume * GetVolume(const G4String &name, G4bool verbose=true) const
const G4String & GetName() const
static G4NistManager * Instance()
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)
void RegisterExtension(std::unique_ptr< G4VMaterialExtension > extension)