39 #ifndef XrayFluoPlaneDetectorConstruction_hh
40 #define XrayFluoPlaneDetectorConstruction_hh 1
83 {planeGranularity = granularity;};
164 G4Box* solidOhmicPos;
168 G4Box* solidOhmicNeg;
204 G4int NbOfPixelColumns;
267 void DefineDefaultMaterials();
271 void ComputeApparateParameters();
277 inline void XrayFluoPlaneDetectorConstruction::ComputeApparateParameters()
281 DeviceThickness = PixelThickness+OhmicNegThickness+OhmicPosThickness;
283 G4cout <<
"DeviceThickness(cm): "<< DeviceThickness/CLHEP::cm <<
G4endl;
285 DeviceSizeY =(NbOfPixelRows *
std::max(ContactSizeXY,PixelSizeXY));
286 DeviceSizeX =(NbOfPixelColumns *
std::max(ContactSizeXY,PixelSizeXY));
288 screenSizeXY = 2 * DeviceThickness +
std::max(DeviceSizeY,DeviceSizeX);
290 G4cout <<
"DeviceSizeX(cm): "<< DeviceSizeX/CLHEP::cm <<
G4endl;
291 G4cout <<
"DeviceSizeY(cm): "<< DeviceSizeY/CLHEP::cm <<
G4endl;
293 WorldSizeZ = (2 * (DistDe + DeviceThickness + screenThickness)) + 5*CLHEP::m;
294 WorldSizeXY = (2 * (planeSizeXY))+ 5*CLHEP::m;
const G4VPhysicalVolume * GetOhmicPos()
~XrayFluoPlaneDetectorConstruction()
G4double GetOhmicPosThickness()
XrayFluoVDetectorType * GetDetectorType()
G4double GetContactSizeXY()
const G4VPhysicalVolume * GetOhmicNeg()
void SetDetectorType(G4String type)
void SetGrainDia(G4double size)
static XrayFluoPlaneDetectorConstruction * GetInstance()
void PrintApparateParameters()
G4Material * GetPlaneMaterial()
void SetPlaneGranularity(G4bool granularity)
G4GLOB_DLL std::ostream G4cout
void DeleteGrainObjects()
G4Material * GetPixelMaterial()
G4Material * GetOhmicPosMaterial()
const G4VPhysicalVolume * GetphysiPixel()
const G4VPhysicalVolume * GetHPGe()
const G4VPhysicalVolume * GetPlane()
G4double GetPlaneSizeXY()
T max(const T t1, const T t2)
brief Return the largest of the two arguments
G4Material * GetOhmicNegMaterial()
G4VPhysicalVolume * Construct()
G4double GetDeviceThickness()
G4int GetNbOfPixelColumns()
G4double GetPixelSizeXY()
G4double GetWorldSizeXY()
void SetPlaneMaterial(G4String newMaterial)
G4double GetOhmicNegThickness()
G4double GetPlaneThickness()
G4double GetDeviceSizeY()
const G4VPhysicalVolume * GetphysiWorld()
G4double GetDeviceSizeX()