39 #ifndef XrayFluoMercuryDetectorConstruction_hh
40 #define XrayFluoMercuryDetectorConstruction_hh 1
88 {ThetaHPGe = 180.* CLHEP::deg - lat;};
132 G4bool mercuryGranularity;
162 G4Box* solidOhmicPos;
166 G4Box* solidOhmicNeg;
206 G4int NbOfPixelColumns;
257 void DefineDefaultMaterials();
261 void ComputeApparateParameters();
267 inline void XrayFluoMercuryDetectorConstruction::ComputeApparateParameters()
271 DeviceThickness = PixelThickness+OhmicNegThickness+OhmicPosThickness;
275 DeviceSizeY =(NbOfPixelRows *
std::max(ContactSizeXY,PixelSizeXY));
276 DeviceSizeX =(NbOfPixelColumns *
std::max(ContactSizeXY,PixelSizeXY));
278 screenSizeXY = opticDia;
280 G4cout <<
"DeviceSizeX(cm): "<< DeviceSizeX/CLHEP::cm <<
G4endl;
281 G4cout <<
"DeviceSizeY(cm): "<< DeviceSizeY/CLHEP::cm <<
G4endl;
287 WorldSizeZ = 2 * mercurySunDistance ;
288 WorldSizeXY = (2 * distDe) + 2000 * CLHEP::km ;
const G4VPhysicalVolume * GetphysiWorld()
G4double GetOrbitInclination()
void PrintApparateParameters()
G4double GetOrbitDistance()
G4double GetOpticAperture()
G4double GetDeviceThickness()
const G4VPhysicalVolume * GetphysiPixel()
void SetOribitHeight(G4double size)
G4Material * GetPixelMaterial()
G4double GetPixelSizeXY()
G4double GetOhmicPosThickness()
const G4VPhysicalVolume * GetHPGe()
const G4VPhysicalVolume * GetOhmicNeg()
G4Material * GetMercuryMaterial()
G4double GetOhmicNegThickness()
static XrayFluoMercuryDetectorConstruction * GetInstance()
G4GLOB_DLL std::ostream G4cout
void SetMercuryMaterial(G4String newMaterial)
G4Material * GetOhmicNegMaterial()
G4double GetContactSizeXY()
const G4VPhysicalVolume * GetMercury()
G4VPhysicalVolume * Construct()
G4Material * GetOhmicPosMaterial()
XrayFluoVDetectorType * GetDetectorType()
T max(const T t1, const T t2)
brief Return the largest of the two arguments
G4double GetDeviceSizeY()
G4int GetNbOfPixelColumns()
const G4VPhysicalVolume * GetOptic()
~XrayFluoMercuryDetectorConstruction()
G4double GetWorldSizeXY()
G4double GetDeviceSizeX()
void SetDetectorType(G4String type)
void SetLatitude(G4double lat)
const G4VPhysicalVolume * GetOhmicPos()