39 #ifndef XrayFluoPlaneDetectorConstruction_hh
40 #define XrayFluoPlaneDetectorConstruction_hh 1
84 {planeGranularity = granularity;};
165 G4Box* solidOhmicPos;
169 G4Box* solidOhmicNeg;
205 G4int NbOfPixelColumns;
268 void DefineDefaultMaterials();
272 void ComputeApparateParameters();
278 inline void XrayFluoPlaneDetectorConstruction::ComputeApparateParameters()
282 DeviceThickness = PixelThickness+OhmicNegThickness+OhmicPosThickness;
286 DeviceSizeY =(NbOfPixelRows *
std::max(ContactSizeXY,PixelSizeXY));
287 DeviceSizeX =(NbOfPixelColumns *
std::max(ContactSizeXY,PixelSizeXY));
289 screenSizeXY = 2 * DeviceThickness +
std::max(DeviceSizeY,DeviceSizeX);
294 WorldSizeZ = (2 * (DistDe + DeviceThickness + screenThickness)) + 5*
CLHEP::m;
295 WorldSizeXY = (2 * (planeSizeXY))+ 5*
CLHEP::m;
static constexpr double m
G4double GetOhmicPosThickness() const
static constexpr double cm
~XrayFluoPlaneDetectorConstruction()
G4double GetDeviceThickness() const
void ConstructSDandField()
G4Material * GetPlaneMaterial() const
G4double GetPlaneSizeXY() const
G4Material * GetOhmicNegMaterial() const
XrayFluoVDetectorType * GetDetectorType() const
G4int GetNbOfPixelColumns() const
G4double GetWorldSizeZ() const
void SetDetectorType(G4String type)
void SetGrainDia(G4double size)
G4double GetDeviceSizeY() const
G4Material * GetOhmicPosMaterial() const
G4double GetPlaneThickness() const
const G4VPhysicalVolume * GetOhmicNeg() const
G4double GetOhmicNegThickness() const
static XrayFluoPlaneDetectorConstruction * GetInstance()
void PrintApparateParameters()
G4int GetNbOfPixels() const
void SetPlaneGranularity(G4bool granularity)
G4GLOB_DLL std::ostream G4cout
void DeleteGrainObjects()
G4Material * GetPixelMaterial() const
const G4VPhysicalVolume * GetPlane() const
G4double GetPixelSizeXY() const
G4int GetNbOfPixelRows() const
T max(const T t1, const T t2)
brief Return the largest of the two arguments
const G4VPhysicalVolume * GetphysiPixel() const
G4double GetDeviceSizeX() const
G4double GetContactSizeXY() const
G4VPhysicalVolume * Construct()
const G4VPhysicalVolume * GetOhmicPos() const
const G4VPhysicalVolume * GetphysiWorld() const
const G4VPhysicalVolume * GetHPGe() const
void SetPlaneMaterial(G4String newMaterial)
G4double GetWorldSizeXY() const