41 #ifndef XrayFluoDetectorConstruction_hh
42 #define XrayFluoDetectorConstruction_hh 1
93 {sampleGranularity = granularity;};
96 {phaseSpaceFlag =
true;};
99 {phaseSpaceFlag =
false;};
102 {
return phaseSpaceFlag;};
185 G4Box* solidOhmicPos;
193 G4Box* solidOhmicNeg;
231 G4int NbOfPixelColumns;
307 void DefineDefaultMaterials();
311 void ComputeApparateParameters();
317 inline void XrayFluoDetectorConstruction::ComputeApparateParameters()
321 if (phaseSpaceFlag) {
329 DeviceThickness = PixelThickness+OhmicNegThickness+OhmicPosThickness+windowThickness;
333 DeviceSizeY =(NbOfPixelRows *
std::max(ContactSizeXY,PixelSizeXY));
334 DeviceSizeX =(NbOfPixelColumns *
std::max(ContactSizeXY,PixelSizeXY));
340 WorldSizeXY = 2 * (DistDe +1.4142 *Dia1SizeXY)+5*
CLHEP::m;
G4double GetSampleThickness() const
const G4VPhysicalVolume * GetOhmicPos() const
static constexpr double m
G4int GetNbOfPixelRows() const
static constexpr double cm
CLHEP::Hep3Vector G4ThreeVector
const G4VPhysicalVolume * GetHPGe() const
G4double GetDia3Thickness() const
G4ThreeVector GetDetectorPosition() const
G4Material * GetSampleMaterial() const
G4double GetSampleSizeXY() const
const G4VPhysicalVolume * GetOhmicNeg() const
G4int GetNbOfPixels() const
G4ThreeVector GetSamplePosition() const
G4Material * GetDia1Material() const
static XrayFluoDetectorConstruction * GetInstance()
const G4VPhysicalVolume * GetWindow() const
G4double GetOhmicPosThickness() const
G4double GetDia1SizeXY() const
void SetOhmicPosThickness(G4double)
G4double GetPixelSizeXY() const
XrayFluoVDetectorType * GetDetectorType() const
void SetGrainDia(G4double size)
void SetDetectorType(G4String type)
void SetSampleMaterial(G4String newMaterial)
G4GLOB_DLL std::ostream G4cout
G4double GetContactSizeXY() const
const G4VPhysicalVolume * GetDia1() const
G4double GetDia1Thickness() const
const G4VPhysicalVolume * GetSample() const
G4double GetDeviceSizeX() const
void ConstructSDandField()
G4Navigator * GetGeometryNavigator() const
G4VPhysicalVolume * Construct()
G4Material * GetPixelMaterial() const
const G4VPhysicalVolume * GetphysiPixel() const
G4double GetDeviceSizeY() const
void DeleteGrainObjects()
const G4VPhysicalVolume * GetphysiWorld() const
G4double GetOhmicNegThickness() const
T max(const T t1, const T t2)
brief Return the largest of the two arguments
~XrayFluoDetectorConstruction()
G4double GetWorldSizeXY() const
G4Material * GetOhmicPosMaterial() const
G4int GetNbOfPixelColumns() const
G4Material * GetDia3Material() const
const G4VPhysicalVolume * GetDia3() const
void SetSampleGranularity(G4bool granularity)
G4double GetWorldSizeZ() const
G4bool GetPhaseSpaceFlag() const
G4double GetDia3SizeXY() const
G4double GetDeviceThickness() const
G4Material * GetOhmicNegMaterial() const
void PrintApparateParameters()