Geant4  10.02.p03
DetectorConstruction Class Reference

Detector construction class to define materials and geometry. More...

#include <DetectorConstruction.hh>

Inherits G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, G4VUserDetectorConstruction, and G4VUserDetectorConstruction.

Collaboration diagram for DetectorConstruction:

Public Types

enum  EMethod {
  kWithDirectMatrix, kWithInverseMatrix, kWithAxialRotations, kWithEulerAngles,
  kWithReflections
}
 

Public Member Functions

 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
void SetMaterial (G4String)
 
const G4VPhysicalVolumeGetWorld ()
 
G4double GetSize ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
void PrintCalorParameters ()
 
G4VPhysicalVolumeGetPvolWorld ()
 
G4MaterialGetWorldMaterial ()
 
G4double GetWorldSizeX ()
 
G4double GetCalorThickness ()
 
G4double GetCalorSizeYZ ()
 
G4double GetModuleThickness ()
 
G4LogicalVolumeGetLvolFiber ()
 
G4LogicalVolumeGetLvolLayer ()
 
G4LogicalVolumeGetLvolModule ()
 
G4LogicalVolumeGetLvolCalorimeter ()
 
G4LogicalVolumeGetLvolWorld ()
 
G4int GetNbFibers ()
 
G4int GetNbLayers ()
 
G4int GetNbModules ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
void ConstructSDandField ()
 
void SetMassNucleus (G4double mN)
 
G4double GetMassNucleus ()
 
void SetMassCytoplasm (G4double mC)
 
G4double GetMassCytoplasm ()
 
void SetNbOfPixelsInPhantom (G4int nP)
 
G4int GetNbOfPixelsInPhantom ()
 
G4LogicalVolumeGetLogicalCollDetYoke ()
 
G4LogicalVolumeGetLogicalIsobutane ()
 
G4LogicalVolumeGetLogicalCollDetGap4 ()
 
G4LogicalVolumeGetLogicalPolyprop ()
 
G4LogicalVolumeGetLogicalKgm ()
 
G4MaterialGetNucleusMaterial1 ()
 
G4MaterialGetNucleusMaterial2 ()
 
G4MaterialGetNucleusMaterial3 ()
 
G4MaterialGetCytoplasmMaterial1 ()
 
G4MaterialGetCytoplasmMaterial2 ()
 
G4MaterialGetCytoplasmMaterial3 ()
 
CellParameterisationGetCellParameterisation ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
G4RegionGetTargetRegion ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
void ConstructSDandField ()
 
void PrintDetectorParameters ()
 
void SetG1 (G4float)
 
void SetG2 (G4float)
 
void SetG3 (G4float)
 
void SetG4 (G4float)
 
G4float GetG1 ()
 
G4float GetG2 ()
 
G4float GetG3 ()
 
G4float GetG4 ()
 
void UpdateGeometry ()
 
G4int GetModel ()
 
void SetModel (G4int)
 
G4int GetCoef ()
 
void SetCoef (G4int val)
 
G4int GetProfile ()
 
void SetProfile (G4int myProfile)
 
G4int GetGrid ()
 
void SetGrid (G4int myGrid)
 
G4LogicalVolumeGetLogicalWorld ()
 
G4LogicalVolumeGetLogicalVol ()
 
G4LogicalVolumeGetLogicalGrid ()
 
 DetectorConstruction (AnalysisManager *analysis)
 
 ~DetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
void ConstructSDandField ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
void SetAbsorberMaterial (G4String)
 
void SetAbsorberThickness (G4double)
 
void SetGapMaterial (G4String)
 
void SetGapThickness (G4double)
 
void SetCalorSizeYZ (G4double)
 
void SetNbOfLayers (G4int)
 
virtual G4VPhysicalVolumeConstruct ()
 
void PrintCalorParameters ()
 
G4double GetWorldSizeX ()
 
G4double GetWorldSizeYZ ()
 
G4double GetCalorThickness ()
 
G4double GetCalorSizeYZ ()
 
G4int GetNbOfLayers ()
 
G4MaterialGetAbsorberMaterial ()
 
G4double GetAbsorberThickness ()
 
G4MaterialGetGapMaterial ()
 
G4double GetGapThickness ()
 
const G4VPhysicalVolumeGetphysiWorld ()
 
const G4VPhysicalVolumeGetAbsorber ()
 
const G4VPhysicalVolumeGetGap ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
void SetAbsorberMaterial (G4String)
 
void SetAbsorberThickness (G4double)
 
void SetGapMaterial (G4String)
 
void SetGapThickness (G4double)
 
void SetCalorSizeYZ (G4double)
 
void SetNbOfLayers (G4int)
 
virtual G4VPhysicalVolumeConstruct ()
 
void PrintCalorParameters ()
 
G4double GetWorldSizeX ()
 
G4double GetWorldSizeYZ ()
 
G4double GetCalorThickness ()
 
G4double GetCalorSizeYZ ()
 
G4int GetNbOfLayers ()
 
G4MaterialGetAbsorberMaterial ()
 
G4double GetAbsorberThickness ()
 
G4MaterialGetGapMaterial ()
 
G4double GetGapThickness ()
 
const G4VPhysicalVolumeGetphysiWorld ()
 
const G4VPhysicalVolumeGetAbsorber ()
 
const G4VPhysicalVolumeGetGap ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
void SetAbsorberMaterial (G4String)
 
void SetAbsorberThickness (G4double)
 
void SetGapMaterial (G4String)
 
void SetGapThickness (G4double)
 
void SetCalorSizeYZ (G4double)
 
void SetNbOfLayers (G4int)
 
virtual G4VPhysicalVolumeConstruct ()
 
void PrintCalorParameters ()
 
G4double GetWorldSizeX ()
 
G4double GetWorldSizeYZ ()
 
G4double GetCalorThickness ()
 
G4double GetCalorSizeYZ ()
 
G4int GetNbOfLayers ()
 
G4MaterialGetAbsorberMaterial ()
 
G4double GetAbsorberThickness ()
 
G4MaterialGetGapMaterial ()
 
G4double GetGapThickness ()
 
const G4VPhysicalVolumeGetphysiWorld ()
 
const G4VPhysicalVolumeGetAbsorber ()
 
const G4VPhysicalVolumeGetGap ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
void SetAbsorberMaterial (G4String)
 
void SetAbsorberThickness (G4double)
 
void SetGapMaterial (G4String)
 
void SetGapThickness (G4double)
 
void SetCalorSizeYZ (G4double)
 
void SetNbOfLayers (G4int)
 
virtual G4VPhysicalVolumeConstruct ()
 
void PrintCalorParameters ()
 
G4double GetWorldSizeX ()
 
G4double GetWorldSizeYZ ()
 
G4double GetCalorThickness ()
 
G4double GetCalorSizeYZ ()
 
G4int GetNbOfLayers ()
 
G4MaterialGetAbsorberMaterial ()
 
G4double GetAbsorberThickness ()
 
G4MaterialGetGapMaterial ()
 
G4double GetGapThickness ()
 
const G4VPhysicalVolumeGetphysiWorld ()
 
const G4VPhysicalVolumeGetAbsorber ()
 
const G4VPhysicalVolumeGetGap ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetMaterial (G4String)
 
const G4VPhysicalVolumeGetWorld ()
 
G4double GetSize ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
void SetSize (G4double)
 
void SetMaterial (G4String)
 
const G4VPhysicalVolumeGetWorld ()
 
G4double GetSize ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
void SetNbOfAbsor (G4int)
 
void SetAbsorMaterial (G4int, const G4String &)
 
void SetAbsorThickness (G4int, G4double)
 
void SetAbsorSizeYZ (G4double)
 
void SetNbOfDivisions (G4int, G4int)
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
G4int GetNbOfAbsor ()
 
G4MaterialGetAbsorMaterial (G4int i)
 
G4double GetAbsorThickness (G4int i)
 
G4double GetXfront (G4int i)
 
G4double GetAbsorSizeX ()
 
G4double GetAbsorSizeYZ ()
 
G4int GetNbOfDivisions (G4int i)
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
void SetRadius (G4double)
 
void SetMaterial (G4String)
 
void SetNbOfLayers (G4int nb)
 
virtual G4VPhysicalVolumeConstruct ()
 
G4double GetAbsorRadius ()
 
G4MaterialGetAbsorMaterial ()
 
G4int GetNbOfLayers ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetSize (G4double)
 
void SetMaterial (G4String)
 
const G4VPhysicalVolumeGetWorld ()
 
G4double GetSize ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetSize (G4double)
 
void SetMaterial (G4String)
 
const G4VPhysicalVolumeGetWorld ()
 
G4double GetSize ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetSize (G4double)
 
void SetMaterial (G4String)
 
void UpdateGeometry ()
 
const G4VPhysicalVolumeGetWorld ()
 
const G4VPhysicalVolumeGetBox ()
 
G4double GetWorldSize ()
 
G4double GetBoxSize ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
void SetSize (G4double)
 
void SetMaterial (G4String)
 
void SetMaxStepSize (G4double)
 
void SetMaxStepLength (G4double)
 
const G4VPhysicalVolumeGetWorld ()
 
G4double GetSize ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetSize (G4double)
 
void SetMaterial (G4String)
 
void UpdateGeometry ()
 
const G4VPhysicalVolumeGetWorld ()
 
G4double GetSize ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetSize (G4double)
 
void SetMaterial (const G4String &)
 
void UpdateGeometry ()
 
const G4VPhysicalVolumeGetWorld ()
 
G4double GetSize ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
void SetMaterial (const G4String &)
 
void SetLBining (G4ThreeVector)
 
void SetRBining (G4ThreeVector)
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
const G4VPhysicalVolumeGetEcal ()
 
G4MaterialGetMaterial ()
 
G4int GetnLtot ()
 
G4int GetnRtot ()
 
G4double GetdLradl ()
 
G4double GetdRradl ()
 
G4double GetdLlength ()
 
G4double GetdRlength ()
 
G4double GetfullLength ()
 
G4double GetfullRadius ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
void SetNbOfAbsor (G4int)
 
void SetAbsorMaterial (G4int, const G4String &)
 
void SetAbsorThickness (G4int, G4double)
 
void SetWorldMaterial (const G4String &)
 
void SetCalorSizeYZ (G4double)
 
void SetNbOfLayers (G4int)
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
void PrintCalorParameters ()
 
G4double GetWorldSizeX ()
 
G4double GetWorldSizeYZ ()
 
G4double GetCalorThickness ()
 
G4double GetCalorSizeYZ ()
 
G4int GetNbOfLayers ()
 
G4int GetNbOfAbsor ()
 
G4MaterialGetAbsorMaterial (G4int i)
 
G4double GetAbsorThickness (G4int i)
 
const G4VPhysicalVolumeGetphysiWorld ()
 
const G4MaterialGetWorldMaterial ()
 
const G4VPhysicalVolumeGetAbsorber (G4int i)
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
void SetAbsorberMaterial (G4String)
 
void SetAbsorberThickness (G4double)
 
void SetAbsorberSizeYZ (G4double)
 
void SetAbsorberXpos (G4double)
 
void SetWorldMaterial (G4String)
 
void SetWorldSizeX (G4double)
 
void SetWorldSizeYZ (G4double)
 
void SetMagField (G4double)
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
void PrintCalorParameters ()
 
G4MaterialGetAbsorberMaterial ()
 
G4double GetAbsorberThickness ()
 
G4double GetAbsorberSizeYZ ()
 
G4double GetAbsorberXpos ()
 
G4double GetxstartAbs ()
 
G4double GetxendAbs ()
 
G4MaterialGetWorldMaterial ()
 
G4double GetWorldSizeX ()
 
const G4VPhysicalVolumeGetAbsorber ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetSize (G4double)
 
void SetMaterial (const G4String &)
 
void SetMagField (G4double)
 
void SetMaxStepSize (G4double)
 
void UpdateGeometry ()
 
const G4VPhysicalVolumeGetWorld ()
 
G4double GetSize ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
void SetSizeX (G4double)
 
void SetSizeYZ (G4double)
 
void SetMaterial (G4String)
 
void SetMagField (G4double)
 
void SetTallyNumber (G4int)
 
void SetTallySize (G4int, G4ThreeVector)
 
void SetTallyMaterial (G4int, G4String)
 
void SetTallyPosition (G4int, G4ThreeVector)
 
virtual G4VPhysicalVolumeConstruct ()
 
void UpdateGeometry ()
 
G4double GetWorldSizeX ()
 
G4double GetWorldSizeYZ ()
 
G4MaterialGetWorldMaterial ()
 
G4double GetAbsorSizeX ()
 
G4double GetAbsorSizeYZ ()
 
G4MaterialGetAbsorMaterial ()
 
G4int GetTallyNumber ()
 
G4double GetTallyMass (G4int n)
 
G4LogicalVolumeGetLogicalTally (G4int n)
 
void PrintParameters ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
void SetGasMaterial (const G4String &)
 
void SetContainerMaterial (const G4String &)
 
void SetWorldMaterial (const G4String &)
 
void SetGasThickness (G4double)
 
void SetGasRadius (G4double)
 
void SetContainerThickness (G4double)
 
void SetPairEnergy (G4double)
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetEcalMaterial (const G4String &)
 
void SetAbsMaterial (const G4String &)
 
void SetEcalLength (G4double val)
 
void SetEcalWidth (G4double val)
 
void SetVertexLength (G4double val)
 
void SetPadLength (G4double val)
 
void SetPadWidth (G4double val)
 
void SetAbsLength (G4double val)
 
void UpdateGeometry ()
 
G4double GetWorldSizeZ ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
G4double GetWorldSizeXY ()
 
G4double GetWorldSizeZ ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
G4double GetWorldSizeXY ()
 
G4double GetWorldSizeZ ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
G4double GetWorldSizeXY ()
 
G4double GetWorldSizeZ ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetSizeX (G4double)
 
void SetSizeYZ (G4double)
 
void SetMaterial (const G4String &)
 
void SetMagField (G4double)
 
void SetMaxStepSize (G4double)
 
void UpdateGeometry ()
 
G4double GetWorldSizeX ()
 
G4double GetAbsorSizeX ()
 
G4double GetMaxStepSize ()
 
const G4MaterialGetAbsorMaterial ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetMethod (EMethod method)
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetWorldMaterial (const G4String &)
 
void SetTargetMaterial (const G4String &)
 
void SetTargetRadius (G4double val)
 
void SetTargetLength (G4double val)
 
const G4MaterialGetTargetMaterial () const
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
void SetWorldMaterial (const G4String &)
 
void SetTargetMaterial (const G4String &)
 
void SetTargetRadius (G4double val)
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetWorldMaterial (const G4String &)
 
void SetTargetMaterial (const G4String &)
 
void SetTargetRadius (G4double val)
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
G4MaterialMaterialWithSingleIsotope (G4String, G4String, G4double, G4int, G4int)
 
void SetSize (G4double)
 
void SetMaterial (G4String)
 
const G4VPhysicalVolumeGetWorld ()
 
G4double GetSize ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
G4MaterialMaterialWithSingleIsotope (G4String, G4String, G4double, G4int, G4int)
 
void SetSize (G4double)
 
void SetMaterial (G4String)
 
const G4VPhysicalVolumeGetWorld ()
 
G4double GetSize ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetWorldMaterial (const G4String &)
 
void SetTargetMaterial (const G4String &)
 
void SetTargetRadius (G4double val)
 
void SetTargetLength (G4double val)
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
G4MaterialMaterialWithSingleIsotope (G4String, G4String, G4double, G4int, G4int)
 
void SetRadius (G4double)
 
void SetMaterial (G4String)
 
G4double GetRadius ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetMaterial (G4String)
 
void UpdateGeometry ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
G4RegionGetTargetRegion ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
BarycenterGetBarycenterList ()
 
PDBlib GetPDBlib ()
 
MoleculeGetMoleculeList ()
 
void LoadPDBfile (G4String fileName)
 
void DrawAtoms_ ()
 
void DrawNucleotides_ ()
 
void DrawResidues_ ()
 
void BuildBoundingVolume ()
 
void DrawAtomsWithBounding_ ()
 
void DrawNucleotidesWithBounding_ ()
 
void DrawResiduesWithBounding_ ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
void SetRadius (G4double)
 
void SetMaterial (G4String)
 
void SetTrackingCut (G4double)
 
virtual G4VPhysicalVolumeConstruct ()
 
G4double GetAbsorRadius () const
 
G4MaterialGetAbsorMaterial () const
 
G4double GetAbsorMass () const
 
void PrintParameters () const
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
void SetRadius (G4double)
 
void SetMaterial (G4String)
 
void SetTrackingCut (G4double)
 
virtual G4VPhysicalVolumeConstruct ()
 
G4double GetAbsorRadius () const
 
G4MaterialGetAbsorMaterial () const
 
G4double GetAbsorMass () const
 
void PrintParameters () const
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
void SetRadius (G4double)
 
void SetMaterial (G4String)
 
void SetTrackingCut (G4double)
 
virtual G4VPhysicalVolumeConstruct ()
 
G4double GetAbsorRadius () const
 
G4MaterialGetAbsorMaterial () const
 
G4double GetAbsorMass () const
 
void PrintParameters () const
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
void SetMaterialScatter (G4String)
 
void SetThicknessScatter (G4double)
 
virtual G4VPhysicalVolumeConstruct ()
 
void UpdateGeometry ()
 
void PrintGeometry ()
 
G4double GetThicknessWorld ()
 
G4double GetRadiusWorld ()
 
G4double GetThicknessFrame ()
 
G4MaterialGetMaterialScatter ()
 
G4double GetThicknessScatter ()
 
G4double GetZdist_foil_detector ()
 
const G4VPhysicalVolumeGetpvolWorld ()
 
const G4VPhysicalVolumeGetpvolFrame ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
void SetWallThickness (G4double)
 
void SetWallMaterial (G4String)
 
void SetCavityThickness (G4double)
 
void SetCavityRadius (G4double)
 
void SetCavityMaterial (G4String)
 
virtual G4VPhysicalVolumeConstruct ()
 
void UpdateGeometry ()
 
G4double GetWallThickness ()
 
G4double GetWallRadius ()
 
G4MaterialGetWallMaterial ()
 
G4VPhysicalVolumeGetWall ()
 
G4double GetCavityThickness ()
 
G4double GetCavityRadius ()
 
G4MaterialGetCavityMaterial ()
 
G4VPhysicalVolumeGetCavity ()
 
G4double GetTotalThickness ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
void SetWallMaterial (G4String)
 
void SetWallThickness (G4double)
 
void SetCavityThickness (G4double)
 
void SetWorldRadius (G4double)
 
virtual G4VPhysicalVolumeConstruct ()
 
void UpdateGeometry ()
 
G4double GetWallThickness ()
 
G4MaterialGetWallMaterial ()
 
G4VPhysicalVolumeGetWall ()
 
G4double GetCavityThickness ()
 
G4MaterialGetCavityMaterial ()
 
G4VPhysicalVolumeGetCavity ()
 
G4double GetWorldThickness ()
 
G4double GetWorldRadius ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
void SetTarget1Material (const G4String &m)
 
void SetTarget2Material (const G4String &m)
 
void UpdateGeometry ()
 
G4double GetGeneratorPosZ () const
 
void SetGap (G4double val)
 
void SetTarget1Z (G4double val)
 
void SetTarget2Z (G4double val)
 
void SetMylarZ (G4double val)
 
void SetCheckShiftZ (G4double val)
 
void SetAbsorberZ (G4double val)
 
void SetAbsorberShiftZ (G4double val)
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
void SetSizeXY (G4double)
 
void SetSizeZ (G4double)
 
void SetTargetMaterial (G4String)
 
void SetWorldMaterial (G4String)
 
void UpdateGeometry ()
 
const G4VPhysicalVolumeGetWorld ()
 
const G4VPhysicalVolumeGetBox ()
 
G4double GetWorldSize ()
 
G4double GetBoxSizeXY ()
 
G4double GetBoxSizeZ ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
G4double GetWorldSize ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetTargetLength (G4double value)
 
void SetTargetRadius (G4double value)
 
void SetTargetMaterial (G4String)
 
void SetDetectorLength (G4double value)
 
void SetDetectorThickness (G4double value)
 
void SetDetectorMaterial (G4String)
 
void PrintParameters ()
 
G4double GetTargetLength ()
 
G4double GetTargetRadius ()
 
G4MaterialGetTargetMaterial ()
 
G4LogicalVolumeGetLogicTarget ()
 
G4double GetDetectorLength ()
 
G4double GetDetectorThickness ()
 
G4MaterialGetDetectorMaterial ()
 
G4LogicalVolumeGetLogicDetector ()
 
- Public Member Functions inherited from G4VUserDetectorConstruction
 G4VUserDetectorConstruction ()
 
virtual ~G4VUserDetectorConstruction ()
 
virtual void CloneSD ()
 
virtual void CloneF ()
 
void RegisterParallelWorld (G4VUserParallelWorld *)
 
G4int ConstructParallelGeometries ()
 
void ConstructParallelSD ()
 
G4int GetNumberOfParallelWorld () const
 
G4VUserParallelWorldGetParallelWorld (G4int i) const
 

Public Attributes

G4float fG1
 
G4float fG2
 
G4float fG3
 
G4float fG4
 
G4int fModel
 
G4int fCoef
 
G4int fProfile
 
G4int fGrid
 

Private Member Functions

void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructCalorimeter ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructLine ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructDetector ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
void ComputeCalorParameters ()
 
G4VPhysicalVolumeConstructCalorimeter ()
 
void DefineMaterials ()
 
void ComputeCalorParameters ()
 
G4VPhysicalVolumeConstructCalorimeter ()
 
void DefineMaterials ()
 
void ComputeCalorParameters ()
 
G4VPhysicalVolumeConstructCalorimeter ()
 
void DefineMaterials ()
 
void ComputeCalorParameters ()
 
G4VPhysicalVolumeConstructCalorimeter ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
void ComputeParameters ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
void ComputeCalorParameters ()
 
G4VPhysicalVolumeConstructCalorimeter ()
 
void ChangeGeometry ()
 
void DefineMaterials ()
 
void ComputeCalorParameters ()
 
G4VPhysicalVolumeConstructCalorimeter ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
void ChangeGeometry ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
DetectorConstructionoperator= (const DetectorConstruction &right)
 
 DetectorConstruction (const DetectorConstruction &)
 
void PrintParameters ()
 
void PrintParameters ()
 
void PlaceWithDirectMatrix ()
 
void PlaceWithInverseMatrix ()
 
void PlaceWithAxialRotations ()
 
void PlaceWithEulerAngles ()
 
void PlaceWithReflections ()
 
DetectorConstructionoperator= (const DetectorConstruction &right)
 
 DetectorConstruction (const DetectorConstruction &)
 
DetectorConstructionoperator= (const DetectorConstruction &right)
 
 DetectorConstruction (const DetectorConstruction &)
 
DetectorConstructionoperator= (const DetectorConstruction &right)
 
 DetectorConstruction (const DetectorConstruction &)
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
DetectorConstructionoperator= (const DetectorConstruction &right)
 
 DetectorConstruction (const DetectorConstruction &)
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
G4MaterialOtherMaterial (G4String materialName)
 
G4VPhysicalVolumeConstructDetector ()
 
G4MaterialOtherMaterial (G4String materialName)
 
G4VPhysicalVolumeConstructDetector ()
 
G4MaterialOtherMaterial (G4String materialName)
 
G4VPhysicalVolumeConstructDetector ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructDetector ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructDetector ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeDefineVolumes ()
 
void ConstructMaterials ()
 
void CheckMaterials ()
 
G4VPhysicalVolumeConstructWorld ()
 
G4VPhysicalVolumeDefineVolumes (G4String filename, unsigned short int option)
 
void AtomisticView (G4LogicalVolume *, Molecule *, double atomSizeFactor)
 
void BarycenterView (G4LogicalVolume *, Barycenter *)
 
void ResiduesView (G4LogicalVolume *, Barycenter *)
 
void DrawBoundingVolume (G4LogicalVolume *, Molecule *)
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructDetector ()
 
void LoadChromosome (const char *filename, G4VPhysicalVolume *physiBox, G4LogicalVolume *logicBoxros)
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
void GeometryParameters ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 
void InitialiseGeometryParameters ()
 
DetectorConstructionoperator= (const DetectorConstruction &right)
 
 DetectorConstruction (const DetectorConstruction &)
 
void DefineMaterials ()
 
G4VPhysicalVolumeConstructVolumes ()
 

Private Attributes

G4VPhysicalVolumepBox
 
G4double BoxSize
 
G4MaterialaMaterial
 
DetectorMessengerdetectorMessenger
 
G4MaterialfiberMat
 
G4double fiberDiameter
 
G4double fiberLength
 
G4LogicalVolumelvol_fiber
 
G4MaterialabsorberMat
 
G4int nbOfFibers
 
G4double distanceInterFibers
 
G4double layerThickness
 
G4LogicalVolumelvol_layer
 
G4MaterialmoduleMat
 
G4int nbOfLayers
 
G4double milledLayer
 
G4double moduleThickness
 
G4LogicalVolumelvol_module
 
G4MaterialcalorimeterMat
 
G4int nbOfModules
 
G4double calorThickness
 
G4LogicalVolumelvol_calorimeter
 
G4MaterialworldMat
 
G4double worldSizeX
 
G4LogicalVolumelvol_world
 
G4VPhysicalVolumepvol_world
 
G4MaterialdefaultMat
 
G4Cache< G4GlobalMagFieldMessenger * > fFieldMessenger
 
G4double fMassNucleus
 
G4double fMassCytoplasm
 
G4double fDensityPhantom
 
G4double fDensityNucleus
 
G4double fDensityCytoplasm
 
G4int fNbOfPixelsInPhantom
 
G4double fWorldSizeXY
 
G4double fWorldSizeZ
 
G4double fCollObjSizeXY
 
G4double fCollObjSizeZ
 
G4double fCiblePositionX
 
G4double fCiblePositionY
 
G4double fCiblePositionZ
 
G4double fLineAngle
 
G4MaterialfDefaultMaterial
 
G4MaterialfCollimatorMaterial
 
G4MaterialfBoiteMaterial
 
G4MaterialfCathodeMaterial
 
G4MaterialfVerreMaterial
 
G4MaterialfVerre2Material
 
G4MaterialfKgmMaterial
 
G4MaterialfBoite2Material
 
G4MaterialfBoite3Material
 
G4MaterialfNucleusMaterial1
 
G4MaterialfCytoplasmMaterial1
 
G4MaterialfNucleusMaterial2
 
G4MaterialfCytoplasmMaterial2
 
G4MaterialfNucleusMaterial3
 
G4MaterialfCytoplasmMaterial3
 
G4VPhysicalVolumefPhysiWorld
 
G4LogicalVolumefLogicWorld
 
G4BoxfSolidWorld
 
G4VPhysicalVolumefPhysiVol
 
G4LogicalVolumefLogicVol
 
G4BoxfSolidVol
 
G4VPhysicalVolumefPhysiBoite
 
G4LogicalVolumefLogicBoite
 
G4BoxfSolidBoite
 
G4VPhysicalVolumefPhysiYoke1
 
G4LogicalVolumefLogicYoke1
 
G4BoxfSolidYoke1
 
G4VPhysicalVolumefPhysi1Gap
 
G4LogicalVolumefLogic1Gap
 
G4ConsfSolid1Gap
 
G4VPhysicalVolumefPhysi2Gap
 
G4LogicalVolumefLogic2Gap
 
G4ConsfSolid2Gap
 
G4VPhysicalVolumefPhysi3Gap
 
G4LogicalVolumefLogic3Gap
 
G4ConsfSolid3Gap
 
G4VPhysicalVolumefPhysiYoke2
 
G4LogicalVolumefLogicYoke2
 
G4BoxfSolidYoke2
 
G4VPhysicalVolumefPhysi4Gap
 
G4LogicalVolumefLogic4Gap
 
G4ConsfSolid4Gap
 
G4VPhysicalVolumefPhysi5Gap
 
G4LogicalVolumefLogic5Gap
 
G4ConsfSolid5Gap
 
G4VPhysicalVolumefPhysiBoiteIso
 
G4LogicalVolumefLogicBoiteIso
 
G4BoxfSolidBoiteIso
 
G4VPhysicalVolumefPhysiCathode
 
G4LogicalVolumefLogicCathode
 
G4BoxfSolidCathode
 
G4VPhysicalVolumefPhysiIso
 
G4LogicalVolumefLogicIso
 
G4BoxfSolidIso
 
G4VPhysicalVolumefPhysiVerre
 
G4LogicalVolumefLogicVerre
 
G4BoxfSolidVerre
 
G4VPhysicalVolumefPhysiBoite2
 
G4LogicalVolumefLogicBoite2
 
G4BoxfSolidBoite2
 
G4VPhysicalVolumefPhysiBoite3
 
G4LogicalVolumefLogicBoite3
 
G4BoxfSolidBoite3
 
G4VPhysicalVolumefPhysiKgm
 
G4LogicalVolumefLogicKgm
 
G4BoxfSolidKgm
 
G4VPhysicalVolumefPhysiVerre2
 
G4LogicalVolumefLogicVerre2
 
G4BoxfSolidVerre2
 
G4VPhysicalVolumefPhysiPhantom
 
G4LogicalVolumefLogicPhantom
 
G4BoxfSolidPhantom
 
CellParameterisationfMyCellParameterisation
 
G4FieldManagerfFieldMgr
 
G4MagIntegratorStepperfStepper
 
G4EqMagElectricFieldfEquation
 
G4MagInt_DriverfIntgrDriver
 
G4ChordFinderfChordFinder
 
G4PropagatorInFieldfPropInField
 
G4double fWorldSizeX
 
G4double fWorldSizeY
 
G4MaterialfSiMaterial
 
G4RegionfRegion
 
G4VPhysicalVolumefPhysiGridVol
 
G4LogicalVolumefLogicGridVol
 
G4BoxfSolidGridVol
 
G4VPhysicalVolumefPhysiGridVol_Hole
 
G4LogicalVolumefLogicGridVol_Hole
 
G4BoxfSolidGridVol_Hole
 
G4VPhysicalVolumefPhysiControlVol_GridShadow
 
G4LogicalVolumefLogicControlVol_GridShadow
 
G4BoxfSolidControlVol_GridShadow
 
G4MaterialfGridMaterial
 
G4bool fGradientsInitialized
 
DetectorMessengerfDetectorMessenger
 
G4Mag_UsualEqRhsfEquation
 
AnalysisManageranalysis
 
G4MaterialfAbsorberMaterial
 
G4double fAbsorberThickness
 
G4MaterialfGapMaterial
 
G4double fGapThickness
 
G4int fNbOfLayers
 
G4double fLayerThickness
 
G4double fCalorSizeYZ
 
G4double fCalorThickness
 
G4double fWorldSizeYZ
 
G4BoxfSolidCalor
 
G4LogicalVolumefLogicCalor
 
G4VPhysicalVolumefPhysiCalor
 
G4BoxfSolidLayer
 
G4LogicalVolumefLogicLayer
 
G4VPhysicalVolumefPhysiLayer
 
G4BoxfSolidAbsorber
 
G4LogicalVolumefLogicAbsorber
 
G4VPhysicalVolumefPhysiAbsorber
 
G4BoxfSolidGap
 
G4LogicalVolumefLogicGap
 
G4VPhysicalVolumefPhysiGap
 
G4VPhysicalVolumefBox
 
G4double fBoxSize
 
G4MaterialfMaterial
 
G4VPhysicalVolumefPBox
 
G4LogicalVolumefLBox
 
G4int fNbOfAbsor
 
G4MaterialfAbsorMaterial [MaxAbsor]
 
G4double fAbsorThickness [MaxAbsor]
 
G4double fXfront [MaxAbsor]
 
G4int fNbOfDivisions [MaxAbsor]
 
G4double fAbsorSizeX
 
G4double fAbsorSizeYZ
 
G4double fAbsorRadius
 
G4VPhysicalVolumefAbsor
 
G4VPhysicalVolumefWorld
 
G4double fWorldSize
 
G4MaterialfWMaterial
 
G4UserLimitsfUserLimits
 
G4int fNLtot
 
G4int fNRtot
 
G4double fDLradl
 
G4double fDRradl
 
G4double fDLlength
 
G4double fDRlength
 
G4double fEcalLength
 
G4double fEcalRadius
 
G4TubsfSolidEcal
 
G4LogicalVolumefLogicEcal
 
G4VPhysicalVolumefPhysiEcal
 
G4BoxfSolidAbsor [MaxAbsor]
 
G4LogicalVolumefLogicAbsor [MaxAbsor]
 
G4VPhysicalVolumefPhysiAbsor [MaxAbsor]
 
G4double fAbsorberSizeYZ
 
G4double fXposAbs
 
G4double fXstartAbs
 
G4double fXendAbs
 
G4MaterialfWorldMaterial
 
G4bool fDefaultWorld
 
G4VPhysicalVolumefP_Box
 
G4LogicalVolumefL_Box
 
G4UniformMagFieldfMagField
 
G4LogicalVolumefLAbsor
 
G4int fTallyNumber
 
G4ThreeVector fTallySize [MaxTally]
 
G4MaterialfTallyMaterial [MaxTally]
 
G4double fTallyMass [MaxTally]
 
G4ThreeVector fTallyPosition [MaxTally]
 
G4LogicalVolumefLTally [MaxTally]
 
G4MaterialfGasMat
 
G4double fGasThickness
 
G4double fGasRadius
 
G4MaterialfWindowMat
 
G4double fWindowThick
 
G4TubsfSolidWorld
 
G4TubsfSolidContainer
 
G4TubsfSolidDetector
 
G4VPhysicalVolumefPhysWorld
 
G4LogicalVolumefLogicContainer
 
G4LogicalVolumefLogicDetector
 
G4ProductionCutsfGasDetectorCuts
 
G4RegionfRegGasDet
 
G4double fEcalWidth
 
G4double fVertexLength
 
G4double fPadLength
 
G4double fPadWidth
 
G4double fAbsLength
 
G4double fWorldZ
 
G4MaterialfCalMaterial
 
G4MaterialfVertMaterial
 
G4MaterialfAbsMaterial
 
G4MaterialfYorkMaterial
 
G4LogicalVolumefLogicCal
 
G4LogicalVolumefLogicA1
 
G4LogicalVolumefLogicA2
 
G4LogicalVolumefLogicA3
 
G4LogicalVolumefLogicA4
 
G4RegionfVertexRegion
 
G4RegionfMuonRegion
 
G4ProductionCutsfVertexDetectorCuts
 
G4ProductionCutsfMuonDetectorCuts
 
G4MaterialIron
 
G4MaterialCopper
 
G4MaterialTungsten
 
G4MaterialLead
 
G4MaterialUranium
 
G4MaterialPbWO4
 
G4MaterialPolystyrene
 
G4MaterialLiquidArgon
 
G4MaterialtheAbsorberMaterial
 
G4LogicalVolumeexperimentalHall_log
 
G4VPhysicalVolumeexperimentalHall_phys
 
G4LogicalVolumelogicAbsorber
 
G4VPhysicalVolumephysiAbsorber
 
G4double fMaxStepSize
 
G4MonopoleFieldSetupfMonFieldSetup
 
G4LogicalVolumefLogAbsor
 
DetectorMessengerfMessenger
 
EMethod fMethod
 
G4LogicalVolumefWorldVolume
 
G4LogicalVolumefTrdVolume
 
G4double fRadius
 
G4double fLength
 
G4MaterialfTargetMaterial
 
G4LogicalVolumefLogicTarget
 
G4LogicalVolumefLogicCheck
 
TargetSDfTargetSD
 
G4MaterialfWorldMat
 
G4VPhysicalVolumefPWorld
 
G4MaterialfpDefaultMaterial
 
G4MaterialfpWaterMaterial
 
G4RegionfpRegion
 
G4String fPdbFileName
 PDB filename. More...
 
unsigned short int fChosenOption
 Option for the visualisation. More...
 
unsigned short int fPdbFileStatus
 Check if PDB file loaded. More...
 
PDBlib fPDBlib
 
MoleculefpMoleculeList
 
BarycenterfpBarycenterList
 
DetectorMessengerfpMessenger
 
G4bool fCheckOverlaps
 
G4double fTrackingCut
 
G4LogicalVolumefLogicalAbsor
 
G4bool fBuildChromatineFiber
 
G4bool fBuildBases
 
G4MaterialfMaterial_World
 
G4double fRadius_World
 
G4double fThickness_World
 
G4MaterialfMaterial_Frame
 
G4double fThickness_Frame
 
G4double fZfront_Frame
 
G4MaterialfMaterial_ExitWindow
 
G4double fThickness_ExitWindow
 
G4double fZfront_ExitWindow
 
G4MaterialfMaterial_ScatterFoil
 
G4double fThickness_ScatterFoil
 
G4double fZfront_ScatterFoil
 
G4MaterialfMaterial_MonitorChbr
 
G4double fThickness_MonitorChbr
 
G4double fZfront_MonitorChbr
 
G4MaterialfMaterial_Bag
 
G4double fThickness_Bag
 
G4double fZfront_Bag
 
G4MaterialfMaterial_Gas
 
G4double fThickness_Gas
 
G4MaterialfMaterial_Ring
 
G4double fThickness_Ring
 
G4double fInnerRadius_Ring
 
G4VPhysicalVolumefPvol_World
 
G4VPhysicalVolumefPvol_Frame
 
G4double fWallThickness
 
G4double fWallRadius
 
G4MaterialfWallMaterial
 
G4VPhysicalVolumefWall
 
G4double fCavityThickness
 
G4double fCavityRadius
 
G4MaterialfCavityMaterial
 
G4VPhysicalVolumefCavity
 
G4double fTotalThickness
 
G4double fWorldThickness
 
G4double fWorldRadius
 
CheckVolumeSDfCheckSD
 
PhantomSDfPhantomSD
 
G4double fWorldXY
 
G4double fDelta
 
G4double fGeneratorPosZ
 
G4double fTargetRadius
 
G4double fTarget1Z
 
G4double fTarget1PosZ
 
G4double fTarget2Z
 
G4double fTarget2PosZ
 
G4double fGasVolumeRadius
 
G4double fGasVolumeZ
 
G4double fGasVolumePosZ
 
G4double fAirZ
 
G4double fMylarVolumeZ
 
G4double fMylarPosZ
 
G4double fCheckVolumeRadius
 
G4double fCheckVolumeZ
 
G4double fCheckShiftZ
 
G4double fCheckVolumePosZ
 
G4double fTargetVolumeZ
 
G4double fTargetVolumePosZ
 
G4double fPhantomRadius
 
G4double fPhantomZ
 
G4double fPhantomPosZ
 
G4double fAbsorberRadius
 
G4double fAbsorberZ
 
G4double fAbsorberShiftZ
 
G4double fAbsorberPosZ
 
G4double fDistanceVacuumTarget
 
G4double fWindowZ
 
G4double fWindowPosZ
 
G4MaterialfTarget1Material
 
G4MaterialfTarget2Material
 
G4MaterialfMylar
 
G4MaterialfWindowMaterial
 
G4MaterialfLightMaterial
 
G4LogicalVolumefLogicTarget1
 
G4LogicalVolumefLogicTarget2
 
G4LogicalVolumeflv_voxel
 
G4VPhysicalVolumepWorld
 
G4double boxSizeXY
 
G4double boxSizeZ
 
G4double worldSize
 
G4MaterialwMaterial
 
G4double fTargetLength
 
G4MaterialfTargetMater
 
G4double fDetectorLength
 
G4double fDetectorThickness
 
G4MaterialfDetectorMater
 
G4double fWorldLength
 
G4MaterialfWorldMater
 

Static Private Attributes

static G4ThreadLocal EMFieldfField = 0
 
static G4ThreadLocal TabulatedField3DfField
 

Additional Inherited Members

- Protected Member Functions inherited from G4VUserDetectorConstruction
void SetSensitiveDetector (const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
 
void SetSensitiveDetector (G4LogicalVolume *logVol, G4VSensitiveDetector *aSD)
 

Detailed Description

Detector construction class to define materials and geometry.

Detector construction class to demonstrate various ways of placement

The geometry setup consists of two trapezoid volumes which are placed in a world so that their axial symmetry axis is in given theta and phi polar angles. The various ways of placement are implemented in the DetectorConstruction class in the following private functions:

which are then called from the Construct() function. All method defines exactly same geometry except for the placement with reflection where trapezoids are placed with their symmetry axis in parallel with z-axis in order to make easier to check reflection visually.

Detector construction class to define materials, geometry and global uniform magnetic field.

Definition at line 46 of file environments/g4py/examples/demos/TestEm0/module/DetectorConstruction.hh.

Member Enumeration Documentation

◆ EMethod

Constructor & Destructor Documentation

◆ DetectorConstruction() [1/69]

DetectorConstruction::DetectorConstruction ( )

Definition at line 54 of file environments/g4py/examples/demos/TestEm0/module/DetectorConstruction.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~DetectorConstruction() [1/63]

DetectorConstruction::~DetectorConstruction ( )

Definition at line 65 of file environments/g4py/examples/demos/TestEm0/module/DetectorConstruction.cc.

Here is the caller graph for this function:

◆ DetectorConstruction() [2/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [2/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [3/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [3/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [4/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [4/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [5/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [5/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [6/69]

DetectorConstruction::DetectorConstruction ( AnalysisManager analysis)

Definition at line 53 of file examples/advanced/radioprotection/src/DetectorConstruction.cc.

54 {
55 analysis = analysis_manager;
56 }
Here is the call graph for this function:

◆ ~DetectorConstruction() [6/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [7/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [7/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [8/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [8/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [9/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [9/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [10/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [10/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [11/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [11/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [12/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [12/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [13/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [13/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [14/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [14/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [15/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [15/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [16/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [16/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [17/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [17/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [18/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [18/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [19/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [19/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [20/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [20/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [21/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [21/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [22/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [22/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [23/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [23/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [24/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [24/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [25/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [25/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [26/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [26/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [27/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [27/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [28/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [28/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [29/69]

DetectorConstruction::DetectorConstruction ( const DetectorConstruction )
private

◆ DetectorConstruction() [30/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [29/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [31/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [30/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [32/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [31/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [33/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [32/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [34/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [33/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [35/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [34/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [36/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [35/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [37/69]

DetectorConstruction::DetectorConstruction ( const DetectorConstruction )
private

◆ DetectorConstruction() [38/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [36/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [39/69]

DetectorConstruction::DetectorConstruction ( const DetectorConstruction )
private

◆ DetectorConstruction() [40/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [37/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [41/69]

DetectorConstruction::DetectorConstruction ( const DetectorConstruction )
private

◆ DetectorConstruction() [42/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [38/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [43/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [39/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [44/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [40/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [45/69]

DetectorConstruction::DetectorConstruction ( const DetectorConstruction )
private

◆ DetectorConstruction() [46/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [41/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [47/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [42/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [48/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [43/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [49/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [44/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [50/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [45/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [51/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [46/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [52/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [47/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [53/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [48/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [54/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [49/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [55/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [50/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [56/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [51/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [57/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [52/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [58/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [53/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [59/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [54/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [60/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [55/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [61/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [56/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [62/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [57/63]

virtual DetectorConstruction::~DetectorConstruction ( )
virtual

◆ DetectorConstruction() [63/69]

DetectorConstruction::DetectorConstruction ( const DetectorConstruction )
private

◆ DetectorConstruction() [64/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [58/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [65/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [59/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [66/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [60/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [67/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [61/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [68/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [62/63]

DetectorConstruction::~DetectorConstruction ( )

◆ DetectorConstruction() [69/69]

DetectorConstruction::DetectorConstruction ( )

◆ ~DetectorConstruction() [63/63]

DetectorConstruction::~DetectorConstruction ( )

Member Function Documentation

◆ AtomisticView()

void DetectorConstruction::AtomisticView ( G4LogicalVolume worldLV,
Molecule moleculeListTemp,
double  atomSizeFactor 
)
private

Definition at line 293 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

295 {
296  CheckMaterials();
297 
298  // All solids are defined for different color attributes :
299  G4double sphereSize = atomSizeFactor*1*angstrom;
300  G4VSolid* atomS_H = new G4Orb("Sphere", sphereSize*1.2);
301  G4VSolid* atomS_C = new G4Orb("Sphere", sphereSize*1.7);
302  G4VSolid* atomS_O = new G4Orb("Sphere", sphereSize*1.52);
303  G4VSolid* atomS_N = new G4Orb("Sphere", sphereSize*1.55);
304  G4VSolid* atomS_S = new G4Orb("Sphere", sphereSize*1.8);
305  G4VSolid* atomS_P = new G4Orb("Sphere", sphereSize*1.8);
306  G4VSolid* atomS_X = new G4Orb("Sphere", sphereSize); //Undefined
307 
308  //Logical volumes and color table for atoms :
309  G4LogicalVolume* atomLV_H = new G4LogicalVolume(
310  atomS_H, fpWaterMaterial, "atomLV_H"); // its solid, material, name
311  G4VisAttributes * MyVisAtt_H = new G4VisAttributes(
313  MyVisAtt_H->SetForceSolid(true);
314  atomLV_H->SetVisAttributes(MyVisAtt_H);
315 
316  G4LogicalVolume* atomLV_C = new G4LogicalVolume(
317  atomS_C, fpWaterMaterial, "atomLV_C"); // its solid, material, name
318  G4VisAttributes * MyVisAtt_C = new G4VisAttributes(
319  G4Colour(G4Colour::Gray()));//Black in CPK, but bad rendering
320  MyVisAtt_C->SetForceSolid(true);
321  atomLV_C->SetVisAttributes(MyVisAtt_C);
322 
323  G4LogicalVolume* atomLV_O = new G4LogicalVolume(
324  atomS_O, fpWaterMaterial, "atomLV_O"); // its solid, material, name
325  G4VisAttributes * MyVisAtt_O = new G4VisAttributes(
327  MyVisAtt_O->SetForceSolid(true);
328  atomLV_O->SetVisAttributes(MyVisAtt_O);
329 
330  G4LogicalVolume* atomLV_N = new G4LogicalVolume(
331  atomS_N, fpWaterMaterial, "atomLV_N"); // its solid, material, name
332  G4VisAttributes * MyVisAtt_N = new G4VisAttributes(
333  G4Colour(G4Colour(0.,0.,0.5)));//Dark blue
334  MyVisAtt_N->SetForceSolid(true);
335  atomLV_N->SetVisAttributes(MyVisAtt_N);
336 
337  G4LogicalVolume* atomLV_S = new G4LogicalVolume(
338  atomS_S, fpWaterMaterial, "atomLV_S"); // its solid, material, name
339  G4VisAttributes * MyVisAtt_S = new G4VisAttributes(G4Colour(
340  G4Colour::Yellow()));
341  MyVisAtt_S->SetForceSolid(true);
342  atomLV_S->SetVisAttributes(MyVisAtt_S);
343 
344  G4LogicalVolume* atomLV_P = new G4LogicalVolume(
345  atomS_P, fpWaterMaterial, "atomLV_P"); // its solid, material, name
346  G4VisAttributes * MyVisAtt_P = new G4VisAttributes(
347  G4Colour(G4Colour(1.0,0.5,0.)));//Orange
348  MyVisAtt_P->SetForceSolid(true);
349  atomLV_P->SetVisAttributes(MyVisAtt_P);
350 
351  G4LogicalVolume* atomLV_X = new G4LogicalVolume(
352  atomS_X, fpWaterMaterial, "atomLV_X"); // its solid, material, name
353  G4VisAttributes * MyVisAtt_X = new G4VisAttributes(
354  G4Colour(G4Colour(1.0,0.75,0.8)));//Pink, other elements in CKP
355  MyVisAtt_X->SetForceSolid(true);
356  atomLV_X->SetVisAttributes(MyVisAtt_X);
357 
358  //Placement and physical volume construction from memory
359  Residue *residueListTemp;
360  Atom *AtomTemp;
361 
362  int nbAtomTot=0; //Number total of atoms
363  int nbAtomH=0, nbAtomC=0, nbAtomO=0, nbAtomN=0, nbAtomS=0, nbAtomP=0;
364  int nbAtomX=0;
365  int k=0;
366 
367  while (moleculeListTemp)
368  {
369  residueListTemp = moleculeListTemp->GetFirst();
370 
371  k++;
372  int j=0;
373  while (residueListTemp)
374  {
375  AtomTemp=residueListTemp->GetFirst();
376  j++;
377 
378  int startFrom=0;
379  int upTo=residueListTemp->fNbAtom; //case Base+sugar+phosphat (all atoms)
380  for (int i=0 ; i < (upTo + startFrom) ; i++) //Phosphat or Sugar or Base
381  {
382 
383  if (AtomTemp->fElement.compare("H") == 0)
384  {
385  nbAtomH++;
386  new G4PVPlacement(0,
387  G4ThreeVector(AtomTemp->fX*1*angstrom,
388  AtomTemp->fY*1*angstrom,
389  AtomTemp->fZ*1*angstrom),
390  atomLV_H,
391  "atomP",
392  worldLV,
393  false,
394  0,
396  }
397  else if (AtomTemp->fElement.compare("C") == 0)
398  {
399  nbAtomC++;
400  new G4PVPlacement(0,
401  G4ThreeVector(AtomTemp->fX*1*angstrom,
402  AtomTemp->fY*1*angstrom,
403  AtomTemp->fZ*1*angstrom),
404  atomLV_C,
405  "atomP",
406  worldLV,
407  false,
408  0,
410  }
411  else if (AtomTemp->fElement.compare("O") == 0)
412  {
413  nbAtomO++;
414  new G4PVPlacement(0,
415  G4ThreeVector(AtomTemp->fX*1*angstrom,
416  AtomTemp->fY*1*angstrom,
417  AtomTemp->fZ*1*angstrom),
418  atomLV_O,
419  "atomP",
420  worldLV,
421  false,
422  0,
424  }
425  else if (AtomTemp->fElement.compare("N") == 0)
426  {
427  nbAtomN++;
428  new G4PVPlacement(0,
429  G4ThreeVector(AtomTemp->fX*1*angstrom,
430  AtomTemp->fY*1*angstrom,
431  AtomTemp->fZ*1*angstrom),
432  atomLV_N,
433  "atomP",
434  worldLV,
435  false,
436  0,
438  }
439  else if (AtomTemp->fElement.compare("S") == 0)
440  {
441  nbAtomS++;
442  new G4PVPlacement(0,
443  G4ThreeVector(AtomTemp->fX*1*angstrom,
444  AtomTemp->fY*1*angstrom,
445  AtomTemp->fZ*1*angstrom),
446  atomLV_S,
447  "atomP",
448  worldLV,
449  false,
450  0,
452  }
453  else if (AtomTemp->fElement.compare("P") == 0)
454  {
455  nbAtomP++;
456  new G4PVPlacement(0,
457  G4ThreeVector(AtomTemp->fX*1*angstrom,
458  AtomTemp->fY*1*angstrom,
459  AtomTemp->fZ*1*angstrom),
460  atomLV_P,
461  "atomP",
462  worldLV,
463  false,
464  0,
466  }
467  else
468  {
469  nbAtomX++;
470  new G4PVPlacement(0,
471  G4ThreeVector(AtomTemp->fX*1*angstrom,
472  AtomTemp->fY*1*angstrom,
473  AtomTemp->fZ*1*angstrom),
474  atomLV_X,
475  "atomP",
476  worldLV,
477  false,
478  0,
480  }
481 
482  nbAtomTot++;
483  //}//End if (i>=startFrom)
484  AtomTemp=AtomTemp->GetNext();
485  }//end of for ( i=0 ; i < residueListTemp->nbAtom ; i++)
486 
487  residueListTemp=residueListTemp->GetNext();
488  }//end of while (residueListTemp)
489 
490  moleculeListTemp=moleculeListTemp->GetNext();
491  }//end of while (moleculeListTemp)
492 
493  G4cout << "**************** atomisticView(...) ****************" <<G4endl;
494  G4cout << "Number of loaded chains = " << k <<G4endl;
495  G4cout << "Number of Atoms = " << nbAtomTot <<G4endl;
496  G4cout << "Number of Hydrogens = " << nbAtomH <<G4endl;
497  G4cout << "Number of Carbons = " << nbAtomC <<G4endl;
498  G4cout << "Number of Oxygens = " << nbAtomO <<G4endl;
499  G4cout << "Number of Nitrogens = " << nbAtomN <<G4endl;
500  G4cout << "Number of Sulfurs = " << nbAtomS <<G4endl;
501  G4cout << "Number of Phosphorus = " << nbAtomP <<G4endl;
502  G4cout << "Number of undifined atoms =" << nbAtomX <<G4endl<<G4endl;
503 }
static G4Colour Gray()
Definition: G4Colour.hh:144
CLHEP::Hep3Vector G4ThreeVector
int fNbAtom
Number of atoms into a residue (usage before vector)
Definition: PDBresidue.hh:88
Residue * GetFirst()
Get the first Residue.
Definition: PDBmolecule.cc:82
Residue * GetNext()
Get the next residue.
Definition: PDBresidue.cc:67
double fZ
Z orthogonal coordinates in Angstroms.
Definition: PDBatom.hh:96
Residue Class.
Definition: PDBresidue.hh:58
void SetForceSolid(G4bool)
G4GLOB_DLL std::ostream G4cout
Atom Class.
Definition: PDBatom.hh:57
string fElement
Element symbol extracted from &#39;atom name&#39;.
Definition: PDBatom.hh:99
Molecule * GetNext()
information about molecule (not implemented)
Definition: PDBmolecule.cc:75
Definition: G4Orb.hh:61
Atom * GetFirst()
Get the first atom.
Definition: PDBresidue.cc:74
double fX
X orthogonal coordinates in Angstroms.
Definition: PDBatom.hh:94
Atom * GetNext()
Returns the next Atom.
Definition: PDBatom.cc:66
#define G4endl
Definition: G4ios.hh:61
double fY
Y orthogonal coordinates in Angstroms.
Definition: PDBatom.hh:95
static G4Colour Red()
Definition: G4Colour.hh:148
double G4double
Definition: G4Types.hh:76
static G4Colour Yellow()
Definition: G4Colour.hh:153
void SetVisAttributes(const G4VisAttributes *pVA)
static G4Colour White()
Definition: G4Colour.hh:143
static const double angstrom
Definition: G4SIunits.hh:101
Here is the call graph for this function:
Here is the caller graph for this function:

◆ BarycenterView()

void DetectorConstruction::BarycenterView ( G4LogicalVolume worldLV,
Barycenter barycenterListTemp 
)
private

Definition at line 510 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

512 {
513  CheckMaterials();
514 
515  G4VSolid* atomS_ZZ;
516  G4LogicalVolume* atomLV_ZZ;
517  G4VisAttributes* MyVisAtt_ZZ;
518 
519  int k=0;
520 
521  while (barycenterListTemp)
522  {
523  k++;
524 
525  atomS_ZZ = new G4Orb("Sphere", (barycenterListTemp->GetRadius())*angstrom);
526  atomLV_ZZ = new G4LogicalVolume(atomS_ZZ,fpWaterMaterial,"atomLV_ZZ");
527  MyVisAtt_ZZ = new G4VisAttributes(G4Colour(G4Colour::Magenta()));
528  MyVisAtt_ZZ->SetForceSolid(true);
529  atomLV_ZZ->SetVisAttributes(MyVisAtt_ZZ);
530 
532  barycenterListTemp->fCenterX*1*angstrom,
533  barycenterListTemp->fCenterY*1*angstrom,
534  barycenterListTemp->fCenterZ*1*angstrom),
535  atomLV_ZZ,
536  "atomZZ",
537  worldLV,
538  false,
539  0,
541 
542  barycenterListTemp=barycenterListTemp->GetNext();
543  }//end of while (moleculeListTemp)
544 }
double fCenterY
"Y coordinate" of this nucelotide Barycenter
CLHEP::Hep3Vector G4ThreeVector
double fCenterX
"X coordinate" of this nucelotide Barycenter
static G4Colour Magenta()
Definition: G4Colour.hh:152
void SetForceSolid(G4bool)
Definition: G4Orb.hh:61
double GetRadius()
Get the distance between the farther atom and nucleotide barycenter.
Barycenter * GetNext()
Get the next Barycenter.
double fCenterZ
"Z coordinate" of this nucelotide Barycenter
void SetVisAttributes(const G4VisAttributes *pVA)
static const double angstrom
Definition: G4SIunits.hh:101
Here is the call graph for this function:
Here is the caller graph for this function:

◆ BuildBoundingVolume()

void DetectorConstruction::BuildBoundingVolume ( )

Definition at line 802 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

803 {
804  if (fPdbFileStatus>0) //a PDB file has been loaded
805  {
806  G4cout<<"Build only world volume and bounding volume"
807  " for computation."<<G4endl<<G4endl;
808 #ifdef G4MULTITHREADED
811  );
813 #else
816  );
817 #endif
818  }
819  else G4cout<<"PDB file not found!"<<G4endl<<G4endl;
820 }
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
G4GLOB_DLL std::ostream G4cout
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:

◆ ChangeGeometry() [1/2]

void DetectorConstruction::ChangeGeometry ( )
private

◆ ChangeGeometry() [2/2]

void DetectorConstruction::ChangeGeometry ( )
private

Definition at line 435 of file examples/extended/electromagnetic/TestEm5/src/DetectorConstruction.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckMaterials()

void DetectorConstruction::CheckMaterials ( )
private

Definition at line 125 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

126 {
128  {
129  G4cerr << "Cannot retrieve materials already defined. " << G4endl;
130  G4cerr << "Exiting application " << G4endl;
131  exit(1);
132  }
133 }
#define G4endl
Definition: G4ios.hh:61
G4GLOB_DLL std::ostream G4cerr
Here is the caller graph for this function:

◆ ComputeCalorParameters() [1/6]

void DetectorConstruction::ComputeCalorParameters ( )
private

◆ ComputeCalorParameters() [2/6]

void DetectorConstruction::ComputeCalorParameters ( )
private

◆ ComputeCalorParameters() [3/6]

void DetectorConstruction::ComputeCalorParameters ( )
private

◆ ComputeCalorParameters() [4/6]

void DetectorConstruction::ComputeCalorParameters ( )
inlineprivate

Definition at line 142 of file examples/extended/analysis/AnaEx01/shared/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ ComputeCalorParameters() [5/6]

void DetectorConstruction::ComputeCalorParameters ( )
private

◆ ComputeCalorParameters() [6/6]

void DetectorConstruction::ComputeCalorParameters ( )
private

◆ ComputeParameters()

void DetectorConstruction::ComputeParameters ( )
private

Definition at line 142 of file examples/extended/electromagnetic/TestEm11/src/DetectorConstruction.cc.

Here is the call graph for this function:

◆ Construct() [1/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [2/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [3/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [4/63]

G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [5/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [6/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [7/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [8/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [9/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [10/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [11/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [12/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [13/63]

G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [14/63]

G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [15/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [16/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [17/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [18/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [19/63]

G4VPhysicalVolume * DetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 70 of file environments/g4py/examples/demos/TestEm0/module/DetectorConstruction.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Construct() [20/63]

G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [21/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [22/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [23/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [24/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [25/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [26/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [27/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [28/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [29/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [30/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [31/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [32/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [33/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [34/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [35/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [36/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [37/63]

G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [38/63]

G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [39/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [40/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [41/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [42/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [43/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [44/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [45/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [46/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [47/63]

G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [48/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [49/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [50/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [51/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [52/63]

G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [53/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [54/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [55/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [56/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [57/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [58/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [59/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [60/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [61/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [62/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ Construct() [63/63]

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual

◆ ConstructCalorimeter() [1/7]

G4VPhysicalVolume * DetectorConstruction::ConstructCalorimeter ( )
private

Definition at line 147 of file examples/advanced/amsEcal/src/DetectorConstruction.cc.

148 {
149  // Cleanup old geometry
150  //
155 
156  // fibers
157  //
158  G4Tubs*
159  svol_fiber = new G4Tubs("fiber", //name
160  0*mm, 0.5*fiberDiameter, //r1, r2
161  0.5*fiberLength, //half-length
162  0., twopi); //theta1, theta2
163 
164  lvol_fiber = new G4LogicalVolume(svol_fiber, //solid
165  fiberMat, //material
166  "fiber"); //name
167 
168  // layer
169  //
170  G4double sizeX = layerThickness;
172  G4double sizeZ = fiberLength;
173 
174  G4Box*
175  svol_layer = new G4Box("layer", //name
176  0.5*sizeX, 0.5*sizeY, 0.5*sizeZ); //size
177 
178 
179  lvol_layer = new G4LogicalVolume(svol_layer, //solid
180  absorberMat, //material
181  "layer"); //name
182 
183  // put fibers within layer
184  //
185  G4double Xcenter = 0.;
186  G4double Ycenter = -0.5*(sizeY + distanceInterFibers);
187 
188  for (G4int k=0; k<nbOfFibers; k++) {
189  Ycenter += distanceInterFibers;
190  new G4PVPlacement(0, //no rotation
191  G4ThreeVector(Xcenter,Ycenter,0.), //position
192  lvol_fiber, //logical volume
193  "fiber", //name
194  lvol_layer, //mother
195  false, //no boulean operat
196  k+1); //copy number
197 
198  }
199 
200  // modules
201  //
203  sizeX = moduleThickness;
204  sizeY = fiberLength;
205  sizeZ = fiberLength;
206 
207  G4Box*
208  svol_module = new G4Box("module", //name
209  0.5*sizeX, 0.5*sizeY, 0.5*sizeZ); //size
210 
211  lvol_module = new G4LogicalVolume(svol_module, //solid
212  absorberMat, //material
213  "module"); //name
214 
215  // put layers within module
216  //
217  Xcenter = -0.5*(nbOfLayers+1)*layerThickness;
218  Ycenter = 0.25*distanceInterFibers;
219 
220  for (G4int k=0; k<nbOfLayers; k++) {
221  Xcenter += layerThickness;
222  Ycenter = - Ycenter;
223  new G4PVPlacement(0, //no rotation
224  G4ThreeVector(Xcenter,Ycenter,0.), //position
225  lvol_layer, //logical volume
226  "layer", //name
227  lvol_module, //mother
228  false, //no boulean operat
229  k+1); //copy number
230 
231  }
232 
233  // calorimeter
234  //
236  sizeX = calorThickness;
237  sizeY = fiberLength;
238  sizeZ = fiberLength;
239 
240  G4Box*
241  svol_calorimeter = new G4Box("calorimeter", //name
242  0.5*sizeX, 0.5*sizeY, 0.5*sizeZ); //size
243 
244 
245  lvol_calorimeter = new G4LogicalVolume(svol_calorimeter, //solid
246  calorimeterMat, //material
247  "calorimeter"); //name
248 
249  // put modules inside calorimeter
250  //
251  Xcenter = -0.5*(calorThickness + moduleThickness);
252 
253 
254  for (G4int k=0; k<nbOfModules; k++) {
255  Xcenter += moduleThickness;
256  G4RotationMatrix rotm; //rotation matrix to place modules
257  if ((k+1)%2 == 0) rotm.rotateX(90*deg);
258  G4Transform3D transform(rotm, G4ThreeVector(Xcenter,0.,0.));
259  new G4PVPlacement(transform, //rotation+position
260  lvol_module, //logical volume
261  "module", //name
262  lvol_calorimeter, //mother
263  false, //no boulean operat
264  k+1); //copy number
265  }
266 
267  // world
268  //
269  sizeX = 1.2*calorThickness;
270  sizeY = 1.2*fiberLength;
271  sizeZ = 1.2*fiberLength;
272 
273  worldSizeX = sizeX;
274 
275  G4Box*
276  svol_world = new G4Box("world", //name
277  0.5*sizeX, 0.5*sizeY, 0.5*sizeZ); //size
278 
279  lvol_world = new G4LogicalVolume(svol_world, //solid
280  worldMat, //material
281  "world"); //name
282 
283  pvol_world = new G4PVPlacement(0, //no rotation
284  G4ThreeVector(), //at (0,0,0)
285  lvol_world, //logical volume
286  "world", //name
287  0, //mother volume
288  false, //no boolean operation
289  0); //copy number
290 
291  //put calorimeter in world
292  //
293  new G4PVPlacement(0, //no rotation
294  G4ThreeVector(), //at (0,0,0)
295  lvol_calorimeter, //logical volume
296  "calorimeter", //name
297  lvol_world, //mother volume
298  false, //no boolean operation
299  0); //copy number
300 
302 
303  // Visualization attributes
304  //
308 
309  //always return the physical World
310  //
311  return pvol_world;
312 }
CLHEP::Hep3Vector G4ThreeVector
HepRotation & rotateX(double delta)
Definition: Rotation.cc:66
Definition: G4Box.hh:64
Definition: G4Tubs.hh:85
static void Clean()
Definition: G4SolidStore.cc:79
int G4int
Definition: G4Types.hh:78
static G4PhysicalVolumeStore * GetInstance()
static const double deg
Definition: G4SIunits.hh:151
static const double twopi
Definition: G4SIunits.hh:75
static G4LogicalVolumeStore * GetInstance()
static G4SolidStore * GetInstance()
static G4GeometryManager * GetInstance()
static const G4VisAttributes Invisible
void OpenGeometry(G4VPhysicalVolume *vol=0)
double G4double
Definition: G4Types.hh:76
static const double mm
Definition: G4SIunits.hh:114
void SetVisAttributes(const G4VisAttributes *pVA)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ConstructCalorimeter() [2/7]

G4VPhysicalVolume* DetectorConstruction::ConstructCalorimeter ( )
private

◆ ConstructCalorimeter() [3/7]

G4VPhysicalVolume* DetectorConstruction::ConstructCalorimeter ( )
private

◆ ConstructCalorimeter() [4/7]

G4VPhysicalVolume* DetectorConstruction::ConstructCalorimeter ( )
private

◆ ConstructCalorimeter() [5/7]

G4VPhysicalVolume* DetectorConstruction::ConstructCalorimeter ( )
private

◆ ConstructCalorimeter() [6/7]

G4VPhysicalVolume* DetectorConstruction::ConstructCalorimeter ( )
private

◆ ConstructCalorimeter() [7/7]

G4VPhysicalVolume* DetectorConstruction::ConstructCalorimeter ( )
private

◆ ConstructDetector() [1/7]

G4VPhysicalVolume* DetectorConstruction::ConstructDetector ( )
private

◆ ConstructDetector() [2/7]

G4VPhysicalVolume* DetectorConstruction::ConstructDetector ( )
private

◆ ConstructDetector() [3/7]

G4VPhysicalVolume* DetectorConstruction::ConstructDetector ( )
private

◆ ConstructDetector() [4/7]

G4VPhysicalVolume* DetectorConstruction::ConstructDetector ( )
private

◆ ConstructDetector() [5/7]

G4VPhysicalVolume* DetectorConstruction::ConstructDetector ( )
private

◆ ConstructDetector() [6/7]

G4VPhysicalVolume* DetectorConstruction::ConstructDetector ( )
private

◆ ConstructDetector() [7/7]

G4VPhysicalVolume * DetectorConstruction::ConstructDetector ( )
private

Definition at line 70 of file examples/advanced/microelectronics/src/DetectorConstruction.cc.

71 {
72 
73 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
74 
75  // WORLD VOLUME
76 
77  fWorldSizeX = 1*um;
78  fWorldSizeY = 1*um;
79  fWorldSizeZ = 1*um;
80 
81  fSolidWorld = new G4Box("World", //its name
82  fWorldSizeX/2,fWorldSizeY/2,fWorldSizeZ/2); //its size
83 
84 
85  fLogicWorld = new G4LogicalVolume(fSolidWorld, //its solid
86  fSiMaterial, //its material
87  "World"); //its name
88 
89  fPhysiWorld = new G4PVPlacement(0, //no rotation
90  G4ThreeVector(), //at (0,0,0)
91  "World", //its name
92  fLogicWorld, //its logical volume
93  0, //its mother volume
94  false, //no boolean operation
95  0); //copy number
96 
97  G4double TargetSizeZ = 0.2*um;
98 
99  G4Box* targetSolid = new G4Box("Target", //its name
100  fWorldSizeX/2,fWorldSizeY/2,TargetSizeZ/2); //its size
101 
102 
103  G4LogicalVolume* logicTarget = new G4LogicalVolume(targetSolid, //its solid
104  fSiMaterial, //its material
105  "Target"); //its name
106 
107  new G4PVPlacement(0, //no rotation
108  G4ThreeVector(), //at (0,0,0)
109  "Target", //its name
110  logicTarget, //its logical volume
111  fPhysiWorld, //its mother volume
112  false, //no boolean operation
113  0); //copy number
114 
115  // Visualization attributes
116  G4VisAttributes* worldVisAtt= new G4VisAttributes(G4Colour(1.0,1.0,1.0)); //White
117  worldVisAtt->SetVisibility(true);
118  fLogicWorld->SetVisAttributes(worldVisAtt);
119 
120  G4VisAttributes* worldVisAtt1 = new G4VisAttributes(G4Colour(1.0,0.0,0.0));
121  worldVisAtt1->SetVisibility(true);
122  logicTarget->SetVisAttributes(worldVisAtt1);
123 
124  // Create Target G4Region and add logical volume
125 
126  fRegion = new G4Region("Target");
127 
128  G4ProductionCuts* cuts = new G4ProductionCuts();
129 
130  G4double defCut = 1*nanometer;
131  cuts->SetProductionCut(defCut,"gamma");
132  cuts->SetProductionCut(defCut,"e-");
133  cuts->SetProductionCut(defCut,"e+");
134  cuts->SetProductionCut(defCut,"proton");
135 
136  fRegion->SetProductionCuts(cuts);
137  fRegion->AddRootLogicalVolume(logicTarget);
138 
139  return fPhysiWorld;
140 }
CLHEP::Hep3Vector G4ThreeVector
void AddRootLogicalVolume(G4LogicalVolume *lv)
Definition: G4Region.cc:290
Definition: G4Box.hh:64
static const double nanometer
Definition: G4SIunits.hh:100
void SetVisibility(G4bool)
void SetProductionCut(G4double cut, G4int index=-1)
static const double um
Definition: G4SIunits.hh:112
void SetProductionCuts(G4ProductionCuts *cut)
double G4double
Definition: G4Types.hh:76
void SetVisAttributes(const G4VisAttributes *pVA)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ConstructLine()

G4VPhysicalVolume * DetectorConstruction::ConstructLine ( )
private

Definition at line 300 of file examples/advanced/microbeam/src/DetectorConstruction.cc.

301 {
302  // WORLD
303  fWorldSizeXY = 20*m;
304  fWorldSizeZ = 40*m;
305 
306  // MICROBEAM LINE ANGLE
307  fLineAngle = 10*deg;
308 
309  // TARGET POSITION
310  fCiblePositionX = -1461.42*mm;
311  fCiblePositionY = 0*mm;
312  fCiblePositionZ = -1327 + (955*std::cos(fLineAngle))*mm;
313 
314  //*************
315  // WORLD VOLUME
316  //*************
317 
318  fSolidWorld = new G4Box("World", //its name
319  fWorldSizeXY/2,fWorldSizeXY/2,fWorldSizeZ/2); //its size
320 
321 
322  fLogicWorld = new G4LogicalVolume(fSolidWorld, //its solid
323  fDefaultMaterial, //its material
324  "World"); //its name
325 
326  fPhysiWorld = new G4PVPlacement(0, //no rotation
327  G4ThreeVector(), //at (0,0,0)
328  "World", //its name
329  fLogicWorld, //its logical volume
330  NULL, //its mother volume
331  false, //no boolean operation
332  0); //copy number
333 
334  //*****************
335  // FULL LINE VOLUME
336  //*****************
337 
338  fSolidVol = new G4Box("Vol",
339  10.*m/2,10.*m/2,(14025)*mm/2);
340 
343  "Vol");
344 
345  fPhysiVol = new G4PVPlacement(0,
346  G4ThreeVector(0,0,-2012.5*mm),
347  "Vol",
348  fLogicVol,
349  fPhysiWorld,
350  false,
351  0);
352 
353  // *************************************************
354  // Whole microbeam line at 10 deg contained in a box
355  // *************************************************
356 
357  G4double PosX = fCiblePositionX*mm +( (6958.3/2-3.3)*std::sin(fLineAngle))*mm;
358  G4double PosZ = (fCiblePositionZ+2012.5)*mm - ((6958.3/2-3.3)*std::cos(fLineAngle))*mm;
359 
360  // Adjust box absolute position
361 
362  PosX = PosX + 1.3 * micrometer * std::cos(fLineAngle);
363  PosZ = PosZ + 1.3 * micrometer * std::sin(fLineAngle);
364 
365  G4RotationMatrix *rot = new G4RotationMatrix();
366  rot->rotateX(0*deg);
367  rot->rotateY(10*deg);
368  rot->rotateZ(0*deg);
369 
370  fSolidBoite = new G4Box("Boite", 4*cm, 4*cm, 6958.3*mm/2);
371 
373 
374  fPhysiBoite = new G4PVPlacement(rot,
375  G4ThreeVector(PosX,0,PosZ),
376  "Boite",
377  fLogicBoite,
378  fPhysiVol,
379  false,
380  0);
381 
382  //*********************************************************************
383  // OBJECT COLLIMATOR (after switching magnet, 5 micrometer in diameter)
384  //*********************************************************************
385 
386  fCollObjSizeXY = 8*cm;
387  fCollObjSizeZ = 0.07*mm;
388 
389  fSolidYoke1 = new G4Box("_CollObj_yoke1_", fCollObjSizeXY/2,fCollObjSizeXY/2,fCollObjSizeZ/2);
390 
391  fLogicYoke1 = new G4LogicalVolume(fSolidYoke1, fCollimatorMaterial, "_CollObj_yoke1_");
392 
393  fPhysiYoke1 = new G4PVPlacement( 0, G4ThreeVector(0,0,6958.3*mm/2-3.3*mm-6955*mm+0.07*mm/2), fLogicYoke1,
394  "_CollObj_yoke1_",fLogicBoite, false, 0);
395 
396  // --> FIRST PART
397 
398  fSolid1Gap = new G4Cons("_CollObj_gap1_", 0.*micrometer, 6*micrometer,
399  0.*micrometer,2.5*micrometer,
400  3.5*micrometer,
401  0, ((360*CLHEP::pi)/180));
402 
403  fLogic1Gap = new G4LogicalVolume(fSolid1Gap, fDefaultMaterial, "_CollObj_gap1_");
404 
405  fPhysi1Gap = new G4PVPlacement(0, G4ThreeVector(0,0,0.0315*mm), fLogic1Gap, "_CollObj_gap1_",
406  fLogicYoke1, false, 0);
407 
408 
409  // --> SECOND PART
410 
411  fSolid2Gap = new G4Cons("_CollObj_gap2_", 0.*micrometer, 15*micrometer,
412  0.*micrometer,6*micrometer,
413  6.5*micrometer,
414  0, ((360*CLHEP::pi)/180));
415 
416  fLogic2Gap = new G4LogicalVolume(fSolid2Gap, fDefaultMaterial, "_CollObj_gap2_");
417 
418  fPhysi2Gap = new G4PVPlacement(0, G4ThreeVector(0,0,0.0215*mm), fLogic2Gap, "_CollObj_gap2_",
419  fLogicYoke1, false, 0);
420 
421 
422  // --> THIRD PART
423 
424  fSolid3Gap = new G4Cons("_CollObj_gap3_", 0.*micrometer, 105*micrometer,
425  0.*micrometer,15*micrometer,
426  25*micrometer,
427  0, ((360*CLHEP::pi)/180));
428 
429  fLogic3Gap = new G4LogicalVolume(fSolid3Gap, fDefaultMaterial, "_CollObj_gap3_");
430 
431  fPhysi3Gap = new G4PVPlacement(0, G4ThreeVector(0,0,-0.010*mm), fLogic3Gap, "_CollObj_gap3_", fLogicYoke1,
432  false, 0);
433 
434 
435  //************************
436  // GAS DETECTOR COLLIMATOR
437  //************************
438 
439  fSolidYoke2 = new G4Box("_CollDet_yoke_", 2.5*cm, 2.5*cm, 0.035*mm);
440 
442 
443  fPhysiYoke2 = new G4PVPlacement(0,
444  G4ThreeVector(0,0,6958.3*mm/2-0.3*mm-3*mm-0.004*mm-0.1*mm-1*mm-2.5*mm-0.070*mm/2),
445  fLogicYoke2, "_CollDet_yoke_", fLogicBoite, false, 0);
446 
447  // --> FIRST PART
448 
449  fSolid4Gap = new G4Cons("_CollDet_gap4_", 0.*micrometer, 8*micrometer,
450  0.*micrometer,5*micrometer,
451  7.5*micrometer,
452  0, ((360*CLHEP::pi)/180));
453 
454  fLogic4Gap = new G4LogicalVolume(fSolid4Gap, fDefaultMaterial, "_CollDet_gap4_");
455 
456  fPhysi4Gap = new G4PVPlacement(0, G4ThreeVector(0,0,0.0275*mm), fLogic4Gap, "_CollDet_gap4_",
457  fLogicYoke2, false, 0);
458 
459  // --> SECOND PART
460 
461  fSolid5Gap = new G4Cons("_CollDet_gap5_", 0.*micrometer, 105*micrometer,
462  0.*micrometer,8*micrometer,
463  27.5*micrometer,
464  0, ((360*CLHEP::pi)/180));
465 
466  fLogic5Gap = new G4LogicalVolume(fSolid5Gap, fDefaultMaterial, "_CollDet_gap5_");
467 
468  fPhysi5Gap = new G4PVPlacement(0,
469  G4ThreeVector(0,0,-0.0075*mm),
470  fLogic5Gap,
471  "_CollDet_gap5_",
472  fLogicYoke2,
473  false,
474  0);
475  // ************
476  // GAS DETECTOR
477  // ************
478 
479  fSolidBoiteIso = new G4Box("Isobutane", 2.5*cm, 2.5*cm, 1.75*mm);
480 
482 
484  G4ThreeVector(0,0,6958.3*mm/2-0.3*mm-3*mm-0.004*mm-0.1*mm-3.5*mm/2),
485  "Isobutane",
487  fPhysiBoite,
488  false,
489  0);
490 
491  // --> GAS DETECTOR END CAP
492 
493  fSolidCathode = new G4Box("_Laiton_", 2.5*cm, 2.5*cm, 0.5*mm);
494 
496 
498  G4ThreeVector(0,0,1.25*mm),
499  "_Laiton_",
502  false, 0);
503 
504  // --> ISOBUTANE GAS
505 
506  fSolidIso = new G4Box("_Iso_", 1.*mm, 1.*mm, 0.499925*mm);
507 
509 
510  fPhysiIso = new G4PVPlacement(0,
511  G4ThreeVector(0,0,-0.000075*mm),
512  "_Iso_",
513  fLogicIso,
515  false,
516  0);
517 
518  // --> Si3N4 WINDOW
519 
520  fSolidVerre = new G4Box("_Si3N4_", 0.5*mm, 0.5*mm, 0.075*micrometer);
521 
523 
524 
525  fPhysiVerre = new G4PVPlacement(0,
526  G4ThreeVector(0,0,0.499925*mm),
527  "_Si3N4_",
528  fLogicVerre,
530  false,
531  0);
532  // *******
533  // AIR GAP
534  // *******
535 
536  fSolidBoite2 = new G4Box("_Air_", 2.5*cm, 2.5*cm, 0.1*mm/2);
537 
539 
540  fPhysiBoite2 = new G4PVPlacement(0,
541  G4ThreeVector(0,0,6958.3*mm/2-0.3*mm-3*mm-0.004*mm-0.1*mm/2),
542  "_Air_",
543  fLogicBoite2,
544  fPhysiBoite,
545  false,
546  0);
547 
548  //*************
549  // CELL SUPPORT
550  //*************
551 
552  fSolidBoite3 = new G4Box("Polyprop", 2.5*cm, 2.5*cm, 0.004*mm/2);
553 
555 
556  fPhysiBoite3 = new G4PVPlacement(0,
557  G4ThreeVector(0,0,6958.3*mm/2-0.3*mm-3*mm-0.004*mm/2),
558  "Polyprop",
559  fLogicBoite3,
560  fPhysiBoite,
561  false,
562  0);
563  //****
564  // KGM
565  //****
566 
567  fSolidKgm = new G4Box("KGM", 2.5*cm, 2.5*cm, 3*mm/2);
568 
570 
571  fPhysiKgm = new G4PVPlacement(0,
572  G4ThreeVector(0,0,6958.3*mm/2-0.3*mm-3*mm/2),
573  "KGM",
574  fLogicKgm,
575  fPhysiBoite,
576  false,
577  0);
578 
579  //*****************
580  // MICROSCOPE PLATE
581  //*****************
582 
583  fSolidVerre2 = new G4Box("_Lame_", 2.5*cm, 2.5*cm, 0.150*mm);
584 
586 
587  fPhysiVerre2 = new G4PVPlacement(0,
588  G4ThreeVector(0,0,6958.3*mm/2-0.3*mm/2),
589  "_Lame_",
590  fLogicVerre2,
591  fPhysiBoite,
592  false,
593  0);
594 
595  // **************
596  // CELL CYTOPLASM
597  // **************
598 
599  // WITHIN KGM
600 /*
601  fSolidCyto=new G4Ellipsoid("CYTO",25*micrometer, 25*micrometer, 11*micrometer);
602 
603  fLogicCyto=new G4LogicalVolume (fSolidCyto, fDefaultMaterial, "CYTO");
604 
605  fPhysiCyto=new G4PVPlacement(0, G4ThreeVector(0,0,-1.5*mm+11*micrometer),"CYTO",fLogicCyto, fPhysiKgm, false, 0);
606 */
607 
608  // ************
609  // CELL PHANTOM
610  // ************
611 
616 
617  fSolidPhantom = new G4Box("Phantom",
621 
623 
625 
627 
629 
631  "Phantom", // their name
632  fLogicPhantom, // their logical volumr
633  //logicCyto, // Mother logical volume is Cyto
634  fLogicKgm, // Mother logical volume is Kgm
635  kUndefined, // Are placed along this axis
636  fMyCellParameterisation->GetPhantomTotalPixels(), // Number of boxes
637  fMyCellParameterisation,false); // The parametrisation
638 
639  G4cout << " ==========> The phantom contains " << fMyCellParameterisation->GetPhantomTotalPixels() << " voxels " << G4endl;
640  G4cout << " ==========> Nucleus mass (kg)=" << fMyCellParameterisation->GetNucleusMass() / kg << G4endl;
641  G4cout << " ==========> Cytoplasm mass (kg)=" << fMyCellParameterisation->GetCytoplasmMass()/ kg << G4endl;
642  G4cout << " ==========> Voxel size X (um)=" << fMyCellParameterisation->GetPixelSizeX()/um << G4endl;
643  G4cout << " ==========> Voxel size Y (um)=" << fMyCellParameterisation->GetPixelSizeY()/um << G4endl;
644  G4cout << " ==========> Voxel size Z (um)=" << fMyCellParameterisation->GetPixelSizeZ()/um << G4endl;
645  G4cout << G4endl;
646 
647  // USER LIMITS ON STEP LENGTH
648 
652 
653 /*
654  logicPhantom->SetUserLimits (new G4UserLimits(0.5*micrometer));
655  logic1Gap->SetUserLimits (new G4UserLimits(5*micrometer));
656  logic2Gap->SetUserLimits (new G4UserLimits(5*micrometer));
657  logic3Gap->SetUserLimits (new G4UserLimits(5*micrometer));
658  logic4Gap->SetUserLimits (new G4UserLimits(5*micrometer));
659  logic5Gap->SetUserLimits (new G4UserLimits(5*micrometer));
660  logicBoiteIso->SetUserLimits (new G4UserLimits(200.*micrometer));
661  logicCathode->SetUserLimits (new G4UserLimits(100.*micrometer));
662  logicIso->SetUserLimits (new G4UserLimits(100.*micrometer));
663  logicVerre->SetUserLimits (new G4UserLimits(0.02*micrometer));
664  logicBoite2->SetUserLimits (new G4UserLimits(10*micrometer));
665  logicBoite3->SetUserLimits (new G4UserLimits(0.2*micrometer));
666  logicKgm->SetUserLimits (new G4UserLimits(1*micrometer));
667  logicVerre2->SetUserLimits (new G4UserLimits(10*micrometer));
668 */
669 
670  // VISUALISATION ATTRIBUTES (for phantom, see in Parameterisation class)
671 
672  G4VisAttributes* simpleWorldVisAtt= new G4VisAttributes(G4Colour(1.0,1.0,1.0)); //White
673  simpleWorldVisAtt->SetVisibility(true);
674 
675  G4VisAttributes* simplePlain= new G4VisAttributes(G4Colour(1.0,1.0,1.0)); //White
676  simplePlain->SetVisibility(true);
677  simplePlain->SetForceSolid(true);
678 
679  G4VisAttributes* simpleBoxAttLine= new G4VisAttributes(G4Colour(1.0,0.0,0.0));
680  simpleBoxAttLine->SetVisibility(true);
681 
682  G4VisAttributes* simpleBoxAtt= new G4VisAttributes(G4Colour(1.0,1.0,0.0));
683  simpleBoxAtt->SetDaughtersInvisible(false);
684  simpleBoxAtt->SetForceSolid(false);
685 
686  G4VisAttributes* simpleBoxAtt2= new G4VisAttributes(G4Colour(0.0,1.0,0.0));
687  simpleBoxAtt2->SetDaughtersInvisible(false);
688  simpleBoxAtt2->SetForceSolid(false);
689 
690  G4VisAttributes* simpleBoxAttKGM= new G4VisAttributes(G4Colour(0.0,0.0,1.0));
691  simpleBoxAttKGM->SetDaughtersInvisible(false);
692  simpleBoxAttKGM->SetForceSolid(false);
693 
694  G4VisAttributes* simpleBoxAttPropyl= new G4VisAttributes(G4Colour(1.0,1.0,1.0));
695  simpleBoxAttPropyl->SetDaughtersInvisible(true);
696  simpleBoxAttPropyl->SetForceSolid(false);
697 
698  G4VisAttributes* simpleBoxAttAir= new G4VisAttributes(G4Colour(0.0,1.0,0.0));
699  simpleBoxAttAir->SetDaughtersInvisible(true);
700  simpleBoxAttAir->SetForceSolid(false);
701 
702  G4VisAttributes* simpleBoxAtt3= new G4VisAttributes(G4Colour(0.0,0.0,1.0));
703  simpleBoxAtt3->SetDaughtersInvisible(false);
704  simpleBoxAtt3->SetForceSolid(false);
705 
706  fLogicYoke1->SetVisAttributes(simpleBoxAtt);
707  fLogic1Gap->SetVisAttributes(simpleBoxAtt);
708  fLogic2Gap->SetVisAttributes(simpleBoxAtt);
709  fLogic3Gap->SetVisAttributes(simpleBoxAtt);
710  fLogicYoke2->SetVisAttributes(simpleBoxAtt);
711  fLogic4Gap->SetVisAttributes(simpleBoxAtt);
712  fLogic5Gap->SetVisAttributes(simpleBoxAtt);
713  fLogicBoite->SetVisAttributes(simpleBoxAttLine);
714  fLogicCathode->SetVisAttributes(simpleBoxAttPropyl);
715  fLogicIso->SetVisAttributes(simpleBoxAttPropyl);
716  fLogicBoiteIso->SetVisAttributes(simpleBoxAttPropyl);
717  fLogicVerre->SetVisAttributes(simpleBoxAtt);
718  fLogicBoite2->SetVisAttributes(simpleBoxAttAir);
719  fLogicBoite3->SetVisAttributes(simpleBoxAtt);
720  fLogicKgm->SetVisAttributes(simpleBoxAttKGM);
721  fLogicVerre2->SetVisAttributes(simpleBoxAtt);
722 
723  return fPhysiWorld;
724 }
static const double cm
Definition: G4SIunits.hh:118
CLHEP::Hep3Vector G4ThreeVector
HepRotation & rotateX(double delta)
Definition: Rotation.cc:66
CLHEP::HepRotation G4RotationMatrix
Definition: G4Box.hh:64
void SetVisibility(G4bool)
void SetUserLimits(G4UserLimits *pULimits)
HepRotation & rotateY(double delta)
Definition: Rotation.cc:79
void SetForceSolid(G4bool)
G4GLOB_DLL std::ostream G4cout
static const double deg
Definition: G4SIunits.hh:151
Definition: G4Cons.hh:83
static const double pi
Definition: SystemOfUnits.h:53
static const double kg
Definition: G4SIunits.hh:179
static const double micrometer
Definition: G4SIunits.hh:99
HepRotation & rotateZ(double delta)
Definition: Rotation.cc:92
static const double um
Definition: G4SIunits.hh:112
#define G4endl
Definition: G4ios.hh:61
static const double m
Definition: G4SIunits.hh:128
double G4double
Definition: G4Types.hh:76
static const double mm
Definition: G4SIunits.hh:114
void SetDaughtersInvisible(G4bool)
void SetVisAttributes(const G4VisAttributes *pVA)
Here is the call graph for this function:

◆ ConstructMaterials()

void DetectorConstruction::ConstructMaterials ( )
private

Definition at line 105 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

106 {
107  //[G4_WATER]
108  //
109  G4NistManager* nistManager = G4NistManager::Instance();
110  G4bool fromIsotopes = false;
111  nistManager->FindOrBuildMaterial("G4_WATER", fromIsotopes);
113 
114  //[Vacuum]
115  G4double a; // mass of a mole;
116  G4double z; // z=mean number of protons;
118  new G4Material("Galactic", z=1., a=1.01*g/mole,density= universe_mean_density,
119  kStateGas, 2.73*kelvin, 3.e-18*pascal);
121 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
Definition: G4Material.cc:604
int universe_mean_density
Definition: hepunit.py:307
static G4NistManager * Instance()
G4double density
Definition: TRTMaterials.hh:39
function g(Y1, Y2, PT2)
Definition: hijing1.383.f:5206
bool G4bool
Definition: G4Types.hh:79
#define pascal
static const double kelvin
Definition: G4SIunits.hh:278
static const double mole
Definition: G4SIunits.hh:283
double G4double
Definition: G4Types.hh:76
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ConstructSDandField() [1/16]

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

◆ ConstructSDandField() [2/16]

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

◆ ConstructSDandField() [3/16]

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

◆ ConstructSDandField() [4/16]

void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

◆ ConstructSDandField() [5/16]

void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

Definition at line 357 of file examples/advanced/amsEcal/src/DetectorConstruction.cc.

358 {
359  if ( fFieldMessenger.Get() == 0 ) {
360  // Create global magnetic field messenger.
361  // Uniform magnetic field is then created automatically if
362  // the field value is not zero.
363  G4ThreeVector fieldValue = G4ThreeVector();
365  new G4GlobalMagFieldMessenger(fieldValue);
366  //msg->SetVerboseLevel(1);
368  fFieldMessenger.Put( msg );
369 
370  }
371 }
void Put(const value_type &val) const
Definition: G4Cache.hh:286
CLHEP::Hep3Vector G4ThreeVector
value_type & Get() const
Definition: G4Cache.hh:282
G4Cache< G4GlobalMagFieldMessenger * > fFieldMessenger
void Register(T *inst)
Definition: G4AutoDelete.hh:65
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ConstructSDandField() [6/16]

void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

◆ ConstructSDandField() [7/16]

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

◆ ConstructSDandField() [8/16]

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

◆ ConstructSDandField() [9/16]

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

◆ ConstructSDandField() [10/16]

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

◆ ConstructSDandField() [11/16]

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

◆ ConstructSDandField() [12/16]

void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

◆ ConstructSDandField() [13/16]

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

◆ ConstructSDandField() [14/16]

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

◆ ConstructSDandField() [15/16]

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

◆ ConstructSDandField() [16/16]

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

◆ ConstructVolumes() [1/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [2/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [3/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [4/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [5/27]

G4VPhysicalVolume * DetectorConstruction::ConstructVolumes ( )
private

Definition at line 141 of file environments/g4py/examples/demos/TestEm0/module/DetectorConstruction.cc.

142 {
143  // Cleanup old geometry
148 
149  G4Box*
150  sBox = new G4Box("Container", //its name
151  BoxSize/2,BoxSize/2,BoxSize/2); //its dimensions
152 
154  lBox = new G4LogicalVolume(sBox, //its shape
155  aMaterial, //its material
156  aMaterial->GetName()); //its name
157 
158  pBox = new G4PVPlacement(0, //no rotation
159  G4ThreeVector(), //at (0,0,0)
160  lBox, //its logical volume
161  aMaterial->GetName(), //its name
162  0, //its mother volume
163  false, //no boolean operation
164  0); //copy number
165 
166  //always return the root volume
167  //
168  return pBox;
169 }
CLHEP::Hep3Vector G4ThreeVector
Definition: G4Box.hh:64
static void Clean()
Definition: G4SolidStore.cc:79
static G4PhysicalVolumeStore * GetInstance()
static G4LogicalVolumeStore * GetInstance()
static G4SolidStore * GetInstance()
static G4GeometryManager * GetInstance()
void OpenGeometry(G4VPhysicalVolume *vol=0)
const G4String & GetName() const
Definition: G4Material.hh:178
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ConstructVolumes() [6/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [7/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [8/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [9/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [10/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [11/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [12/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [13/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [14/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [15/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [16/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [17/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [18/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [19/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [20/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [21/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [22/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [23/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [24/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [25/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [26/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructVolumes() [27/27]

G4VPhysicalVolume* DetectorConstruction::ConstructVolumes ( )
private

◆ ConstructWorld()

G4VPhysicalVolume * DetectorConstruction::ConstructWorld ( )
private

Definition at line 137 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

138 {
139  // Geometry parameters
140  G4double worldSize = 1000*1*angstrom;
141 
142  if ( !fpDefaultMaterial )
143  {
144  G4cerr << "Cannot retrieve materials already defined. " << G4endl;
145  G4cerr << "Exiting application " << G4endl;
146  exit(1);
147  }
148 
149  //
150  // World
151  //
152  G4VSolid* worldS
153  = new G4Box("World", // its name
154  worldSize/2, worldSize/2, worldSize/2); // its size
155 
157  worldLV
158  = new G4LogicalVolume(
159  worldS, // its solid
160  fpDefaultMaterial, // its material
161  "World"); // its name
162 
163  G4VisAttributes *MyVisAtt_ZZ = new G4VisAttributes(
165  MyVisAtt_ZZ ->SetVisibility (false);
166  worldLV->SetVisAttributes(MyVisAtt_ZZ);
167 
169  worldPV
170  = new G4PVPlacement(
171  0, // no rotation
172  G4ThreeVector(), // at (0,0,0)
173  worldLV, // its logical volume
174  "World", // its name
175  0, // its mother volume
176  false, // no boolean operation
177  0, // copy number
178  true); // checking overlaps forced to YES
179 
180  return worldPV;
181 }
static G4Colour Gray()
Definition: G4Colour.hh:144
CLHEP::Hep3Vector G4ThreeVector
Definition: G4Box.hh:64
void SetVisibility(G4bool)
#define G4endl
Definition: G4ios.hh:61
double G4double
Definition: G4Types.hh:76
void SetVisAttributes(const G4VisAttributes *pVA)
G4GLOB_DLL std::ostream G4cerr
static const double angstrom
Definition: G4SIunits.hh:101
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DefineMaterials() [1/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [2/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [3/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [4/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [5/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [6/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [7/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [8/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [9/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [10/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [11/41]

void DetectorConstruction::DefineMaterials ( )
private

H2O->SetChemicalFormula("H_2O");

Definition at line 77 of file environments/g4py/examples/demos/TestEm0/module/DetectorConstruction.cc.

78 {
79  //
80  // define Elements
81  //
82  G4double z,a;
83 
84  G4Element* H = new G4Element("Hydrogen" ,"H" , z= 1., a= 1.01*g/mole);
85  G4Element* N = new G4Element("Nitrogen" ,"N" , z= 7., a= 14.01*g/mole);
86  G4Element* O = new G4Element("Oxygen" ,"O" , z= 8., a= 16.00*g/mole);
87  G4Element* Ge = new G4Element("Germanium","Ge", z=32., a= 72.59*g/mole);
88  G4Element* Bi = new G4Element("Bismuth" ,"Bi", z=83., a= 208.98*g/mole);
89 
90  //
91  // define materials
92  //
94  G4int ncomponents, natoms;
95  G4double fractionmass;
96 
97  G4Material* Air =
98  new G4Material("Air", density= 1.290*mg/cm3, ncomponents=2);
99  Air->AddElement(N, fractionmass=70.*perCent);
100  Air->AddElement(O, fractionmass=30.*perCent);
101 
102  G4Material* H2l =
103  new G4Material("H2liquid", density= 70.8*mg/cm3, ncomponents=1);
104  H2l->AddElement(H, fractionmass=1.);
105 
106  G4Material* H2O =
107  new G4Material("Water", density= 1.000*g/cm3, ncomponents=2);
108  H2O->AddElement(H, natoms=2);
109  H2O->AddElement(O, natoms=1);
112 
113  G4Material* steam =
114  new G4Material("WaterSteam", density= 1.0*mg/cm3, ncomponents=1);
115  steam->AddMaterial(H2O, fractionmass=1.);
116  steam->GetIonisation()->SetMeanExcitationEnergy(71.6*eV);
117 
118  G4Material* BGO =
119  new G4Material("BGO", density= 7.10*g/cm3, ncomponents=3);
120  BGO->AddElement(O , natoms=12);
121  BGO->AddElement(Ge, natoms= 3);
122  BGO->AddElement(Bi, natoms= 4);
123 
124  new G4Material("Aluminium" , z=13., a= 26.98*g/mole, density= 2.700*g/cm3);
125  new G4Material("Silicon" , z=14., a= 28.09*g/mole, density= 2.330*g/cm3);
126  new G4Material("liquidArgon", z=18., a= 39.95*g/mole, density= 1.390*g/cm3);
127  new G4Material("Iron" , z=26., a= 55.85*g/mole, density= 7.870*g/cm3);
128  new G4Material("Copper" , z=29., a= 63.55*g/mole, density= 8.960*g/cm3);
129  new G4Material("Germanium" , z=32., a= 72.61*g/mole, density= 5.323*g/cm3);
130  new G4Material("Silver" , z=47., a=107.87*g/mole, density= 10.50*g/cm3);
131  new G4Material("Tungsten" , z=74., a=183.85*g/mole, density= 19.30*g/cm3);
132  new G4Material("Lead" , z=82., a=207.19*g/mole, density= 11.35*g/cm3);
133  new G4Material("Uranium" , z=92., a=238.03*g/mole, density= 18.95*g/cm3);
134 
135 
137 }
G4IonisParamMat * GetIonisation() const
Definition: G4Material.hh:226
G4Material * Air
Definition: TRTMaterials.hh:57
void AddMaterial(G4Material *material, G4double fraction)
Definition: G4Material.cc:469
void SetMeanExcitationEnergy(G4double value)
static G4MaterialTable * GetMaterialTable()
Definition: G4Material.cc:589
static const double mg
Definition: G4SIunits.hh:181
int G4int
Definition: G4Types.hh:78
G4double density
Definition: TRTMaterials.hh:39
function g(Y1, Y2, PT2)
Definition: hijing1.383.f:5206
G4GLOB_DLL std::ostream G4cout
static const double cm3
Definition: G4SIunits.hh:120
static const double perCent
Definition: G4SIunits.hh:329
static const double eV
Definition: G4SIunits.hh:212
static const double mole
Definition: G4SIunits.hh:283
#define G4endl
Definition: G4ios.hh:61
**D E S C R I P T I O N
void AddElement(G4Element *element, G4int nAtoms)
Definition: G4Material.cc:364
double G4double
Definition: G4Types.hh:76
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DefineMaterials() [12/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [13/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [14/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [15/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [16/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [17/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [18/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [19/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [20/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [21/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [22/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [23/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [24/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [25/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [26/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [27/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [28/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [29/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [30/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [31/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [32/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [33/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [34/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [35/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [36/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [37/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [38/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [39/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [40/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineMaterials() [41/41]

void DetectorConstruction::DefineMaterials ( )
private

◆ DefineVolumes() [1/2]

G4VPhysicalVolume * DetectorConstruction::DefineVolumes ( )
private

Definition at line 92 of file examples/extended/medical/dna/microyz/src/DetectorConstruction.cc.

93 {
94  G4double worldLength = 200*um;
95 
96  // World
97 
99 
100  G4cout << "Computed tolerance = "
102  << " nm" << G4endl;
103 
104  G4Box* worldS
105  = new G4Box("world", //its name
106  worldLength/2,worldLength/2,worldLength/2); //its size
107 
108  G4LogicalVolume* worldLV
109  = new G4LogicalVolume(
110  worldS, //its solid
111  fpWaterMaterial, //its material
112  "World_LV"); //its name
113 
114  G4VPhysicalVolume* worldPV
115  = new G4PVPlacement(
116  0, // no rotation
117  G4ThreeVector(), // at (0,0,0)
118  worldLV, // its logical volume
119  "World", // its name
120  0, // its mother volume
121  false, // no boolean operations
122  0, // copy number
123  false); // checking overlaps
124 
125  return worldPV;
126 }
CLHEP::Hep3Vector G4ThreeVector
Definition: G4Box.hh:64
G4double GetSurfaceTolerance() const
void SetWorldMaximumExtent(G4double worldExtent)
G4GLOB_DLL std::ostream G4cout
static const double nm
Definition: G4SIunits.hh:111
static G4GeometryManager * GetInstance()
static const double um
Definition: G4SIunits.hh:112
#define G4endl
Definition: G4ios.hh:61
double G4double
Definition: G4Types.hh:76
static G4GeometryTolerance * GetInstance()
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DefineVolumes() [2/2]

G4VPhysicalVolume * DetectorConstruction::DefineVolumes ( G4String  filename,
unsigned short int  option 
)
private

Definition at line 185 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

187 {
188  //Clean old geometry
189  //
194 
195  // Define Materials
196  //
198 
199  //Reconstruct world not to superimpose on geometries
200  G4VPhysicalVolume* worldPV;
201  G4LogicalVolume* worldLV;
202  worldPV=ConstructWorld();
203  worldLV=worldPV->GetLogicalVolume();
204 
205  //List of molecules inside pdb file separated by TER keyword
206  fpMoleculeList=NULL;
207  fpBarycenterList=NULL;
208 
209  //'fPDBlib.load' is currently done for each 'DefineVolumes' call.
210  int verbosity=0; //To be implemented
211  unsigned short int isDNA;
212  fpMoleculeList = fPDBlib.Load(filename,isDNA,verbosity);
213  if (fpMoleculeList!=NULL && isDNA==1)
214  {
217  G4cout<<"This PDB file is DNA."<<G4endl;
218  }
219 
220  if (fpMoleculeList!=NULL)
221  {
222  fPdbFileStatus=1;
223  }
224 
225  if (option==1)
226  {
227  AtomisticView( worldLV,fpMoleculeList,1.0);
228  }
229  else
230  if (option==2)
231  {
233  }
234  else
235  if (option==3)
236  {
238  }
239  else
240  if (option==10)
241  {
243  }
244  else
245  if (option==11)
246  {
247  AtomisticView( worldLV,fpMoleculeList,1.0);
249  }
250  else
251  if (option==12)
252  {
255  }
256  else
257  if (option==13)
258  {
261  }
262  // Always return the physical World
263  //
264  return worldPV;
265 }
Barycenter * ComputeNucleotideBarycenters(Molecule *moleculeListTemp)
Compute nucleotide barycenter from memory.
Definition: PDBlib.cc:480
static void Clean()
Definition: G4SolidStore.cc:79
static G4PhysicalVolumeStore * GetInstance()
G4GLOB_DLL std::ostream G4cout
void ComputeNbNucleotidsPerStrand(Molecule *moleculeListTemp)
Compute number of nucleotide per strand.
Definition: PDBlib.cc:736
void AtomisticView(G4LogicalVolume *, Molecule *, double atomSizeFactor)
static G4LogicalVolumeStore * GetInstance()
static G4SolidStore * GetInstance()
static G4GeometryManager * GetInstance()
Molecule * Load(const string &filename, unsigned short int &isDNA, unsigned short int verbose)
Load PDB file into memory.
Definition: PDBlib.cc:73
#define G4endl
Definition: G4ios.hh:61
void OpenGeometry(G4VPhysicalVolume *vol=0)
G4LogicalVolume * GetLogicalVolume() const
Here is the call graph for this function:

◆ DrawAtoms_()

void DetectorConstruction::DrawAtoms_ ( )

Definition at line 824 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

825 {
826  if (fPdbFileStatus>0) //a PDB file has been loaded
827  {
828 #ifdef G4MULTITHREADED
831  );
833 #else
836  );
837 #endif
838  }
839  else G4cout<<"PDB file not found!"<<G4endl<<G4endl;
840 }
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
G4GLOB_DLL std::ostream G4cout
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:

◆ DrawAtomsWithBounding_()

void DetectorConstruction::DrawAtomsWithBounding_ ( )

Definition at line 884 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

885 {
886  if (fPdbFileStatus>0) //a PDB file has been loaded
887  {
888 #ifdef G4MULTITHREADED
891  );
893 #else
896  );
897 #endif
898  }
899  else G4cout<<"PDB file not found!"<<G4endl<<G4endl;
900 }
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
G4GLOB_DLL std::ostream G4cout
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:

◆ DrawBoundingVolume()

void DetectorConstruction::DrawBoundingVolume ( G4LogicalVolume worldLV,
Molecule moleculeListTemp 
)
private

Definition at line 745 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

747 {
748  CheckMaterials();
749 
750  double dX,dY,dZ;//Dimensions for bounding volume
751  double tX,tY,tZ;//Translation for bounding volume
752  fPDBlib.ComputeBoundingVolumeParams(moleculeListTemp,
753  dX, dY, dZ,
754  tX, tY, tZ);
755 
756  //[Geometry] Build a box :
757  G4VSolid* boundingS
758  = new G4Box("Bounding", dX*1*angstrom, dY*1*angstrom, dZ*1*angstrom);
759 
760  G4LogicalVolume* boundingLV
761  = new G4LogicalVolume(boundingS, fpWaterMaterial, "BoundingLV");
762 
763  G4RotationMatrix *pRot = new G4RotationMatrix();
764 
765  G4VisAttributes *MyVisAtt_ZZ = new G4VisAttributes(
767  boundingLV->SetVisAttributes(MyVisAtt_ZZ);
768 
769  new G4PVPlacement(pRot,
771  tX*1*angstrom,
772  tY*1*angstrom,
773  tZ*1*angstrom), // at (x,y,z)
774  boundingLV,
775  "boundingPV",
776  worldLV
777  ,false,
778  0,
780 }
static G4Colour Gray()
Definition: G4Colour.hh:144
CLHEP::Hep3Vector G4ThreeVector
CLHEP::HepRotation G4RotationMatrix
Definition: G4Box.hh:64
void ComputeBoundingVolumeParams(Molecule *moleculeListTemp, double &dX, double &dY, double &dZ, double &tX, double &tY, double &tZ)
Compute the corresponding bounding volume parameters.
Definition: PDBlib.cc:667
void SetVisAttributes(const G4VisAttributes *pVA)
static const double angstrom
Definition: G4SIunits.hh:101
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawNucleotides_()

void DetectorConstruction::DrawNucleotides_ ( )

Definition at line 844 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

845 {
846  if (fPdbFileStatus>0) //a PDB file has been loaded
847  {
848 #ifdef G4MULTITHREADED
851  );
853 #else
856  );
857 #endif
858  }
859  else G4cout<<"PDB file not found!"<<G4endl<<G4endl;
860 }
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
G4GLOB_DLL std::ostream G4cout
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:

◆ DrawNucleotidesWithBounding_()

void DetectorConstruction::DrawNucleotidesWithBounding_ ( )

Definition at line 904 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

905 {
906  if (fPdbFileStatus>0) //a PDB file has been loaded
907  {
908 #ifdef G4MULTITHREADED
911  );
913 #else
916  );
917 #endif
918  }
919  else G4cout<<"PDB file not found!"<<G4endl<<G4endl;
920 }
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
G4GLOB_DLL std::ostream G4cout
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:

◆ DrawResidues_()

void DetectorConstruction::DrawResidues_ ( )

Definition at line 864 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

865 {
866  if (fPdbFileStatus>0) //a PDB file has been loaded
867  {
868 #ifdef G4MULTITHREADED
871  );
873 #else
876  );
877 #endif
878  }
879  else G4cout<<"PDB file not found!"<<G4endl<<G4endl;
880 }
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
G4GLOB_DLL std::ostream G4cout
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:

◆ DrawResiduesWithBounding_()

void DetectorConstruction::DrawResiduesWithBounding_ ( )

Definition at line 924 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

925 {
926  if (fPdbFileStatus>0) //a PDB file has been loaded
927  {
928 #ifdef G4MULTITHREADED
931  );
933 #else
936  );
937 #endif
938  }
939  else G4cout<<"PDB file not found!"<<G4endl<<G4endl;
940 }
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
G4GLOB_DLL std::ostream G4cout
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:

◆ GeometryParameters()

void DetectorConstruction::GeometryParameters ( )
private

Definition at line 205 of file examples/extended/medical/electronScattering/src/DetectorConstruction.cc.

206 {
207  fZfront_ExitWindow = 0.0*um;
208  fThickness_ExitWindow = 41.2*um;
209 
210  fZfront_ScatterFoil = 2.65*cm;
212 
213  fZfront_MonitorChbr = 50.*mm;
214  fThickness_MonitorChbr = 112.7*um;
215 
216  fZfront_Bag = 64.975*mm;
217  fThickness_Bag = 110.0050*cm;
218 
219  fThickness_Gas = 110.*cm;
220 
221  fThickness_Ring = 14.*mm;
222  fInnerRadius_Ring = 20.*cm;
223 
224  fZfront_Frame = 2.0*um;
225  fThickness_Frame = 118.2*cm;
226 
228  fRadius_World = 23.3*cm;
229 }
static const double cm
Definition: G4SIunits.hh:118
static const double um
Definition: G4SIunits.hh:112
static const double mm
Definition: G4SIunits.hh:114
Here is the call graph for this function:

◆ GetAbsorber() [1/6]

const G4VPhysicalVolume* DetectorConstruction::GetAbsorber ( )
inline

◆ GetAbsorber() [2/6]

const G4VPhysicalVolume* DetectorConstruction::GetAbsorber ( )
inline

◆ GetAbsorber() [3/6]

const G4VPhysicalVolume* DetectorConstruction::GetAbsorber ( )
inline

◆ GetAbsorber() [4/6]

const G4VPhysicalVolume* DetectorConstruction::GetAbsorber ( )
inline

◆ GetAbsorber() [5/6]

const G4VPhysicalVolume* DetectorConstruction::GetAbsorber ( )
inline

Definition at line 91 of file examples/extended/electromagnetic/TestEm5/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetAbsorber() [6/6]

const G4VPhysicalVolume* DetectorConstruction::GetAbsorber ( G4int  i)
inline

◆ GetAbsorberMaterial() [1/5]

◆ GetAbsorberMaterial() [2/5]

◆ GetAbsorberMaterial() [3/5]

G4Material* DetectorConstruction::GetAbsorberMaterial ( )
inline

◆ GetAbsorberMaterial() [4/5]

G4Material* DetectorConstruction::GetAbsorberMaterial ( )
inline

Definition at line 83 of file examples/extended/analysis/AnaEx01/shared/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetAbsorberMaterial() [5/5]

◆ GetAbsorberSizeYZ()

◆ GetAbsorberThickness() [1/5]

◆ GetAbsorberThickness() [2/5]

◆ GetAbsorberThickness() [3/5]

G4double DetectorConstruction::GetAbsorberThickness ( )
inline

◆ GetAbsorberThickness() [4/5]

G4double DetectorConstruction::GetAbsorberThickness ( )
inline

Definition at line 84 of file examples/extended/analysis/AnaEx01/shared/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetAbsorberThickness() [5/5]

◆ GetAbsorberXpos()

◆ GetAbsorMass() [1/3]

G4double DetectorConstruction::GetAbsorMass ( ) const
inline

Definition at line 67 of file examples/extended/medical/dna/range/include/DetectorConstruction.hh.

68  {
69  return fLogicalAbsor->GetMass();
70  }
G4double GetMass(G4bool forced=false, G4bool propagate=true, G4Material *parMaterial=0)
Here is the call graph for this function:

◆ GetAbsorMass() [2/3]

G4double DetectorConstruction::GetAbsorMass ( ) const
inline

Definition at line 67 of file examples/extended/medical/dna/svalue/include/DetectorConstruction.hh.

68  {
69  return fLogicalAbsor->GetMass();
70  }
G4double GetMass(G4bool forced=false, G4bool propagate=true, G4Material *parMaterial=0)
Here is the call graph for this function:

◆ GetAbsorMass() [3/3]

G4double DetectorConstruction::GetAbsorMass ( ) const
inline

Definition at line 67 of file examples/extended/medical/dna/wvalue/include/DetectorConstruction.hh.

68  {
69  return fLogicalAbsor->GetMass();
70  }
G4double GetMass(G4bool forced=false, G4bool propagate=true, G4Material *parMaterial=0)
Here is the call graph for this function:

◆ GetAbsorMaterial() [1/8]

G4Material* DetectorConstruction::GetAbsorMaterial ( ) const
inline

◆ GetAbsorMaterial() [2/8]

G4Material* DetectorConstruction::GetAbsorMaterial ( ) const
inline

◆ GetAbsorMaterial() [3/8]

G4Material* DetectorConstruction::GetAbsorMaterial ( ) const
inline

◆ GetAbsorMaterial() [4/8]

G4Material* DetectorConstruction::GetAbsorMaterial ( )
inline

◆ GetAbsorMaterial() [5/8]

const G4Material* DetectorConstruction::GetAbsorMaterial ( )
inline

Definition at line 69 of file examples/extended/exoticphysics/monopole/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetAbsorMaterial() [6/8]

G4Material* DetectorConstruction::GetAbsorMaterial ( G4int  i)
inline

Definition at line 75 of file examples/extended/electromagnetic/TestEm11/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetAbsorMaterial() [7/8]

G4Material* DetectorConstruction::GetAbsorMaterial ( )
inline

◆ GetAbsorMaterial() [8/8]

G4Material* DetectorConstruction::GetAbsorMaterial ( G4int  i)
inline

◆ GetAbsorRadius() [1/4]

G4double DetectorConstruction::GetAbsorRadius ( ) const
inline

◆ GetAbsorRadius() [2/4]

G4double DetectorConstruction::GetAbsorRadius ( ) const
inline

◆ GetAbsorRadius() [3/4]

G4double DetectorConstruction::GetAbsorRadius ( ) const
inline

◆ GetAbsorRadius() [4/4]

G4double DetectorConstruction::GetAbsorRadius ( )
inline

Definition at line 63 of file examples/extended/electromagnetic/TestEm12/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetAbsorSizeX() [1/3]

◆ GetAbsorSizeX() [2/3]

◆ GetAbsorSizeX() [3/3]

G4double DetectorConstruction::GetAbsorSizeX ( )
inline

Definition at line 79 of file examples/extended/electromagnetic/TestEm11/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetAbsorSizeYZ() [1/2]

◆ GetAbsorSizeYZ() [2/2]

◆ GetAbsorThickness() [1/2]

G4double DetectorConstruction::GetAbsorThickness ( G4int  i)
inline

Definition at line 76 of file examples/extended/electromagnetic/TestEm11/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetAbsorThickness() [2/2]

G4double DetectorConstruction::GetAbsorThickness ( G4int  i)
inline

◆ GetBarycenterList()

Barycenter * DetectorConstruction::GetBarycenterList ( )

Definition at line 276 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

Here is the caller graph for this function:

◆ GetBox() [1/2]

const G4VPhysicalVolume* DetectorConstruction::GetBox ( )
inline

◆ GetBox() [2/2]

const G4VPhysicalVolume* DetectorConstruction::GetBox ( )
inline

Definition at line 67 of file examples/extended/electromagnetic/TestEm15/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetBoxSize()

G4double DetectorConstruction::GetBoxSize ( )
inline

Definition at line 70 of file examples/extended/electromagnetic/TestEm15/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetBoxSizeXY()

◆ GetBoxSizeZ()

G4double DetectorConstruction::GetBoxSizeZ ( )
inline

Definition at line 71 of file examples/extended/polarisation/Pol01/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetCalorSizeYZ() [1/6]

G4double DetectorConstruction::GetCalorSizeYZ ( )
inline

◆ GetCalorSizeYZ() [2/6]

◆ GetCalorSizeYZ() [3/6]

◆ GetCalorSizeYZ() [4/6]

◆ GetCalorSizeYZ() [5/6]

◆ GetCalorSizeYZ() [6/6]

◆ GetCalorThickness() [1/6]

G4double DetectorConstruction::GetCalorThickness ( )
inline

Definition at line 64 of file examples/advanced/amsEcal/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetCalorThickness() [2/6]

◆ GetCalorThickness() [3/6]

G4double DetectorConstruction::GetCalorThickness ( )
inline

◆ GetCalorThickness() [4/6]

◆ GetCalorThickness() [5/6]

◆ GetCalorThickness() [6/6]

◆ GetCavity() [1/2]

G4VPhysicalVolume* DetectorConstruction::GetCavity ( )
inline

◆ GetCavity() [2/2]

G4VPhysicalVolume* DetectorConstruction::GetCavity ( )
inline

Definition at line 75 of file examples/extended/medical/fanoCavity/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetCavityMaterial() [1/2]

G4Material* DetectorConstruction::GetCavityMaterial ( )
inline

◆ GetCavityMaterial() [2/2]

G4Material* DetectorConstruction::GetCavityMaterial ( )
inline

Definition at line 74 of file examples/extended/medical/fanoCavity/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetCavityRadius()

G4double DetectorConstruction::GetCavityRadius ( )
inline

◆ GetCavityThickness() [1/2]

G4double DetectorConstruction::GetCavityThickness ( )
inline

◆ GetCavityThickness() [2/2]

G4double DetectorConstruction::GetCavityThickness ( )
inline

Definition at line 72 of file examples/extended/medical/fanoCavity/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetCellParameterisation()

CellParameterisation* DetectorConstruction::GetCellParameterisation ( )
inline

◆ GetCoef()

G4int DetectorConstruction::GetCoef ( )

Definition at line 293 of file examples/advanced/nanobeam/src/DetectorConstruction.cc.

Here is the caller graph for this function:

◆ GetCytoplasmMaterial1()

G4Material* DetectorConstruction::GetCytoplasmMaterial1 ( )
inline

◆ GetCytoplasmMaterial2()

G4Material* DetectorConstruction::GetCytoplasmMaterial2 ( )
inline

◆ GetCytoplasmMaterial3()

G4Material* DetectorConstruction::GetCytoplasmMaterial3 ( )
inline

◆ GetDetectorLength()

G4double DetectorConstruction::GetDetectorLength ( )

Definition at line 308 of file examples/extended/radioactivedecay/rdecay02/src/DetectorConstruction.cc.

Here is the caller graph for this function:

◆ GetDetectorMaterial()

G4Material * DetectorConstruction::GetDetectorMaterial ( )

Definition at line 322 of file examples/extended/radioactivedecay/rdecay02/src/DetectorConstruction.cc.

Here is the caller graph for this function:

◆ GetDetectorThickness()

G4double DetectorConstruction::GetDetectorThickness ( )

Definition at line 315 of file examples/extended/radioactivedecay/rdecay02/src/DetectorConstruction.cc.

Here is the caller graph for this function:

◆ GetdLlength()

G4double DetectorConstruction::GetdLlength ( )
inline

Definition at line 79 of file examples/extended/electromagnetic/TestEm2/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetdLradl()

G4double DetectorConstruction::GetdLradl ( )
inline

Definition at line 77 of file examples/extended/electromagnetic/TestEm2/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetdRlength()

G4double DetectorConstruction::GetdRlength ( )
inline

Definition at line 80 of file examples/extended/electromagnetic/TestEm2/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetdRradl()

G4double DetectorConstruction::GetdRradl ( )
inline

Definition at line 78 of file examples/extended/electromagnetic/TestEm2/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetEcal()

◆ GetfullLength()

G4double DetectorConstruction::GetfullLength ( )
inline

Definition at line 81 of file examples/extended/electromagnetic/TestEm2/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetfullRadius()

G4double DetectorConstruction::GetfullRadius ( )
inline

Definition at line 82 of file examples/extended/electromagnetic/TestEm2/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetG1()

G4float DetectorConstruction::GetG1 ( )
inline

◆ GetG2()

G4float DetectorConstruction::GetG2 ( )
inline

◆ GetG3()

G4float DetectorConstruction::GetG3 ( )
inline

◆ GetG4()

G4float DetectorConstruction::GetG4 ( )
inline

Definition at line 67 of file examples/advanced/nanobeam/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetGap() [1/4]

const G4VPhysicalVolume* DetectorConstruction::GetGap ( )
inline

Definition at line 91 of file examples/extended/analysis/AnaEx03/shared/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetGap() [2/4]

const G4VPhysicalVolume* DetectorConstruction::GetGap ( )
inline

Definition at line 91 of file examples/extended/analysis/shared/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetGap() [3/4]

◆ GetGap() [4/4]

const G4VPhysicalVolume* DetectorConstruction::GetGap ( )
inline

Definition at line 91 of file examples/extended/analysis/AnaEx02/shared/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetGapMaterial() [1/4]

◆ GetGapMaterial() [2/4]

G4Material* DetectorConstruction::GetGapMaterial ( )
inline

◆ GetGapMaterial() [3/4]

◆ GetGapMaterial() [4/4]

◆ GetGapThickness() [1/4]

◆ GetGapThickness() [2/4]

◆ GetGapThickness() [3/4]

◆ GetGapThickness() [4/4]

◆ GetGeneratorPosZ()

G4double DetectorConstruction::GetGeneratorPosZ ( ) const
inline

Definition at line 73 of file examples/extended/medical/GammaTherapy/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetGrid()

G4int DetectorConstruction::GetGrid ( )
inline

Definition at line 80 of file examples/advanced/nanobeam/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetLogicalCollDetGap4()

G4LogicalVolume* DetectorConstruction::GetLogicalCollDetGap4 ( )
inline

Definition at line 80 of file examples/advanced/microbeam/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetLogicalCollDetYoke()

G4LogicalVolume* DetectorConstruction::GetLogicalCollDetYoke ( )
inline

Definition at line 78 of file examples/advanced/microbeam/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetLogicalGrid()

G4LogicalVolume* DetectorConstruction::GetLogicalGrid ( )
inline

◆ GetLogicalIsobutane()

G4LogicalVolume* DetectorConstruction::GetLogicalIsobutane ( )
inline

Definition at line 79 of file examples/advanced/microbeam/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetLogicalKgm()

G4LogicalVolume* DetectorConstruction::GetLogicalKgm ( )
inline

Definition at line 82 of file examples/advanced/microbeam/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetLogicalPolyprop()

G4LogicalVolume* DetectorConstruction::GetLogicalPolyprop ( )
inline

Definition at line 81 of file examples/advanced/microbeam/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetLogicalTally()

G4LogicalVolume* DetectorConstruction::GetLogicalTally ( G4int  n)
inline

Definition at line 84 of file examples/extended/electromagnetic/TestEm7/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetLogicalVol()

G4LogicalVolume* DetectorConstruction::GetLogicalVol ( )
inline

◆ GetLogicalWorld()

G4LogicalVolume* DetectorConstruction::GetLogicalWorld ( )
inline

◆ GetLogicDetector()

G4LogicalVolume * DetectorConstruction::GetLogicDetector ( )

◆ GetLogicTarget()

G4LogicalVolume * DetectorConstruction::GetLogicTarget ( )

◆ GetLvolCalorimeter()

G4LogicalVolume* DetectorConstruction::GetLvolCalorimeter ( )
inline

◆ GetLvolFiber()

G4LogicalVolume* DetectorConstruction::GetLvolFiber ( )
inline

Definition at line 68 of file examples/advanced/amsEcal/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetLvolLayer()

G4LogicalVolume* DetectorConstruction::GetLvolLayer ( )
inline

Definition at line 69 of file examples/advanced/amsEcal/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetLvolModule()

G4LogicalVolume* DetectorConstruction::GetLvolModule ( )
inline

Definition at line 70 of file examples/advanced/amsEcal/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetLvolWorld()

G4LogicalVolume* DetectorConstruction::GetLvolWorld ( )
inline

Definition at line 72 of file examples/advanced/amsEcal/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetMassCytoplasm()

G4double DetectorConstruction::GetMassCytoplasm ( )
inline

Definition at line 71 of file examples/advanced/microbeam/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetMassNucleus()

G4double DetectorConstruction::GetMassNucleus ( )
inline

Definition at line 68 of file examples/advanced/microbeam/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetMaterial() [1/15]

G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 65 of file environments/g4py/examples/demos/TestEm0/module/DetectorConstruction.hh.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetMaterial() [2/15]

G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 66 of file examples/extended/electromagnetic/TestEm13/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetMaterial() [3/15]

G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 66 of file examples/extended/electromagnetic/TestEm14/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetMaterial() [4/15]

G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 67 of file examples/extended/electromagnetic/TestEm0/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetMaterial() [5/15]

G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 67 of file examples/extended/hadronic/Hadr06/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetMaterial() [6/15]

G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 68 of file examples/extended/electromagnetic/TestEm18/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetMaterial() [7/15]

G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 70 of file examples/extended/electromagnetic/TestEm17/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetMaterial() [8/15]

G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 70 of file examples/extended/electromagnetic/TestEm1/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetMaterial() [9/15]

G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 70 of file examples/extended/hadronic/Hadr03/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetMaterial() [10/15]

G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 70 of file examples/extended/hadronic/Hadr04/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetMaterial() [11/15]

G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 71 of file examples/extended/electromagnetic/TestEm16/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetMaterial() [12/15]

G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 71 of file examples/extended/electromagnetic/TestEm15/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetMaterial() [13/15]

◆ GetMaterial() [14/15]

G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 72 of file examples/extended/polarisation/Pol01/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetMaterial() [15/15]

G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 72 of file examples/extended/electromagnetic/TestEm6/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetMaterialScatter()

◆ GetMaxStepSize()

◆ GetModel()

G4int DetectorConstruction::GetModel ( )
inline

Definition at line 71 of file examples/advanced/nanobeam/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetModuleThickness()

G4double DetectorConstruction::GetModuleThickness ( )
inline

◆ GetMoleculeList()

Molecule * DetectorConstruction::GetMoleculeList ( )

Definition at line 283 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

Here is the caller graph for this function:

◆ GetNbFibers()

G4int DetectorConstruction::GetNbFibers ( )
inline

◆ GetNbLayers()

G4int DetectorConstruction::GetNbLayers ( )
inline

Definition at line 75 of file examples/advanced/amsEcal/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetNbModules()

G4int DetectorConstruction::GetNbModules ( )
inline

Definition at line 76 of file examples/advanced/amsEcal/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetNbOfAbsor() [1/2]

G4int DetectorConstruction::GetNbOfAbsor ( )
inline

Definition at line 74 of file examples/extended/electromagnetic/TestEm11/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetNbOfAbsor() [2/2]

◆ GetNbOfDivisions()

G4int DetectorConstruction::GetNbOfDivisions ( G4int  i)
inline

Definition at line 82 of file examples/extended/electromagnetic/TestEm11/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetNbOfLayers() [1/6]

G4int DetectorConstruction::GetNbOfLayers ( )
inline

Definition at line 65 of file examples/extended/electromagnetic/TestEm12/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetNbOfLayers() [2/6]

◆ GetNbOfLayers() [3/6]

◆ GetNbOfLayers() [4/6]

G4int DetectorConstruction::GetNbOfLayers ( )
inline

Definition at line 81 of file examples/extended/analysis/AnaEx01/shared/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetNbOfLayers() [5/6]

◆ GetNbOfLayers() [6/6]

◆ GetNbOfPixelsInPhantom()

G4int DetectorConstruction::GetNbOfPixelsInPhantom ( )
inline

Definition at line 74 of file examples/advanced/microbeam/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetnLtot()

G4int DetectorConstruction::GetnLtot ( )
inline

Definition at line 75 of file examples/extended/electromagnetic/TestEm2/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetnRtot()

G4int DetectorConstruction::GetnRtot ( )
inline

Definition at line 76 of file examples/extended/electromagnetic/TestEm2/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetNucleusMaterial1()

G4Material* DetectorConstruction::GetNucleusMaterial1 ( )
inline

◆ GetNucleusMaterial2()

G4Material* DetectorConstruction::GetNucleusMaterial2 ( )
inline

◆ GetNucleusMaterial3()

G4Material* DetectorConstruction::GetNucleusMaterial3 ( )
inline

◆ GetPDBlib()

PDBlib DetectorConstruction::GetPDBlib ( )

Definition at line 269 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

Here is the caller graph for this function:

◆ GetphysiWorld() [1/5]

const G4VPhysicalVolume* DetectorConstruction::GetphysiWorld ( )
inline

◆ GetphysiWorld() [2/5]

const G4VPhysicalVolume* DetectorConstruction::GetphysiWorld ( )
inline

◆ GetphysiWorld() [3/5]

const G4VPhysicalVolume* DetectorConstruction::GetphysiWorld ( )
inline

◆ GetphysiWorld() [4/5]

const G4VPhysicalVolume* DetectorConstruction::GetphysiWorld ( )
inline

◆ GetphysiWorld() [5/5]

const G4VPhysicalVolume* DetectorConstruction::GetphysiWorld ( )
inline

◆ GetProfile()

G4int DetectorConstruction::GetProfile ( )
inline

Definition at line 77 of file examples/advanced/nanobeam/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetpvolFrame()

◆ GetPvolWorld()

G4VPhysicalVolume* DetectorConstruction::GetPvolWorld ( )
inline

Definition at line 61 of file examples/advanced/amsEcal/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetpvolWorld()

◆ GetRadius()

G4double DetectorConstruction::GetRadius ( )
inline

Definition at line 66 of file examples/extended/hadronic/Hadr06/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetRadiusWorld()

◆ GetSize() [1/11]

G4double DetectorConstruction::GetSize ( )
inline

Definition at line 64 of file environments/g4py/examples/demos/TestEm0/module/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetSize() [2/11]

◆ GetSize() [3/11]

◆ GetSize() [4/11]

◆ GetSize() [5/11]

◆ GetSize() [6/11]

◆ GetSize() [7/11]

◆ GetSize() [8/11]

◆ GetSize() [9/11]

◆ GetSize() [10/11]

◆ GetSize() [11/11]

◆ GetTallyMass()

G4double DetectorConstruction::GetTallyMass ( G4int  n)
inline

◆ GetTallyNumber()

◆ GetTargetLength()

G4double DetectorConstruction::GetTargetLength ( )

Definition at line 280 of file examples/extended/radioactivedecay/rdecay02/src/DetectorConstruction.cc.

Here is the caller graph for this function:

◆ GetTargetMaterial() [1/2]

const G4Material* DetectorConstruction::GetTargetMaterial ( ) const
inline

Definition at line 69 of file examples/extended/hadronic/Hadr00/include/DetectorConstruction.hh.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTargetMaterial() [2/2]

G4Material * DetectorConstruction::GetTargetMaterial ( )

◆ GetTargetRadius()

G4double DetectorConstruction::GetTargetRadius ( )

Definition at line 287 of file examples/extended/radioactivedecay/rdecay02/src/DetectorConstruction.cc.

Here is the caller graph for this function:

◆ GetTargetRegion() [1/2]

G4Region* DetectorConstruction::GetTargetRegion ( )
inline

◆ GetTargetRegion() [2/2]

◆ GetThicknessFrame()

◆ GetThicknessScatter()

◆ GetThicknessWorld()

◆ GetTotalThickness()

G4double DetectorConstruction::GetTotalThickness ( )
inline

Definition at line 77 of file examples/extended/medical/fanoCavity/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetWall() [1/2]

◆ GetWall() [2/2]

G4VPhysicalVolume* DetectorConstruction::GetWall ( )
inline

Definition at line 70 of file examples/extended/medical/fanoCavity/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetWallMaterial() [1/2]

G4Material* DetectorConstruction::GetWallMaterial ( )
inline

◆ GetWallMaterial() [2/2]

G4Material* DetectorConstruction::GetWallMaterial ( )
inline

Definition at line 69 of file examples/extended/medical/fanoCavity/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetWallRadius()

◆ GetWallThickness() [1/2]

◆ GetWallThickness() [2/2]

G4double DetectorConstruction::GetWallThickness ( )
inline

Definition at line 67 of file examples/extended/medical/fanoCavity/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetWorld() [1/13]

const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

Definition at line 62 of file environments/g4py/examples/demos/TestEm0/module/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetWorld() [2/13]

const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

◆ GetWorld() [3/13]

const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

◆ GetWorld() [4/13]

const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

◆ GetWorld() [5/13]

const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

◆ GetWorld() [6/13]

◆ GetWorld() [7/13]

const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

◆ GetWorld() [8/13]

const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

◆ GetWorld() [9/13]

const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

◆ GetWorld() [10/13]

const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

◆ GetWorld() [11/13]

const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

◆ GetWorld() [12/13]

const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

◆ GetWorld() [13/13]

const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

◆ GetWorldMaterial() [1/4]

G4Material* DetectorConstruction::GetWorldMaterial ( )
inline

◆ GetWorldMaterial() [2/4]

◆ GetWorldMaterial() [3/4]

◆ GetWorldMaterial() [4/4]

const G4Material* DetectorConstruction::GetWorldMaterial ( )
inline

◆ GetWorldRadius()

G4double DetectorConstruction::GetWorldRadius ( )
inline

Definition at line 76 of file examples/extended/medical/fanoCavity2/include/DetectorConstruction.hh.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetWorldSize() [1/3]

◆ GetWorldSize() [2/3]

◆ GetWorldSize() [3/3]

◆ GetWorldSizeX() [1/9]

G4double DetectorConstruction::GetWorldSizeX ( )
inline

◆ GetWorldSizeX() [2/9]

◆ GetWorldSizeX() [3/9]

◆ GetWorldSizeX() [4/9]

◆ GetWorldSizeX() [5/9]

◆ GetWorldSizeX() [6/9]

◆ GetWorldSizeX() [7/9]

G4double DetectorConstruction::GetWorldSizeX ( )
inline

◆ GetWorldSizeX() [8/9]

◆ GetWorldSizeX() [9/9]

◆ GetWorldSizeXY() [1/3]

◆ GetWorldSizeXY() [2/3]

G4double DetectorConstruction::GetWorldSizeXY ( )
inline

◆ GetWorldSizeXY() [3/3]

G4double DetectorConstruction::GetWorldSizeXY ( )
inline

◆ GetWorldSizeYZ() [1/6]

◆ GetWorldSizeYZ() [2/6]

◆ GetWorldSizeYZ() [3/6]

◆ GetWorldSizeYZ() [4/6]

◆ GetWorldSizeYZ() [5/6]

◆ GetWorldSizeYZ() [6/6]

◆ GetWorldSizeZ() [1/4]

◆ GetWorldSizeZ() [2/4]

G4double DetectorConstruction::GetWorldSizeZ ( )
inline

◆ GetWorldSizeZ() [3/4]

◆ GetWorldSizeZ() [4/4]

G4double DetectorConstruction::GetWorldSizeZ ( )
inline

Definition at line 84 of file examples/extended/electromagnetic/TestEm9/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ GetWorldThickness()

◆ GetxendAbs()

G4double DetectorConstruction::GetxendAbs ( )
inline

Definition at line 86 of file examples/extended/electromagnetic/TestEm5/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetXfront()

G4double DetectorConstruction::GetXfront ( G4int  i)
inline

◆ GetxstartAbs()

G4double DetectorConstruction::GetxstartAbs ( )
inline

Definition at line 85 of file examples/extended/electromagnetic/TestEm5/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ GetZdist_foil_detector()

◆ InitialiseGeometryParameters()

void DetectorConstruction::InitialiseGeometryParameters ( )
private

Definition at line 136 of file examples/extended/medical/GammaTherapy/src/DetectorConstruction.cc.

137 {
138  // Volumee sizes
139 
140  G4double factor = 1.2;
141 
143  G4double nz = (G4int)((Histo::GetPointer())->GetNumberDivZ());
144  fAbsorberZ = fPhantomZ/nz;
146 
148  fTargetVolumeZ = fDistanceVacuumTarget + fTarget2Z + fTarget1Z + fDelta;
149  fWorldZ = factor*ztot*0.5;
150 
151  if(fCheckShiftZ < fDelta) { fCheckShiftZ = fDelta; }
152  if(fCheckShiftZ > fAirZ - fCheckVolumeZ -fDelta) {
154  }
155 
156  // Z position of volumes from upstream to downstream
157 
158  fWindowPosZ = -(ztot + fWindowZ)*0.5;
160 
161  fTargetVolumePosZ= -0.5*(ztot - fTargetVolumeZ);
162  fTarget1PosZ = -0.5*(fTargetVolumeZ - fTarget1Z) + fDistanceVacuumTarget;
163  fTarget2PosZ = fTarget1PosZ + 0.5*(fTarget2Z + fTarget1Z);
164 
167  + fCheckShiftZ;
168  fMylarPosZ = fGasVolumePosZ + 0.5*(fGasVolumeZ + fMylarVolumeZ) + fDelta;
169 
173  (Histo::GetPointer())->SetAbsorberR(fAbsorberRadius);
174  (Histo::GetPointer())->SetScoreZ(fAbsorberShiftZ);
175  G4double shiftZPh = fPhantomPosZ-0.5*fPhantomZ;
176  fPhantomSD->SetShiftZ(shiftZPh);
177 
178  G4cout << "===================================================" << G4endl;
179  G4cout << "# GammaTherapy Geometry #" << G4endl;
180  G4cout << "===================================================" << G4endl;
181  G4cout << " World width= " << fWorldZ/mm << " mm " << G4endl;
182  G4cout << " Window width= " << fWindowZ/mm << " mm position = "
183  << fWindowPosZ/mm << " mm:" << G4endl;
184  G4cout << " TargetV width= " << fTargetVolumeZ/mm << " mm position = "
185  << fTargetVolumePosZ/mm << " mm:" << G4endl;
186  G4cout << " Target1 width= " << fTarget1Z/mm << " mm position = "
187  << fTarget1PosZ/mm << " mm:" << G4endl;
188  G4cout << " Target2 width= " << fTarget2Z/mm << " mm position = "
189  << fTarget2PosZ/mm << " mm:" << G4endl;
190  G4cout << " Gas width= " << fGasVolumeZ/mm << " mm position = "
191  << fGasVolumePosZ/mm << " mm:" << G4endl;
192  G4cout << " Mylar width= " << fMylarVolumeZ/mm << " mm position = "
193  << fMylarPosZ/mm << " mm:" << G4endl;
194  G4cout << " Check width= " << fCheckVolumeZ/mm << " mm position = "
195  << fCheckVolumePosZ/mm << " mm:" << G4endl;
196  G4cout << " Air width= " << fAirZ/mm << " mm " << G4endl;
197  G4cout << " Phantom width= " << fPhantomZ/mm << " mm position = "
198  << fPhantomPosZ/mm << " mm:" << G4endl;
199  G4cout << " Absorb width= " << fAbsorberZ/mm << " mm position = "
200  << fAbsorberPosZ/mm << " mm:" << G4endl;
201  G4cout << " Absorb shift= " << shiftZPh/mm << " mm " << G4endl;
202  G4cout << " Target1 " << fTarget1Material->GetName() << G4endl;
203  G4cout << " Target2 " << fTarget2Material->GetName() << G4endl;
204  G4cout << " Phantom " << fAbsorberMaterial->GetName() << G4endl;
205  G4cout << "===================================================" << G4endl;
206 }
void SetShiftZ(G4double val)
Definition: PhantomSD.hh:69
static Histo * GetPointer()
int G4int
Definition: G4Types.hh:78
G4GLOB_DLL std::ostream G4cout
static const G4double factor
#define G4endl
Definition: G4ios.hh:61
double G4double
Definition: G4Types.hh:76
const G4String & GetName() const
Definition: G4Material.hh:178
static const double mm
Definition: G4SIunits.hh:114
Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadChromosome()

void DetectorConstruction::LoadChromosome ( const char *  filename,
G4VPhysicalVolume physiBox,
G4LogicalVolume logicBoxros 
)
private

Definition at line 112 of file examples/extended/medical/dna/wholeNuclearDNA/src/DetectorConstruction.cc.

115 {
116  ChromosomeParameterisation* cp = new ChromosomeParameterisation(filename);
117  new G4PVParameterised("box ros",
118  logicBoxros,
119  chromBox,
120  kUndefined,
121  cp->GetNumRosettes(),
122  cp);
123 
124  G4cout << filename << " done" << G4endl;
125 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
static const G4double cp
Here is the call graph for this function:

◆ LoadPDBfile()

void DetectorConstruction::LoadPDBfile ( G4String  fileName)

Definition at line 784 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

785 {
786  G4cout<<"Load PDB file : "<<fileName<<"."<<G4endl<<G4endl;
787  fPdbFileName=fileName;
788 #ifdef G4MULTITHREADED
791  );
793 #else
796  );
797 #endif
798 }
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
G4GLOB_DLL std::ostream G4cout
unsigned short int fChosenOption
Option for the visualisation.
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:

◆ MaterialWithSingleIsotope() [1/3]

G4Material * DetectorConstruction::MaterialWithSingleIsotope ( G4String  name,
G4String  symbol,
G4double  density,
G4int  Z,
G4int  A 
)

Definition at line 97 of file examples/extended/hadronic/Hadr03/src/DetectorConstruction.cc.

99 {
100  // define a material from an isotope
101  //
102  G4int ncomponents;
103  G4double abundance, massfraction;
104 
105  G4Isotope* isotope = new G4Isotope(symbol, Z, A);
106 
107  G4Element* element = new G4Element(name, symbol, ncomponents=1);
108  element->AddIsotope(isotope, abundance= 100.*perCent);
109 
110  G4Material* material = new G4Material(name, density, ncomponents=1);
111  material->AddElement(element, massfraction=100.*perCent);
112 
113  return material;
114 }
int G4int
Definition: G4Types.hh:78
string material
Definition: eplot.py:19
G4double density
Definition: TRTMaterials.hh:39
double A(double temperature)
Float_t Z
void AddIsotope(G4Isotope *isotope, G4double RelativeAbundance)
Definition: G4Element.cc:151
static const double perCent
Definition: G4SIunits.hh:329
void AddElement(G4Element *element, G4int nAtoms)
Definition: G4Material.cc:364
double G4double
Definition: G4Types.hh:76
Here is the call graph for this function:

◆ MaterialWithSingleIsotope() [2/3]

G4Material* DetectorConstruction::MaterialWithSingleIsotope ( G4String  ,
G4String  ,
G4double  ,
G4int  ,
G4int   
)

◆ MaterialWithSingleIsotope() [3/3]

G4Material* DetectorConstruction::MaterialWithSingleIsotope ( G4String  ,
G4String  ,
G4double  ,
G4int  ,
G4int   
)

◆ operator=() [1/6]

DetectorConstruction& DetectorConstruction::operator= ( const DetectorConstruction right)
private

◆ operator=() [2/6]

DetectorConstruction& DetectorConstruction::operator= ( const DetectorConstruction right)
private

◆ operator=() [3/6]

DetectorConstruction& DetectorConstruction::operator= ( const DetectorConstruction right)
private

◆ operator=() [4/6]

DetectorConstruction& DetectorConstruction::operator= ( const DetectorConstruction right)
private

◆ operator=() [5/6]

DetectorConstruction& DetectorConstruction::operator= ( const DetectorConstruction right)
private
Here is the caller graph for this function:

◆ operator=() [6/6]

DetectorConstruction& DetectorConstruction::operator= ( const DetectorConstruction right)
private

◆ OtherMaterial() [1/3]

G4Material* DetectorConstruction::OtherMaterial ( G4String  materialName)
private

◆ OtherMaterial() [2/3]

G4Material* DetectorConstruction::OtherMaterial ( G4String  materialName)
private

◆ OtherMaterial() [3/3]

G4Material * DetectorConstruction::OtherMaterial ( G4String  materialName)
private

Definition at line 73 of file examples/extended/medical/dna/chem1/src/DetectorConstruction.cc.

74 {
75  G4Material * material(0);
76 
77  // Water is defined from NIST material database
79  material = man->FindOrBuildMaterial(materialName);
80  /*
81  If one wishes to test other density value for water material,
82  one should use instead:
83  G4Material * H2O = man->BuildMaterialWithNewDensity(
84  "G4_WATER_MODIFIED",
85  "G4_WATER",1000*g/cm/cm/cm);
86  Note: any string for "G4_WATER_MODIFIED" parameter is accepted
87  and "G4_WATER" parameter should not be changed
88  Both materials are created and can be selected from dna.mac
89  */
90 
91  return material;
92 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
string material
Definition: eplot.py:19
Here is the call graph for this function:

◆ PlaceWithAxialRotations()

void DetectorConstruction::PlaceWithAxialRotations ( )
private

Definition at line 235 of file examples/extended/geometry/transforms/src/DetectorConstruction.cc.

236 {
237  G4double og = 3*cm;
238 
239  // 1st position (with first G4PVPlacement constructor)
240  //
241  G4double phi = 30*deg, theta = 90*deg;
243  rotm1.rotateY(theta);
244  rotm1.rotateZ(phi);
245  G4cout << "\n --> phi = " << phi/deg << " deg; direct rotation matrix : ";
246  rotm1.print(G4cout);
247  G4ThreeVector w = G4ThreeVector(std::cos(phi), std::sin(phi),0.);
248  G4ThreeVector position1 = og*w;
249  G4Transform3D transform1(rotm1,position1);
250 
251  new G4PVPlacement(transform1, //rotation,position
252  fTrdVolume, //logical volume
253  "Trd", //name
254  fWorldVolume, //mother volume
255  false, //no boolean operation
256  1); //copy number
257 
258  // 2nd position (with second G4PVPlacement constructor)
259  //
260  phi = phi + 90*deg;
261  //rotm2Inv could be calculated with rotm2.inverse()
262  //but also by the following :
263  G4RotationMatrix* rotm2Inv = new G4RotationMatrix();
264  rotm2Inv->rotateZ(-phi);
265  rotm2Inv->rotateY(-theta);
266  w = G4ThreeVector(std::cos(phi), std::sin(phi),0.);
267  G4ThreeVector position2 = og*w;
268 
269  new G4PVPlacement(rotm2Inv, //rotation
270  position2, //position
271  fTrdVolume, //logical volume
272  "Trd", //name
273  fWorldVolume, //mother volume
274  false, //no boolean operation
275  2); //copy number
276 }
static const double cm
Definition: G4SIunits.hh:118
CLHEP::Hep3Vector G4ThreeVector
CLHEP::HepRotation G4RotationMatrix
HepRotation & rotateY(double delta)
Definition: Rotation.cc:79
G4GLOB_DLL std::ostream G4cout
static const double deg
Definition: G4SIunits.hh:151
HepRotation & rotateZ(double delta)
Definition: Rotation.cc:92
double G4double
Definition: G4Types.hh:76
std::ostream & print(std::ostream &os) const
Definition: RotationIO.cc:21
Here is the call graph for this function:

◆ PlaceWithDirectMatrix()

void DetectorConstruction::PlaceWithDirectMatrix ( )
private

Definition at line 148 of file examples/extended/geometry/transforms/src/DetectorConstruction.cc.

149 {
150  G4double og = 3*cm;
151 
152  // 1st position
153  //
154  G4double phi = 30*deg;
155  // u, v, w are the daughter axes, projected on the mother frame
156  G4ThreeVector u = G4ThreeVector(0, 0, -1);
157  G4ThreeVector v = G4ThreeVector(-std::sin(phi), std::cos(phi),0.);
158  G4ThreeVector w = G4ThreeVector( std::cos(phi), std::sin(phi),0.);
159  G4RotationMatrix rotm1 = G4RotationMatrix(u, v, w);
160  G4cout << "\n --> phi = " << phi/deg << " deg; direct rotation matrix : ";
161  rotm1.print(G4cout);
162  G4ThreeVector position1 = og*w;
163  G4Transform3D transform1 = G4Transform3D(rotm1,position1);
164 
165  new G4PVPlacement(transform1, //position, rotation
166  fTrdVolume, //logical volume
167  "Trd", //name
168  fWorldVolume, //mother volume
169  false, //no boolean operation
170  1); //copy number
171 
172  // 2nd position
173  //
174  phi = phi + 90*deg;
175  v = G4ThreeVector(-std::sin(phi), std::cos(phi),0.);
176  w = G4ThreeVector( std::cos(phi), std::sin(phi),0.);
177  G4RotationMatrix rotm2 = G4RotationMatrix(u, v, w);
178  G4ThreeVector position2 = og*w;
179  G4Transform3D transform2 = G4Transform3D(rotm2,position2);
180  new G4PVPlacement(transform2, //position, rotation
181  fTrdVolume, //logical volume
182  "Trd", //name
183  fWorldVolume, //mother volume
184  false, //no boolean operation
185  1); //copy number
186 }
static const double cm
Definition: G4SIunits.hh:118
CLHEP::Hep3Vector G4ThreeVector
CLHEP::HepRotation G4RotationMatrix
G4GLOB_DLL std::ostream G4cout
static const double deg
Definition: G4SIunits.hh:151
HepGeom::Transform3D G4Transform3D
double G4double
Definition: G4Types.hh:76
std::ostream & print(std::ostream &os) const
Definition: RotationIO.cc:21
Here is the call graph for this function:

◆ PlaceWithEulerAngles()

void DetectorConstruction::PlaceWithEulerAngles ( )
private

Definition at line 280 of file examples/extended/geometry/transforms/src/DetectorConstruction.cc.

281 {
282  //definitions : mother frame = {x,y,z} ; daughter frame = {u,v,w}
283  // n = node line = intercept of xy and uv planes
284  // phi_euler = (x,n) : precession
285  // theta_euler = (z,w) : nutation
286  // psi_euler = (n,u) : proper rotation
287 
288  G4double og = 3*cm;
289 
290  // 1st position (with first G4PVPlacement constructor)
291  //
292  G4double phi = 30*deg;
293  G4double phi_euler = phi + pi/2;
294  G4double theta_euler = 90*deg;
295  G4double psi_euler = -90*deg;
296  //attention : clhep Euler constructor build inverse matrix !
297  G4RotationMatrix rotm1Inv = G4RotationMatrix(phi_euler,theta_euler,psi_euler);
298  G4RotationMatrix rotm1 = rotm1Inv.inverse();
299  //remark : could be built as rotm1 = G4RotationMatrix(-psi, -theta, -phi)
300  G4cout << "\n --> phi = " << phi/deg << " deg; direct rotation matrix : ";
301  rotm1.print(G4cout);
302  G4ThreeVector w = G4ThreeVector(std::cos(phi), std::sin(phi),0.);
303  G4ThreeVector position1 = og*w;
304  G4Transform3D transform1 = G4Transform3D(rotm1,position1);
305 
306  new G4PVPlacement(transform1, //position, rotation
307  fTrdVolume, //logical volume
308  "Trd", //name
309  fWorldVolume, //mother volume
310  false, //no boolean operation
311  1); //copy number
312 
313  // 2nd position (with second G4PVPlacement constructor)
314  //
315  phi = phi + 90*deg;
316 
317  phi_euler = phi + pi/2;
318  G4RotationMatrix* rotm2Inv
319  = new G4RotationMatrix(phi_euler,theta_euler,psi_euler);
320  w = G4ThreeVector(std::cos(phi), std::sin(phi),0.);
321  G4ThreeVector position2 = og*w;
322 
323  new G4PVPlacement(rotm2Inv, //rotation
324  position2, //position
325  fTrdVolume, //logical volume
326  "Trd", //name
327  fWorldVolume, //mother volume
328  false, //no boolean operation
329  2); //copy number
330 }
static const double cm
Definition: G4SIunits.hh:118
CLHEP::Hep3Vector G4ThreeVector
CLHEP::HepRotation G4RotationMatrix
G4GLOB_DLL std::ostream G4cout
static const double deg
Definition: G4SIunits.hh:151
HepGeom::Transform3D G4Transform3D
static const double pi
Definition: G4SIunits.hh:74
HepRotation inverse() const
double G4double
Definition: G4Types.hh:76
std::ostream & print(std::ostream &os) const
Definition: RotationIO.cc:21
Here is the call graph for this function:

◆ PlaceWithInverseMatrix()

void DetectorConstruction::PlaceWithInverseMatrix ( )
private

Definition at line 190 of file examples/extended/geometry/transforms/src/DetectorConstruction.cc.

191 {
192  G4double og = 3*cm;
193 
194  // 1st position
195  //
196  G4double phi = 30*deg;
197  // u, v, w are the daughter axes, projected on the mother frame
198  G4ThreeVector u = G4ThreeVector(0, 0, -1);
199  G4ThreeVector v = G4ThreeVector(-std::sin(phi), std::cos(phi),0.);
200  G4ThreeVector w = G4ThreeVector( std::cos(phi), std::sin(phi),0.);
201  G4RotationMatrix rotm1 = G4RotationMatrix(u, v, w);
202  G4RotationMatrix* rotm1Inv = new G4RotationMatrix(rotm1.inverse());
203  G4cout << "\n --> phi = " << phi/deg << " deg; inverse rotation matrix : ";
204  rotm1Inv->print(G4cout);
205  G4ThreeVector position1 = og*w;
206 
207  new G4PVPlacement(rotm1Inv,
208  position1,
209  fTrdVolume, //logical volume
210  "Trd", //name
211  fWorldVolume, //mother volume
212  false, //no boolean operation
213  1); //copy number
214 
215  // 2nd position
216  //
217  phi = phi + 90*deg;
218  v = G4ThreeVector(-std::sin(phi), std::cos(phi),0.);
219  w = G4ThreeVector( std::cos(phi), std::sin(phi),0.);
220  G4RotationMatrix rotm2 = G4RotationMatrix(u, v, w);
221  G4RotationMatrix* rotm2Inv = new G4RotationMatrix(rotm2.inverse());
222  G4ThreeVector position2 = og*w;
223 
224  new G4PVPlacement(rotm2Inv, //rotation
225  position2, //position
226  fTrdVolume, //logical volume
227  "Trd", //name
228  fWorldVolume, //mother volume
229  false, //no boolean operation
230  2); //copy number
231 }
static const double cm
Definition: G4SIunits.hh:118
CLHEP::Hep3Vector G4ThreeVector
CLHEP::HepRotation G4RotationMatrix
G4GLOB_DLL std::ostream G4cout
static const double deg
Definition: G4SIunits.hh:151
HepRotation inverse() const
double G4double
Definition: G4Types.hh:76
std::ostream & print(std::ostream &os) const
Definition: RotationIO.cc:21
Here is the call graph for this function:

◆ PlaceWithReflections()

void DetectorConstruction::PlaceWithReflections ( )
private

Placement with reflcetions. In order to better show the reflection symmetry we do not apply the rotation along Y axis.

Definition at line 334 of file examples/extended/geometry/transforms/src/DetectorConstruction.cc.

335 {
339 
340  G4double og = 3*cm;
341 
342  // Place first two positionz in z = - 3cm
343  //
344 
345  // 1st position
346  G4double phi = 30*deg;
347  G4RotationMatrix rotm1;
348  //rotm1.rotateY(90*deg);
349  rotm1.rotateZ(phi);
350  G4ThreeVector uz = G4ThreeVector(std::cos(phi), std::sin(phi), 0);
351  G4ThreeVector position = og*uz;
352  G4Transform3D transform1(rotm1,position);
353  G4Transform3D translateZ = HepGeom::Translate3D(0, 0, -3.*cm);
354 
355  new G4PVPlacement(translateZ * transform1, //rotation,position
356  fTrdVolume, //logical volume
357  "Trd", //name
358  fWorldVolume, //mother volume
359  false, //no boolean operation
360  1); //copy number
361 
362  // 2nd position
363  phi = phi + pi/2 ;
364  G4RotationMatrix rotm2;
365  //rotm2.rotateY(90*deg);
366  rotm2.rotateZ(phi);
367  uz = G4ThreeVector(std::cos(phi), std::sin(phi), 0.);
368  position = og*uz;
369  G4Transform3D transform2 = G4Transform3D(rotm2, position);
370 
371  new G4PVPlacement(translateZ * transform2, //rotation, position
372  fTrdVolume, //logical volume
373  "Trd", //name
374  fWorldVolume, //mother volume
375  false, //no boolean operation
376  2); //copy number
377 
378 
379  // Place next two positionz in z = + 3cm with reflection
380  //
381 
382  // 3rd position
383  translateZ = HepGeom::Translate3D(0, 0, +3.*cm);
384  G4Transform3D reflect3D = HepGeom::ReflectZ3D();
385 
387  ->Place(translateZ * transform1 * reflect3D, //rotation,position
388  "Trd", //name
389  fTrdVolume, //logical volume
390  fWorldVolume, //mother volume
391  false, //no boolean operation
392  3); //copy number
393 
394  // 4rd position
396  ->Place( translateZ * transform2 * reflect3D,//rotation,position
397  "Trd", //name
398  fTrdVolume, //logical volume
399  fWorldVolume, //mother volume
400  false, //no boolean operation
401  4); //copy number
402 }
static const double cm
Definition: G4SIunits.hh:118
CLHEP::Hep3Vector G4ThreeVector
static G4ReflectionFactory * Instance()
G4PhysicalVolumesPair Place(const G4Transform3D &transform3D, const G4String &name, G4LogicalVolume *LV, G4LogicalVolume *motherLV, G4bool isMany, G4int copyNo, G4bool surfCheck=false)
static const double deg
Definition: G4SIunits.hh:151
HepGeom::Transform3D G4Transform3D
static const double pi
Definition: G4SIunits.hh:74
HepRotation & rotateZ(double delta)
Definition: Rotation.cc:92
double G4double
Definition: G4Types.hh:76
Here is the call graph for this function:

◆ PrintCalorParameters() [1/7]

void DetectorConstruction::PrintCalorParameters ( )

Definition at line 318 of file examples/advanced/amsEcal/src/DetectorConstruction.cc.

319 {
320  G4cout << "\n-------------------------------------------------------------"
321  << "\n ---> The calorimeter is " << nbOfModules << " Modules"
322  << "\n ---> A Module is " << nbOfLayers << " Layers + 1 milled Layer";
323 
324  G4cout
325  << "\n ---> A Layer is " << G4BestUnit(layerThickness,"Length")
326  << " thickness of " << absorberMat->GetName();
327 
328  G4cout
329  << "\n ---> A Layer includes " << nbOfFibers << " fibers of "
330  << fiberMat->GetName();
331 
332  G4cout
333  << "\n ---> diameter : " << G4BestUnit(fiberDiameter,"Length")
334  << "\n ---> length : " << G4BestUnit(fiberLength,"Length")
335  << "\n ---> distance : " << G4BestUnit(distanceInterFibers,"Length");
336 
337  G4cout
338  << "\n ---> The milled Layer is " << G4BestUnit(milledLayer,"Length")
339  << " thickness of " << absorberMat->GetName();
340 
341  G4cout
342  << "\n\n ---> Module thickness " << G4BestUnit(moduleThickness,"Length");
343 
344  G4cout
345  << "\n\n ---> Total calor thickness " << G4BestUnit(calorThickness,"Length")
346  << "\n Tranverse size " << G4BestUnit(fiberLength,"Length");
347 
348  G4cout << "\n-------------------------------------------------------------\n";
349  G4cout << G4endl;
350 }
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
const G4String & GetName() const
Definition: G4Material.hh:178
Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintCalorParameters() [2/7]

void DetectorConstruction::PrintCalorParameters ( )

◆ PrintCalorParameters() [3/7]

void DetectorConstruction::PrintCalorParameters ( )

◆ PrintCalorParameters() [4/7]

void DetectorConstruction::PrintCalorParameters ( )

◆ PrintCalorParameters() [5/7]

void DetectorConstruction::PrintCalorParameters ( )

◆ PrintCalorParameters() [6/7]

void DetectorConstruction::PrintCalorParameters ( )

◆ PrintCalorParameters() [7/7]

void DetectorConstruction::PrintCalorParameters ( )

◆ PrintDetectorParameters()

void DetectorConstruction::PrintDetectorParameters ( )

◆ PrintGeometry()

void DetectorConstruction::PrintGeometry ( )

Definition at line 449 of file examples/extended/medical/electronScattering/src/DetectorConstruction.cc.

450 {
451 
452  // choose printing format
453  std::ios::fmtflags mode = G4cout.flags();
454  G4cout.setf(std::ios::fixed,std::ios::floatfield);
455  G4int prec = G4cout.precision(6);
456 
457  G4cout << "\n \t \t" << "Material \t" << "Z_front \t" << "Thickness \n";
458 
459  G4cout << "\n ExitWindow \t" << fMaterial_ExitWindow->GetName()
460  << "\t" << G4BestUnit(fZfront_ExitWindow,"Length")
461  << "\t" << G4BestUnit(fThickness_ExitWindow,"Length");
462 
464  G4cout << "\n ScatterFoil \t" << fMaterial_ScatterFoil->GetName() << "\t"
465  << "\t" << G4BestUnit(fZfront_ScatterFoil,"Length")
466  << "\t" << G4BestUnit(fThickness_ScatterFoil,"Length");
467  }
468 
469  G4cout << "\n MonitorChbr \t" << fMaterial_MonitorChbr->GetName() << "\t"
470  << "\t" << G4BestUnit(fZfront_MonitorChbr,"Length")
471  << "\t" << G4BestUnit(fThickness_MonitorChbr,"Length");
472 
473  G4double thickBagWindow = 0.5*(fThickness_Bag - fThickness_Gas);
474  G4double zfrontGas = fZfront_Bag + thickBagWindow;
475  G4double zfrontBagWindow2 = zfrontGas + fThickness_Gas;
476 
477  G4cout << "\n BagWindow1 \t" << fMaterial_Bag->GetName() << "\t"
478  << "\t" << G4BestUnit(fZfront_Bag,"Length")
479  << "\t" << G4BestUnit(thickBagWindow,"Length");
480 
481  G4cout << "\n Gas \t" << fMaterial_Gas->GetName() << "\t"
482  << "\t" << G4BestUnit(zfrontGas,"Length")
483  << "\t" << G4BestUnit(fThickness_Gas,"Length");
484 
485  G4cout << "\n BagWindow2 \t" << fMaterial_Bag->GetName() << "\t"
486  << "\t" << G4BestUnit(zfrontBagWindow2,"Length")
487  << "\t" << G4BestUnit(thickBagWindow,"Length");
488 
489  G4cout << "\n ScoringPlane \t" << fMaterial_Frame->GetName() << "\t"
490  << "\t" << G4BestUnit(fThickness_Frame,"Length") << "\n" << G4endl;
491 
492  // restaure default formats
493  G4cout.setf(mode,std::ios::floatfield);
494  G4cout.precision(prec);
495 }
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
int G4int
Definition: G4Types.hh:78
static const double prec
Definition: RanecuEngine.cc:58
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
double G4double
Definition: G4Types.hh:76
const G4String & GetName() const
Definition: G4Material.hh:178
Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintParameters() [1/25]

void DetectorConstruction::PrintParameters ( )
private

◆ PrintParameters() [2/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [3/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [4/25]

void DetectorConstruction::PrintParameters ( )

Definition at line 173 of file environments/g4py/examples/demos/TestEm0/module/DetectorConstruction.cc.

174 {
175  G4cout << "\n The Box is " << G4BestUnit(BoxSize,"Length")
176  << " of " << aMaterial->GetName() << G4endl;
177 }
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
const G4String & GetName() const
Definition: G4Material.hh:178
Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintParameters() [5/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [6/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [7/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [8/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [9/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [10/25]

void DetectorConstruction::PrintParameters ( ) const

◆ PrintParameters() [11/25]

void DetectorConstruction::PrintParameters ( ) const

◆ PrintParameters() [12/25]

void DetectorConstruction::PrintParameters ( ) const

Definition at line 138 of file examples/extended/medical/dna/range/src/DetectorConstruction.cc.

139 {
140  G4cout << "\n---------------------------------------------------------\n";
141  G4cout << "---> The tracking cut to all particles is set to "
142  << G4BestUnit(fTrackingCut,"Energy") << G4endl;
143  G4cout << "---> The Absorber is a sphere of "
144  << G4BestUnit(fAbsorRadius,"Length") << " radius of "
145  << fAbsorMaterial->GetName() << " made of"
146  << "\n \n" << fAbsorMaterial << G4endl;
147  G4cout << "\n---------------------------------------------------------\n";
148 }
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
const G4String & GetName() const
Definition: G4Material.hh:178
Here is the call graph for this function:

◆ PrintParameters() [13/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [14/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [15/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [16/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [17/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [18/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [19/25]

void DetectorConstruction::PrintParameters ( )
private

◆ PrintParameters() [20/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [21/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [22/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [23/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [24/25]

void DetectorConstruction::PrintParameters ( )

◆ PrintParameters() [25/25]

void DetectorConstruction::PrintParameters ( )

◆ ResiduesView()

void DetectorConstruction::ResiduesView ( G4LogicalVolume worldLV,
Barycenter barycenterListTemp 
)
private

Definition at line 551 of file examples/extended/medical/dna/pdb4dna/src/DetectorConstruction.cc.

553 {
554  CheckMaterials();
555  G4VisAttributes* MyVisAtt_ZZ;
556 
557  G4VSolid* tubS1_ZZ;
558  G4LogicalVolume* tubLV1_ZZ;
559  G4VSolid* tubS2_ZZ;
560  G4LogicalVolume* tubLV2_ZZ;
561 
562  G4VSolid* AS_ZZ;
563  G4LogicalVolume* ALV_ZZ;
564  G4VSolid* BS_ZZ;
565  G4LogicalVolume* BLV_ZZ;
566  G4VSolid* CS_ZZ;
567  G4LogicalVolume* CLV_ZZ;
568 
569  int k=0;
570 
571  while (barycenterListTemp)
572  {
573  k++;
574 
575  //3 spheres to Base, Sugar, Phosphate)
576  AS_ZZ = new G4Orb("Sphere", 1.*angstrom);
577  ALV_ZZ = new G4LogicalVolume(AS_ZZ,fpWaterMaterial, "ALV_ZZ");
578  MyVisAtt_ZZ = new G4VisAttributes(G4Colour(G4Colour::Blue()));
579  MyVisAtt_ZZ->SetForceSolid(true);
580  ALV_ZZ->SetVisAttributes(MyVisAtt_ZZ);
581  new G4PVPlacement(0,
582  G4ThreeVector(barycenterListTemp->fCenterBaseX*angstrom,
583  barycenterListTemp->fCenterBaseY*angstrom,
584  barycenterListTemp->fCenterBaseZ*angstrom),
585  ALV_ZZ,
586  "AZZ",
587  worldLV,
588  false,
589  0,
591 
592  BS_ZZ = new G4Orb("Sphere", 1.*angstrom);
593  BLV_ZZ = new G4LogicalVolume(BS_ZZ,fpWaterMaterial, "BLV_ZZ");
594  MyVisAtt_ZZ = new G4VisAttributes(G4Colour(G4Colour::Red()));
595  MyVisAtt_ZZ->SetForceSolid(true);
596  BLV_ZZ->SetVisAttributes(MyVisAtt_ZZ);
597  new G4PVPlacement(0,
599  (barycenterListTemp->fCenterPhosphateX)*angstrom,
600  (barycenterListTemp->fCenterPhosphateY)*angstrom,
601  (barycenterListTemp->fCenterPhosphateZ)*angstrom),
602  BLV_ZZ,
603  "BZZ",
604  worldLV,
605  false,
606  0,
608 
609  CS_ZZ = new G4Orb("Sphere", 1.*angstrom);
610  CLV_ZZ = new G4LogicalVolume(CS_ZZ,fpWaterMaterial, "CLV_ZZ");
611  MyVisAtt_ZZ = new G4VisAttributes(G4Colour(G4Colour::Yellow()));
612  MyVisAtt_ZZ->SetForceSolid(true);
613  CLV_ZZ->SetVisAttributes(MyVisAtt_ZZ);
614  new G4PVPlacement(0,
616  barycenterListTemp->fCenterSugarX*angstrom,
617  barycenterListTemp->fCenterSugarY*angstrom,
618  barycenterListTemp->fCenterSugarZ*angstrom),
619  CLV_ZZ,
620  "CZZ",
621  worldLV,
622  false,
623  0,
625 
626  //2 cylinders (Base<=>Sugar and Sugar<=>Phosphat)
627  // Cylinder Base<=>Sugar
628  tubS1_ZZ = new G4Tubs( "Cylinder",
629  0.,
630  0.5*angstrom,
631  std::sqrt (
632  (barycenterListTemp->fCenterBaseX-barycenterListTemp->fCenterSugarX)
633  * (barycenterListTemp->fCenterBaseX-barycenterListTemp->fCenterSugarX)
634  + (barycenterListTemp->fCenterBaseY-barycenterListTemp->fCenterSugarY)
635  * (barycenterListTemp->fCenterBaseY-barycenterListTemp->fCenterSugarY)
636  + (barycenterListTemp->fCenterBaseZ-barycenterListTemp->fCenterSugarZ)
637  * (barycenterListTemp->fCenterBaseZ-barycenterListTemp->fCenterSugarZ)
638  ) /2 *angstrom,
639  0.,
640  2.*pi );
641 
642  tubLV1_ZZ = new G4LogicalVolume(tubS1_ZZ,fpWaterMaterial, "tubLV_ZZ");
643  MyVisAtt_ZZ = new G4VisAttributes(G4Colour(G4Colour::Green()));
644  MyVisAtt_ZZ->SetForceSolid(true);
645  tubLV1_ZZ->SetVisAttributes(MyVisAtt_ZZ);
646 
647  G4double Ux= barycenterListTemp->fCenterBaseX-
648  barycenterListTemp->fCenterSugarX;
649  G4double Uy= barycenterListTemp->fCenterBaseY-
650  barycenterListTemp->fCenterSugarY;
651  G4double Uz= barycenterListTemp->fCenterBaseZ-
652  barycenterListTemp->fCenterSugarZ;
653  G4double llUll=std::sqrt(Ux*Ux+Uy*Uy+Uz*Uz);
654 
655  Ux=Ux/llUll;
656  Uy=Uy/llUll;
657  Uz=Uz/llUll;
658 
659  G4ThreeVector direction = G4ThreeVector(Ux,Uy,Uz);
660  G4double theta_euler = direction.theta();
661  G4double phi_euler = direction.phi();
662  G4double psi_euler = 0;
663 
664  //Warning : clhep Euler constructor build inverse matrix !
665  G4RotationMatrix rotm1Inv = G4RotationMatrix(phi_euler+pi/2,
666  theta_euler,
667  psi_euler);
668  G4RotationMatrix rotm1 = rotm1Inv.inverse();
669  G4ThreeVector translm1 = G4ThreeVector(
670  (barycenterListTemp->fCenterBaseX+barycenterListTemp->fCenterSugarX)/2.
671  *angstrom,
672  (barycenterListTemp->fCenterBaseY+barycenterListTemp->fCenterSugarY)/2.
673  *angstrom,
674  (barycenterListTemp->fCenterBaseZ+barycenterListTemp->fCenterSugarZ)/2.
675  *angstrom);
676  G4Transform3D transform1 = G4Transform3D(rotm1,translm1);
677  new G4PVPlacement(transform1, // rotation translation
678  tubLV1_ZZ,"atomZZ",worldLV,false, 0, fCheckOverlaps);
679 
680  //Cylinder Sugar<=>Phosphat
681  tubS2_ZZ = new G4Tubs( "Cylinder2",
682  0.,
683  0.5*angstrom,
684  std::sqrt (
685  (barycenterListTemp->fCenterSugarX-barycenterListTemp->fCenterPhosphateX)
686  * (barycenterListTemp->fCenterSugarX-barycenterListTemp->fCenterPhosphateX)
687  + (barycenterListTemp->fCenterSugarY-barycenterListTemp->fCenterPhosphateY)
688  * (barycenterListTemp->fCenterSugarY-barycenterListTemp->fCenterPhosphateY)
689  + (barycenterListTemp->fCenterSugarZ-barycenterListTemp->fCenterPhosphateZ)
690  * (barycenterListTemp->fCenterSugarZ-barycenterListTemp->fCenterPhosphateZ)
691  ) /2 *angstrom,
692  0.,
693  2.*pi );
694 
695  tubLV2_ZZ = new G4LogicalVolume(tubS2_ZZ, fpWaterMaterial, "tubLV2_ZZ");
696  MyVisAtt_ZZ = new G4VisAttributes(G4Colour(1,0.5,0));
697  MyVisAtt_ZZ->SetForceSolid(true);
698  tubLV2_ZZ->SetVisAttributes(MyVisAtt_ZZ);
699 
700  Ux= barycenterListTemp->fCenterSugarX-
701  barycenterListTemp->fCenterPhosphateX;
702  Uy= barycenterListTemp->fCenterSugarY-
703  barycenterListTemp->fCenterPhosphateY;
704  Uz= barycenterListTemp->fCenterSugarZ-
705  barycenterListTemp->fCenterPhosphateZ;
706  llUll=std::sqrt(Ux*Ux+Uy*Uy+Uz*Uz);
707 
708  Ux=Ux/llUll;
709  Uy=Uy/llUll;
710  Uz=Uz/llUll;
711 
712  direction = G4ThreeVector(Ux,Uy,Uz);
713  theta_euler = direction.theta();
714  phi_euler = direction.phi();
715  psi_euler = 0;
716 
717  //Warning : clhep Euler constructor build inverse matrix !
718  rotm1Inv = G4RotationMatrix(phi_euler+pi/2,theta_euler,psi_euler);
719  rotm1 = rotm1Inv.inverse();
720  translm1 = G4ThreeVector(
721  (barycenterListTemp->fCenterSugarX+
722  barycenterListTemp->fCenterPhosphateX)/2.*angstrom,
723  (barycenterListTemp->fCenterSugarY+
724  barycenterListTemp->fCenterPhosphateY)/2.*angstrom,
725  (barycenterListTemp->fCenterSugarZ+
726  barycenterListTemp->fCenterPhosphateZ)/2.*angstrom);
727  transform1 = G4Transform3D(rotm1,translm1);
728  new G4PVPlacement(transform1, // rotation translation
729  tubLV2_ZZ,
730  "atomZZ",
731  worldLV,
732  false,
733  0,
735 
736  barycenterListTemp=barycenterListTemp->GetNext();
737  }//end of while sur moleculeListTemp
738 }
double fCenterBaseX
"X coordinate" of this Base Barycenter
double fCenterPhosphateZ
"Z coordinate" of this Phosphate Barycenter
double fCenterPhosphateX
"X coordinate" of this Phosphate Barycenter
double fCenterPhosphateY
"Y coordinate" of this Phosphate Barycenter
double phi() const
CLHEP::Hep3Vector G4ThreeVector
CLHEP::HepRotation G4RotationMatrix
static G4Colour Green()
Definition: G4Colour.hh:149
double fCenterSugarX
"X coordinate" of this Sugar Barycenter
Definition: G4Tubs.hh:85
double fCenterSugarY
"Y coordinate" of this Sugar Barycenter
void SetForceSolid(G4bool)
double fCenterBaseZ
"Z coordinate" of this Base Barycenter
double theta() const
double fCenterSugarZ
"Z coordinate" of this Sugar Barycenter
HepGeom::Transform3D G4Transform3D
static G4Colour Blue()
Definition: G4Colour.hh:150
Definition: G4Orb.hh:61
Barycenter * GetNext()
Get the next Barycenter.
static const double pi
Definition: G4SIunits.hh:74
double fCenterBaseY
"Y coordinate" of this Base Barycenter
static G4Colour Red()
Definition: G4Colour.hh:148
HepRotation inverse() const
double G4double
Definition: G4Types.hh:76
static G4Colour Yellow()
Definition: G4Colour.hh:153
void SetVisAttributes(const G4VisAttributes *pVA)
static const double angstrom
Definition: G4SIunits.hh:101
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetAbsLength()

void DetectorConstruction::SetAbsLength ( G4double  val)

Definition at line 446 of file examples/extended/electromagnetic/TestEm9/src/DetectorConstruction.cc.

447 {
448  if(val > 0.0) {
449  fAbsLength = val;
451  }
452 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:

◆ SetAbsMaterial()

void DetectorConstruction::SetAbsMaterial ( const G4String mat)

Definition at line 369 of file examples/extended/electromagnetic/TestEm9/src/DetectorConstruction.cc.

370 {
371  // search the material by its name
372  G4Material* pttoMaterial =
374  if (pttoMaterial && pttoMaterial != fAbsMaterial) {
375  fAbsMaterial = pttoMaterial;
376  if(fLogicA1) {
382  }
383  }
384 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
void SetMaterial(G4Material *pMaterial)
Here is the call graph for this function:

◆ SetAbsorberMaterial() [1/5]

void DetectorConstruction::SetAbsorberMaterial ( G4String  )

◆ SetAbsorberMaterial() [2/5]

void DetectorConstruction::SetAbsorberMaterial ( G4String  )

◆ SetAbsorberMaterial() [3/5]

void DetectorConstruction::SetAbsorberMaterial ( G4String  materialChoice)

Definition at line 271 of file examples/extended/analysis/AnaEx01/shared/src/DetectorConstruction.cc.

272 {
273  // search the material by its name
274  G4Material* pttoMaterial =
275  G4NistManager::Instance()->FindOrBuildMaterial(materialChoice);
276  if (pttoMaterial)
277  {
278  fAbsorberMaterial = pttoMaterial;
279  if ( fLogicAbsorber )
280  {
283  }
284  }
285 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
void SetMaterial(G4Material *pMaterial)
Here is the call graph for this function:

◆ SetAbsorberMaterial() [4/5]

void DetectorConstruction::SetAbsorberMaterial ( G4String  )

◆ SetAbsorberMaterial() [5/5]

void DetectorConstruction::SetAbsorberMaterial ( G4String  )

◆ SetAbsorberShiftZ()

void DetectorConstruction::SetAbsorberShiftZ ( G4double  val)
inline

Definition at line 87 of file examples/extended/medical/GammaTherapy/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ SetAbsorberSizeYZ()

void DetectorConstruction::SetAbsorberSizeYZ ( G4double  val)

Definition at line 382 of file examples/extended/electromagnetic/TestEm5/src/DetectorConstruction.cc.

Here is the call graph for this function:

◆ SetAbsorberThickness() [1/5]

void DetectorConstruction::SetAbsorberThickness ( G4double  )

◆ SetAbsorberThickness() [2/5]

void DetectorConstruction::SetAbsorberThickness ( G4double  val)

Definition at line 307 of file examples/extended/analysis/AnaEx01/shared/src/DetectorConstruction.cc.

308 {
309  // change Absorber thickness and recompute the calorimeter parameters
310  fAbsorberThickness = val;
312 }
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetAbsorberThickness() [3/5]

void DetectorConstruction::SetAbsorberThickness ( G4double  )

◆ SetAbsorberThickness() [4/5]

void DetectorConstruction::SetAbsorberThickness ( G4double  )

◆ SetAbsorberThickness() [5/5]

void DetectorConstruction::SetAbsorberThickness ( G4double  )

◆ SetAbsorberXpos()

void DetectorConstruction::SetAbsorberXpos ( G4double  val)

Definition at line 411 of file examples/extended/electromagnetic/TestEm5/src/DetectorConstruction.cc.

Here is the call graph for this function:

◆ SetAbsorberZ()

void DetectorConstruction::SetAbsorberZ ( G4double  val)
inline

Definition at line 85 of file examples/extended/medical/GammaTherapy/include/DetectorConstruction.hh.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetAbsorMaterial() [1/2]

void DetectorConstruction::SetAbsorMaterial ( G4int  iabs,
const G4String material 
)

Definition at line 275 of file examples/extended/electromagnetic/TestEm11/src/DetectorConstruction.cc.

276 {
277  // search the material by its name
278  //
279  if (iabs > fNbOfAbsor || iabs <= 0)
280  { G4cout << "\n --->warning from SetfAbsorMaterial: absor number "
281  << iabs << " out of range. Command refused" << G4endl;
282  return;
283  }
284 
285  G4Material* pttoMaterial =
287  if (pttoMaterial) {
288  fAbsorMaterial[iabs] = pttoMaterial;
290  }
291 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
G4GLOB_DLL std::ostream G4cout
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetAbsorMaterial() [2/2]

void DetectorConstruction::SetAbsorMaterial ( G4int  ,
const G4String  
)

◆ SetAbsorSizeYZ()

void DetectorConstruction::SetAbsorSizeYZ ( G4double  val)

Definition at line 315 of file examples/extended/electromagnetic/TestEm11/src/DetectorConstruction.cc.

316 {
317  // change the transverse size
318  //
319  if (val <= DBL_MIN)
320  { G4cout << "\n --->warning from SetfAbsorSizeYZ: thickness "
321  << val << " out of range. Command refused" << G4endl;
322  return;
323  }
324  fAbsorSizeYZ = val;
326 }
G4GLOB_DLL std::ostream G4cout
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define DBL_MIN
Definition: templates.hh:75
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:

◆ SetAbsorThickness() [1/2]

void DetectorConstruction::SetAbsorThickness ( G4int  iabs,
G4double  val 
)

Definition at line 295 of file examples/extended/electromagnetic/TestEm11/src/DetectorConstruction.cc.

296 {
297  // change Absorber thickness
298  //
299  if (iabs > fNbOfAbsor || iabs <= 0)
300  { G4cout << "\n --->warning from SetfAbsorThickness: absor number "
301  << iabs << " out of range. Command refused" << G4endl;
302  return;
303  }
304  if (val <= DBL_MIN)
305  { G4cout << "\n --->warning from SetfAbsorThickness: thickness "
306  << val << " out of range. Command refused" << G4endl;
307  return;
308  }
309  fAbsorThickness[iabs] = val;
311 }
G4GLOB_DLL std::ostream G4cout
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define DBL_MIN
Definition: templates.hh:75
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetAbsorThickness() [2/2]

void DetectorConstruction::SetAbsorThickness ( G4int  ,
G4double   
)

◆ SetCalorSizeYZ() [1/5]

void DetectorConstruction::SetCalorSizeYZ ( G4double  val)

Definition at line 325 of file examples/extended/analysis/AnaEx01/shared/src/DetectorConstruction.cc.

326 {
327  // change the transverse size and recompute the calorimeter parameters
328  fCalorSizeYZ = val;
330 }
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetCalorSizeYZ() [2/5]

void DetectorConstruction::SetCalorSizeYZ ( G4double  )

◆ SetCalorSizeYZ() [3/5]

void DetectorConstruction::SetCalorSizeYZ ( G4double  )

◆ SetCalorSizeYZ() [4/5]

void DetectorConstruction::SetCalorSizeYZ ( G4double  )

◆ SetCalorSizeYZ() [5/5]

void DetectorConstruction::SetCalorSizeYZ ( G4double  )

◆ SetCavityMaterial()

void DetectorConstruction::SetCavityMaterial ( G4String  materialChoice)

Definition at line 231 of file examples/extended/medical/fanoCavity/src/DetectorConstruction.cc.

232 {
233  // search the material by its name
234  G4Material* pttoMaterial = G4Material::GetMaterial(materialChoice);
235  if (pttoMaterial) fCavityMaterial = pttoMaterial;
236 }
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
Definition: G4Material.cc:604
Here is the call graph for this function:

◆ SetCavityRadius()

void DetectorConstruction::SetCavityRadius ( G4double  value)

◆ SetCavityThickness() [1/2]

void DetectorConstruction::SetCavityThickness ( G4double  value)

◆ SetCavityThickness() [2/2]

void DetectorConstruction::SetCavityThickness ( G4double  )

◆ SetCheckShiftZ()

void DetectorConstruction::SetCheckShiftZ ( G4double  val)
inline

Definition at line 83 of file examples/extended/medical/GammaTherapy/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ SetCoef()

void DetectorConstruction::SetCoef ( G4int  val)

Definition at line 286 of file examples/advanced/nanobeam/src/DetectorConstruction.cc.

Here is the caller graph for this function:

◆ SetContainerMaterial()

void DetectorConstruction::SetContainerMaterial ( const G4String name)

Definition at line 362 of file examples/extended/electromagnetic/TestEm8/src/DetectorConstruction.cc.

363 {
364  // get the pointer to the existing material
365  G4Material* mat = G4Material::GetMaterial(name, false);
366 
367  // create the material by its name
368  if(!mat) { mat = G4NistManager::Instance()->FindOrBuildMaterial(name); }
369 
370  if (mat && mat != fWindowMat) {
371  G4cout << "### New material for container: " << mat->GetName() << G4endl;
372  fWindowMat = mat;
373  if(fLogicContainer) {
376  }
377  }
378 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
Definition: G4Material.cc:604
static G4NistManager * Instance()
Float_t mat
G4GLOB_DLL std::ostream G4cout
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
const G4String & GetName() const
Definition: G4Material.hh:178
void SetMaterial(G4Material *pMaterial)
Here is the call graph for this function:

◆ SetContainerThickness()

void DetectorConstruction::SetContainerThickness ( G4double  val)

Definition at line 418 of file examples/extended/electromagnetic/TestEm8/src/DetectorConstruction.cc.

Here is the call graph for this function:

◆ SetDetectorLength()

void DetectorConstruction::SetDetectorLength ( G4double  value)

Definition at line 272 of file examples/extended/radioactivedecay/rdecay02/src/DetectorConstruction.cc.

273 {
274  fDetectorLength = value;
276 }
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:

◆ SetDetectorMaterial()

void DetectorConstruction::SetDetectorMaterial ( G4String  materialChoice)

Definition at line 230 of file examples/extended/radioactivedecay/rdecay02/src/DetectorConstruction.cc.

231 {
232  // search the material by its name
233  G4Material* pttoMaterial =
234  G4NistManager::Instance()->FindOrBuildMaterial(materialChoice);
235 
236  if (pttoMaterial) {
237  fDetectorMater = pttoMaterial;
240  } else {
241  G4cout << "\n--> warning from DetectorConstruction::SetDetectorMaterial : "
242  << materialChoice << " not found" << G4endl;
243  }
244 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
G4GLOB_DLL std::ostream G4cout
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
void SetMaterial(G4Material *pMaterial)
Here is the call graph for this function:

◆ SetDetectorThickness()

void DetectorConstruction::SetDetectorThickness ( G4double  value)

Definition at line 264 of file examples/extended/radioactivedecay/rdecay02/src/DetectorConstruction.cc.

265 {
266  fDetectorThickness = value;
268 }
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:

◆ SetEcalLength()

void DetectorConstruction::SetEcalLength ( G4double  val)

Definition at line 396 of file examples/extended/electromagnetic/TestEm9/src/DetectorConstruction.cc.

397 {
398  if(val > 0.0) {
399  fEcalLength = val;
401  }
402 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:

◆ SetEcalMaterial()

void DetectorConstruction::SetEcalMaterial ( const G4String mat)

Definition at line 353 of file examples/extended/electromagnetic/TestEm9/src/DetectorConstruction.cc.

354 {
355  // search the material by its name
356  G4Material* pttoMaterial =
358  if (pttoMaterial && pttoMaterial != fCalMaterial) {
359  fCalMaterial = pttoMaterial;
360  if(fLogicCal) {
363  }
364  }
365 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
void SetMaterial(G4Material *pMaterial)
Here is the call graph for this function:

◆ SetEcalWidth()

void DetectorConstruction::SetEcalWidth ( G4double  val)

Definition at line 406 of file examples/extended/electromagnetic/TestEm9/src/DetectorConstruction.cc.

407 {
408  if(val > 0.0) {
409  fEcalWidth = val;
411  }
412 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:

◆ SetG1()

void DetectorConstruction::SetG1 ( G4float  value)

◆ SetG2()

void DetectorConstruction::SetG2 ( G4float  value)

◆ SetG3()

void DetectorConstruction::SetG3 ( G4float  value)

◆ SetG4()

void DetectorConstruction::SetG4 ( G4float  value)

◆ SetGap()

void DetectorConstruction::SetGap ( G4double  val)
inline

Definition at line 75 of file examples/extended/medical/GammaTherapy/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ SetGapMaterial() [1/4]

void DetectorConstruction::SetGapMaterial ( G4String  )

◆ SetGapMaterial() [2/4]

void DetectorConstruction::SetGapMaterial ( G4String  )

◆ SetGapMaterial() [3/4]

void DetectorConstruction::SetGapMaterial ( G4String  materialChoice)

Definition at line 289 of file examples/extended/analysis/AnaEx01/shared/src/DetectorConstruction.cc.

290 {
291  // search the material by its name
292  G4Material* pttoMaterial =
293  G4NistManager::Instance()->FindOrBuildMaterial(materialChoice);
294  if (pttoMaterial)
295  {
296  fGapMaterial = pttoMaterial;
297  if ( fLogicGap )
298  {
301  }
302  }
303 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
void SetMaterial(G4Material *pMaterial)
Here is the call graph for this function:

◆ SetGapMaterial() [4/4]

void DetectorConstruction::SetGapMaterial ( G4String  )

◆ SetGapThickness() [1/4]

void DetectorConstruction::SetGapThickness ( G4double  val)

Definition at line 316 of file examples/extended/analysis/AnaEx01/shared/src/DetectorConstruction.cc.

317 {
318  // change Gap thickness and recompute the calorimeter parameters
319  fGapThickness = val;
321 }
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:

◆ SetGapThickness() [2/4]

void DetectorConstruction::SetGapThickness ( G4double  )

◆ SetGapThickness() [3/4]

void DetectorConstruction::SetGapThickness ( G4double  )

◆ SetGapThickness() [4/4]

void DetectorConstruction::SetGapThickness ( G4double  )

◆ SetGasMaterial()

void DetectorConstruction::SetGasMaterial ( const G4String name)

Definition at line 342 of file examples/extended/electromagnetic/TestEm8/src/DetectorConstruction.cc.

343 {
344  // get the pointer to the existing material
345  G4Material* mat = G4Material::GetMaterial(name, false);
346 
347  // create the material by its name
348  if(!mat) { mat = G4NistManager::Instance()->FindOrBuildMaterial(name); }
349 
350  if (mat && mat != fGasMat) {
351  G4cout << "### New target material: " << mat->GetName() << G4endl;
352  fGasMat = mat;
353  if(fLogicDetector) {
356  }
357  }
358 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
Definition: G4Material.cc:604
static G4NistManager * Instance()
Float_t mat
G4GLOB_DLL std::ostream G4cout
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
const G4String & GetName() const
Definition: G4Material.hh:178
void SetMaterial(G4Material *pMaterial)
Here is the call graph for this function:

◆ SetGasRadius()

void DetectorConstruction::SetGasRadius ( G4double  val)

Definition at line 410 of file examples/extended/electromagnetic/TestEm8/src/DetectorConstruction.cc.

Here is the call graph for this function:

◆ SetGasThickness()

void DetectorConstruction::SetGasThickness ( G4double  val)

Definition at line 402 of file examples/extended/electromagnetic/TestEm8/src/DetectorConstruction.cc.

Here is the call graph for this function:

◆ SetGrid()

void DetectorConstruction::SetGrid ( G4int  myGrid)

Definition at line 307 of file examples/advanced/nanobeam/src/DetectorConstruction.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetLBining()

void DetectorConstruction::SetLBining ( G4ThreeVector  Value)

Definition at line 178 of file examples/extended/electromagnetic/TestEm2/src/DetectorConstruction.cc.

179 {
180  fNLtot = (G4int)Value(0);
181  if (fNLtot > MaxBin) {
182  G4cout << "\n ---> warning from SetLBining: "
183  << fNLtot << " truncated to " << MaxBin << G4endl;
184  fNLtot = MaxBin;
185  }
186  fDLradl = Value(1);
188 }
int G4int
Definition: G4Types.hh:78
G4GLOB_DLL std::ostream G4cout
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:

◆ SetMagField() [1/4]

void DetectorConstruction::SetMagField ( G4double  )

◆ SetMagField() [2/4]

void DetectorConstruction::SetMagField ( G4double  )

◆ SetMagField() [3/4]

void DetectorConstruction::SetMagField ( G4double  )

◆ SetMagField() [4/4]

void DetectorConstruction::SetMagField ( G4double  fieldValue)

Definition at line 174 of file examples/extended/electromagnetic/TestEm6/src/DetectorConstruction.cc.

175 {
176  //apply a global uniform magnetic field along Z axis
177  G4FieldManager* fieldMgr
179 
180  if (fMagField) delete fMagField; //delete the existing magn field
181 
182  if (fieldValue!=0.) // create a new one if non nul
183  {
184  fMagField = new G4UniformMagField(G4ThreeVector(0.,0.,fieldValue));
185  fieldMgr->SetDetectorField(fMagField);
186  fieldMgr->CreateChordFinder(fMagField);
187  }
188  else
189  {
190  fMagField = 0;
191  fieldMgr->SetDetectorField(fMagField);
192  }
193 }
CLHEP::Hep3Vector G4ThreeVector
G4bool SetDetectorField(G4Field *detectorField)
G4FieldManager * GetFieldManager() const
static G4TransportationManager * GetTransportationManager()
void CreateChordFinder(G4MagneticField *detectorMagField)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetMassCytoplasm()

void DetectorConstruction::SetMassCytoplasm ( G4double  mC)
inline

Definition at line 70 of file examples/advanced/microbeam/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ SetMassNucleus()

void DetectorConstruction::SetMassNucleus ( G4double  mN)
inline

Definition at line 67 of file examples/advanced/microbeam/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ SetMaterial() [1/21]

void DetectorConstruction::SetMaterial ( G4String  )

◆ SetMaterial() [2/21]

void DetectorConstruction::SetMaterial ( G4String  )

◆ SetMaterial() [3/21]

void DetectorConstruction::SetMaterial ( G4String  )

◆ SetMaterial() [4/21]

void DetectorConstruction::SetMaterial ( G4String  )

◆ SetMaterial() [5/21]

void DetectorConstruction::SetMaterial ( G4String  materialChoice)

Definition at line 183 of file environments/g4py/examples/demos/TestEm0/module/DetectorConstruction.cc.

184 {
185  // search the material by its name, or build it from nist data base
186  G4Material* pttoMaterial =
187  G4NistManager::Instance()->FindOrBuildMaterial(materialChoice);
188 
189  if (pttoMaterial) {
190  aMaterial = pttoMaterial;
193  } else {
194  G4cout << "\n--> warning from DetectorConstruction::SetMaterial : "
195  << materialChoice << " not found" << G4endl;
196  }
197 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
G4GLOB_DLL std::ostream G4cout
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetMaterial() [6/21]

void DetectorConstruction::SetMaterial ( const G4String name)

Definition at line 170 of file examples/extended/electromagnetic/TestEm18/src/DetectorConstruction.cc.

171 {
172  // search the material by its name
173  G4Material* mat = G4Material::GetMaterial(name, false);
174 
175  // create the material by its name
176  if(!mat) { mat = G4NistManager::Instance()->FindOrBuildMaterial(name); }
177 
178  if(mat && mat != fMaterial) {
179  G4cout << "### New material " << mat->GetName() << G4endl;
180  fMaterial = mat;
181  UpdateGeometry();
182  }
183 
184  if(!mat) {
185  G4cout << "\n--> warning from DetectorConstruction::SetMaterial : "
186  << name << " not found" << G4endl;
187  }
188 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
Definition: G4Material.cc:604
static G4NistManager * Instance()
Float_t mat
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
const G4String & GetName() const
Definition: G4Material.hh:178
Here is the call graph for this function:

◆ SetMaterial() [7/21]

void DetectorConstruction::SetMaterial ( G4String  )

◆ SetMaterial() [8/21]

void DetectorConstruction::SetMaterial ( G4String  )

◆ SetMaterial() [9/21]

void DetectorConstruction::SetMaterial ( G4String  )

◆ SetMaterial() [10/21]

void DetectorConstruction::SetMaterial ( G4String  )

◆ SetMaterial() [11/21]

void DetectorConstruction::SetMaterial ( G4String  )

◆ SetMaterial() [12/21]

void DetectorConstruction::SetMaterial ( const G4String )

◆ SetMaterial() [13/21]

void DetectorConstruction::SetMaterial ( const G4String )

◆ SetMaterial() [14/21]

void DetectorConstruction::SetMaterial ( G4String  )

◆ SetMaterial() [15/21]

void DetectorConstruction::SetMaterial ( G4String  )

◆ SetMaterial() [16/21]

void DetectorConstruction::SetMaterial ( G4String  )

◆ SetMaterial() [17/21]

void DetectorConstruction::SetMaterial ( G4String  )

◆ SetMaterial() [18/21]

void DetectorConstruction::SetMaterial ( const G4String )

◆ SetMaterial() [19/21]

void DetectorConstruction::SetMaterial ( G4String  )

◆ SetMaterial() [20/21]

void DetectorConstruction::SetMaterial ( G4String  )

◆ SetMaterial() [21/21]

void DetectorConstruction::SetMaterial ( G4String  )

◆ SetMaterialScatter()

void DetectorConstruction::SetMaterialScatter ( G4String  material)

Definition at line 499 of file examples/extended/medical/electronScattering/src/DetectorConstruction.cc.

500 {
501  // search the material by its name
502  G4Material* pMaterial = G4Material::GetMaterial(material);
503 
504  if (pMaterial) fMaterial_ScatterFoil = pMaterial;
505 }
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
Definition: G4Material.cc:604
Here is the call graph for this function:

◆ SetMaxStepLength()

void DetectorConstruction::SetMaxStepLength ( G4double  val)

Definition at line 203 of file examples/extended/electromagnetic/TestEm16/src/DetectorConstruction.cc.

204 {
205  // set the maximum length of tracking step
206  //
207  if (val <= DBL_MIN)
208  { G4cout << "\n --->warning from SetMaxStepLength: maxStep "
209  << val << " out of range. Command refused" << G4endl;
210  return;
211  }
212  G4TransportationManager* tmanager =
214  tmanager->GetPropagatorInField()
216 }
G4GLOB_DLL std::ostream G4cout
static G4TransportationManager * GetTransportationManager()
#define DBL_MIN
Definition: templates.hh:75
#define G4endl
Definition: G4ios.hh:61
void SetLargestAcceptableStep(G4double newBigDist)
G4PropagatorInField * GetPropagatorInField() const
Here is the call graph for this function:

◆ SetMaxStepSize() [1/3]

void DetectorConstruction::SetMaxStepSize ( G4double  val)

Definition at line 189 of file examples/extended/electromagnetic/TestEm16/src/DetectorConstruction.cc.

190 {
191  // set the maximum allowed step size
192  //
193  if (val <= DBL_MIN)
194  { G4cout << "\n --->warning from SetMaxStepSize: maxStep "
195  << val << " out of range. Command refused" << G4endl;
196  return;
197  }
199 }
virtual void SetMaxAllowedStep(G4double ustepMax)
G4GLOB_DLL std::ostream G4cout
#define DBL_MIN
Definition: templates.hh:75
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetMaxStepSize() [2/3]

void DetectorConstruction::SetMaxStepSize ( G4double  )

◆ SetMaxStepSize() [3/3]

void DetectorConstruction::SetMaxStepSize ( G4double  )

◆ SetMethod()

void DetectorConstruction::SetMethod ( EMethod  method)

Definition at line 408 of file examples/extended/geometry/transforms/src/DetectorConstruction.cc.

408  {
409  fMethod = method;
411 }
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:

◆ SetModel()

void DetectorConstruction::SetModel ( G4int  modelChoice)

Definition at line 266 of file examples/advanced/nanobeam/src/DetectorConstruction.cc.

267 {
268 if (modelChoice==1) fModel=1;
269 if (modelChoice==2) fModel=2;
270 if (modelChoice==3) fModel=3;
271 }
Here is the caller graph for this function:

◆ SetMylarZ()

void DetectorConstruction::SetMylarZ ( G4double  val)
inline

Definition at line 81 of file examples/extended/medical/GammaTherapy/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ SetNbOfAbsor() [1/2]

void DetectorConstruction::SetNbOfAbsor ( G4int  ival)

Definition at line 259 of file examples/extended/electromagnetic/TestEm11/src/DetectorConstruction.cc.

260 {
261  // set the number of Absorbers
262  //
263  if (ival < 1 || ival > (MaxAbsor-1))
264  { G4cout << "\n ---> warning from SetfNbOfAbsor: "
265  << ival << " must be at least 1 and and most " << MaxAbsor-1
266  << ". Command refused" << G4endl;
267  return;
268  }
269  fNbOfAbsor = ival;
271 }
G4GLOB_DLL std::ostream G4cout
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetNbOfAbsor() [2/2]

void DetectorConstruction::SetNbOfAbsor ( G4int  )

◆ SetNbOfDivisions()

void DetectorConstruction::SetNbOfDivisions ( G4int  iabs,
G4int  ival 
)

Definition at line 330 of file examples/extended/electromagnetic/TestEm11/src/DetectorConstruction.cc.

331 {
332  // set the number of divisions
333  //
334  if (iabs > fNbOfAbsor || iabs < 1)
335  { G4cout << "\n --->warning from SetNbOfDivisions: absor number "
336  << iabs << " out of range. Command refused" << G4endl;
337  return;
338  }
339 
340  if (ival < 1)
341  { G4cout << "\n --->warning from SetNbOfDivisions: "
342  << ival << " must be at least 1. Command refused" << G4endl;
343  return;
344  }
345  fNbOfDivisions[iabs] = ival;
347 }
G4GLOB_DLL std::ostream G4cout
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:

◆ SetNbOfLayers() [1/6]

void DetectorConstruction::SetNbOfLayers ( G4int  nb)

◆ SetNbOfLayers() [2/6]

void DetectorConstruction::SetNbOfLayers ( G4int  )

◆ SetNbOfLayers() [3/6]

void DetectorConstruction::SetNbOfLayers ( G4int  val)

Definition at line 334 of file examples/extended/analysis/AnaEx01/shared/src/DetectorConstruction.cc.

335 {
336  fNbOfLayers = val;
338 }
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetNbOfLayers() [4/6]

void DetectorConstruction::SetNbOfLayers ( G4int  )

◆ SetNbOfLayers() [5/6]

void DetectorConstruction::SetNbOfLayers ( G4int  )

◆ SetNbOfLayers() [6/6]

void DetectorConstruction::SetNbOfLayers ( G4int  )

◆ SetNbOfPixelsInPhantom()

void DetectorConstruction::SetNbOfPixelsInPhantom ( G4int  nP)
inline

Definition at line 73 of file examples/advanced/microbeam/include/DetectorConstruction.hh.

Here is the caller graph for this function:

◆ SetPadLength()

void DetectorConstruction::SetPadLength ( G4double  val)

Definition at line 426 of file examples/extended/electromagnetic/TestEm9/src/DetectorConstruction.cc.

427 {
428  if(val > 0.0) {
429  fPadLength = val;
431  }
432 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:

◆ SetPadWidth()

void DetectorConstruction::SetPadWidth ( G4double  val)

Definition at line 436 of file examples/extended/electromagnetic/TestEm9/src/DetectorConstruction.cc.

437 {
438  if(val > 0.0) {
439  fPadWidth = val;
441  }
442 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:

◆ SetPairEnergy()

void DetectorConstruction::SetPairEnergy ( G4double  val)

Definition at line 426 of file examples/extended/electromagnetic/TestEm8/src/DetectorConstruction.cc.

427 {
428  if(val > 0.0) {
430  }
431 }
G4IonisParamMat * GetIonisation() const
Definition: G4Material.hh:226
void SetMeanEnergyPerIonPair(G4double value)
Here is the call graph for this function:

◆ SetProfile()

void DetectorConstruction::SetProfile ( G4int  myProfile)

Definition at line 300 of file examples/advanced/nanobeam/src/DetectorConstruction.cc.

Here is the caller graph for this function:

◆ SetRadius() [1/5]

void DetectorConstruction::SetRadius ( G4double  )

◆ SetRadius() [2/5]

void DetectorConstruction::SetRadius ( G4double  )

◆ SetRadius() [3/5]

void DetectorConstruction::SetRadius ( G4double  )

◆ SetRadius() [4/5]

void DetectorConstruction::SetRadius ( G4double  value)

Definition at line 179 of file examples/extended/electromagnetic/TestEm12/src/DetectorConstruction.cc.

180 {
181  fAbsorRadius = value;
183 }
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetRadius() [5/5]

void DetectorConstruction::SetRadius ( G4double  )

◆ SetRBining()

void DetectorConstruction::SetRBining ( G4ThreeVector  Value)

Definition at line 192 of file examples/extended/electromagnetic/TestEm2/src/DetectorConstruction.cc.

193 {
194  fNRtot = (G4int)Value(0);
195  if (fNRtot > MaxBin) {
196  G4cout << "\n ---> warning from SetRBining: "
197  << fNRtot << " truncated to " << MaxBin << G4endl;
198  fNRtot = MaxBin;
199  }
200  fDRradl = Value(1);
202 }
int G4int
Definition: G4Types.hh:78
G4GLOB_DLL std::ostream G4cout
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:

◆ SetSize() [1/10]

void DetectorConstruction::SetSize ( G4double  )

◆ SetSize() [2/10]

void DetectorConstruction::SetSize ( G4double  )

◆ SetSize() [3/10]

void DetectorConstruction::SetSize ( G4double  )

◆ SetSize() [4/10]

void DetectorConstruction::SetSize ( G4double  )

◆ SetSize() [5/10]

void DetectorConstruction::SetSize ( G4double  )

◆ SetSize() [6/10]

void DetectorConstruction::SetSize ( G4double  )

◆ SetSize() [7/10]

void DetectorConstruction::SetSize ( G4double  )

◆ SetSize() [8/10]

void DetectorConstruction::SetSize ( G4double  )

◆ SetSize() [9/10]

void DetectorConstruction::SetSize ( G4double  )

◆ SetSize() [10/10]

void DetectorConstruction::SetSize ( G4double  value)

Definition at line 248 of file examples/extended/electromagnetic/TestEm1/src/DetectorConstruction.cc.

249 {
250  fBoxSize = value;
252 }
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetSizeX() [1/2]

void DetectorConstruction::SetSizeX ( G4double  )

◆ SetSizeX() [2/2]

void DetectorConstruction::SetSizeX ( G4double  value)

Definition at line 259 of file examples/extended/electromagnetic/TestEm7/src/DetectorConstruction.cc.

Here is the call graph for this function:

◆ SetSizeXY()

void DetectorConstruction::SetSizeXY ( G4double  value)

Definition at line 184 of file examples/extended/polarisation/Pol01/src/DetectorConstruction.cc.

Here is the call graph for this function:

◆ SetSizeYZ() [1/2]

void DetectorConstruction::SetSizeYZ ( G4double  )

◆ SetSizeYZ() [2/2]

void DetectorConstruction::SetSizeYZ ( G4double  value)

Definition at line 267 of file examples/extended/electromagnetic/TestEm7/src/DetectorConstruction.cc.

Here is the call graph for this function:

◆ SetSizeZ()

void DetectorConstruction::SetSizeZ ( G4double  value)

Definition at line 191 of file examples/extended/polarisation/Pol01/src/DetectorConstruction.cc.

Here is the call graph for this function:

◆ SetTallyMaterial()

void DetectorConstruction::SetTallyMaterial ( G4int  j,
G4String  materialChoice 
)

Definition at line 329 of file examples/extended/electromagnetic/TestEm7/src/DetectorConstruction.cc.

330 {
331  // search the material by its name
332  G4Material* pttoMaterial =
333  G4NistManager::Instance()->FindOrBuildMaterial(materialChoice);
334  if (pttoMaterial) {
335  fTallyMaterial[j] = pttoMaterial;
336  if(fLTally[j]) {
339  }
340  }
341 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
void SetMaterial(G4Material *pMaterial)
Here is the call graph for this function:

◆ SetTallyNumber()

void DetectorConstruction::SetTallyNumber ( G4int  value)

◆ SetTallyPosition()

void DetectorConstruction::SetTallyPosition ( G4int  j,
G4ThreeVector  value 
)

Definition at line 345 of file examples/extended/electromagnetic/TestEm7/src/DetectorConstruction.cc.

346 {
347 
348  fTallyPosition[j] = value;
350 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:

◆ SetTallySize()

void DetectorConstruction::SetTallySize ( G4int  j,
G4ThreeVector  value 
)

Definition at line 321 of file examples/extended/electromagnetic/TestEm7/src/DetectorConstruction.cc.

322 {
323  fTallySize[j] = value;
325 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:

◆ SetTarget1Material()

void DetectorConstruction::SetTarget1Material ( const G4String m)

Definition at line 400 of file examples/extended/medical/GammaTherapy/src/DetectorConstruction.cc.

401 {
402  // search the material by its name
403  G4Material* pttoMaterial =
405  if(!pttoMaterial) {
406  G4cout << "Material " << mat << " is not found out!" << G4endl;
407  } else if (pttoMaterial != fTarget1Material) {
408  G4cout << "New target1 material " << mat << G4endl;
411  }
412 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
Float_t mat
G4GLOB_DLL std::ostream G4cout
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
void SetMaterial(G4Material *pMaterial)
Here is the call graph for this function:

◆ SetTarget1Z()

void DetectorConstruction::SetTarget1Z ( G4double  val)
inline

Definition at line 77 of file examples/extended/medical/GammaTherapy/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ SetTarget2Material()

void DetectorConstruction::SetTarget2Material ( const G4String m)

Definition at line 416 of file examples/extended/medical/GammaTherapy/src/DetectorConstruction.cc.

417 {
418  // search the material by its name
419  G4Material* pttoMaterial =
421 
422  if(!pttoMaterial) {
423  G4cout << "Material " << mat << " is not found out!" << G4endl;
424  } else if (pttoMaterial != fTarget2Material) {
425  fTarget2Material = pttoMaterial;
426  G4cout << "New target2 material " << mat << G4endl;
429  }
430 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
Float_t mat
G4GLOB_DLL std::ostream G4cout
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61
void SetMaterial(G4Material *pMaterial)
Here is the call graph for this function:

◆ SetTarget2Z()

void DetectorConstruction::SetTarget2Z ( G4double  val)
inline

Definition at line 79 of file examples/extended/medical/GammaTherapy/include/DetectorConstruction.hh.

Here is the call graph for this function:

◆ SetTargetLength() [1/3]

void DetectorConstruction::SetTargetLength ( G4double  value)

◆ SetTargetLength() [2/3]

void DetectorConstruction::SetTargetLength ( G4double  val)

◆ SetTargetLength() [3/3]

void DetectorConstruction::SetTargetLength ( G4double  val)

Definition at line 177 of file examples/extended/hadronic/Hadr00/src/DetectorConstruction.cc.

178 {
179  if(val > 0.0 && val != fLength) {
180  fLength = val;
182  }
183 }
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetTargetMaterial() [1/6]

void DetectorConstruction::SetTargetMaterial ( G4String  materialChoice)

Definition at line 148 of file examples/extended/polarisation/Pol01/src/DetectorConstruction.cc.

149 {
150  // search the material by its name
151  G4Material* mat =
152  G4NistManager::Instance()->FindOrBuildMaterial(materialChoice);
153  if (mat != aMaterial) {
154  if(mat) {
155  aMaterial = mat;
156  UpdateGeometry();
157  } else {
158  G4cout << "### Warning! Target material: <"
159  << materialChoice << "> not found" << G4endl;
160  }
161  }
162 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
Float_t mat
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:

◆ SetTargetMaterial() [2/6]

void DetectorConstruction::SetTargetMaterial ( G4String  )

◆ SetTargetMaterial() [3/6]

void DetectorConstruction::SetTargetMaterial ( const G4String )

◆ SetTargetMaterial() [4/6]

void DetectorConstruction::SetTargetMaterial ( const G4String mat)

Definition at line 141 of file examples/extended/hadronic/Hadr00/src/DetectorConstruction.cc.

142 {
143  // search the material by its name
145 
146  if (material && material != fTargetMaterial) {
150  }
151 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
string material
Definition: eplot.py:19
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
void SetMaterial(G4Material *pMaterial)
Here is the call graph for this function:

◆ SetTargetMaterial() [5/6]

void DetectorConstruction::SetTargetMaterial ( const G4String )

◆ SetTargetMaterial() [6/6]

void DetectorConstruction::SetTargetMaterial ( const G4String )

◆ SetTargetRadius() [1/5]

void DetectorConstruction::SetTargetRadius ( G4double  value)

◆ SetTargetRadius() [2/5]

void DetectorConstruction::SetTargetRadius ( G4double  val)

◆ SetTargetRadius() [3/5]

void DetectorConstruction::SetTargetRadius ( G4double  val)

Definition at line 167 of file examples/extended/hadronic/Hadr00/src/DetectorConstruction.cc.

168 {
169  if(val > 0.0 && val != fRadius) {
170  fRadius = val;
172  }
173 }
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetTargetRadius() [4/5]

void DetectorConstruction::SetTargetRadius ( G4double  val)

◆ SetTargetRadius() [5/5]

void DetectorConstruction::SetTargetRadius ( G4double  val)

◆ SetThicknessScatter()

void DetectorConstruction::SetThicknessScatter ( G4double  val)

Definition at line 509 of file examples/extended/medical/electronScattering/src/DetectorConstruction.cc.

Here is the call graph for this function:

◆ SetTrackingCut() [1/3]

void DetectorConstruction::SetTrackingCut ( G4double  value)

Definition at line 152 of file examples/extended/medical/dna/range/src/DetectorConstruction.cc.

153 {
154  fTrackingCut = value;
156 }
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:

◆ SetTrackingCut() [2/3]

void DetectorConstruction::SetTrackingCut ( G4double  )

◆ SetTrackingCut() [3/3]

void DetectorConstruction::SetTrackingCut ( G4double  )

◆ SetVertexLength()

void DetectorConstruction::SetVertexLength ( G4double  val)

Definition at line 416 of file examples/extended/electromagnetic/TestEm9/src/DetectorConstruction.cc.

417 {
418  if(val > 0.0) {
419  fVertexLength = val;
421  }
422 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:

◆ SetWallMaterial() [1/2]

void DetectorConstruction::SetWallMaterial ( G4String  )

◆ SetWallMaterial() [2/2]

void DetectorConstruction::SetWallMaterial ( G4String  materialChoice)

Definition at line 208 of file examples/extended/medical/fanoCavity/src/DetectorConstruction.cc.

209 {
210  // search the material by its name
211  G4Material* pttoMaterial = G4Material::GetMaterial(materialChoice);
212  if (pttoMaterial) fWallMaterial = pttoMaterial;
213 }
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
Definition: G4Material.cc:604
Here is the call graph for this function:

◆ SetWallThickness() [1/2]

void DetectorConstruction::SetWallThickness ( G4double  value)

◆ SetWallThickness() [2/2]

void DetectorConstruction::SetWallThickness ( G4double  )

◆ SetWorldMaterial() [1/8]

void DetectorConstruction::SetWorldMaterial ( G4String  )

◆ SetWorldMaterial() [2/8]

void DetectorConstruction::SetWorldMaterial ( const G4String )

◆ SetWorldMaterial() [3/8]

void DetectorConstruction::SetWorldMaterial ( const G4String )

◆ SetWorldMaterial() [4/8]

void DetectorConstruction::SetWorldMaterial ( G4String  materialChoice)

Definition at line 358 of file examples/extended/electromagnetic/TestEm5/src/DetectorConstruction.cc.

359 {
360  // search the material by its name
361  G4Material* pttoMaterial =
362  G4NistManager::Instance()->FindOrBuildMaterial(materialChoice);
363 
364  if (pttoMaterial && fWorldMaterial != pttoMaterial) {
365  fWorldMaterial = pttoMaterial;
368  }
369 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
void SetMaterial(G4Material *pMaterial)
Here is the call graph for this function:

◆ SetWorldMaterial() [5/8]

void DetectorConstruction::SetWorldMaterial ( const G4String )

◆ SetWorldMaterial() [6/8]

void DetectorConstruction::SetWorldMaterial ( const G4String material)

Definition at line 431 of file examples/extended/electromagnetic/TestEm3/src/DetectorConstruction.cc.

432 {
433  // search the material by its name
434  G4Material* pttoMaterial =
436  if (pttoMaterial) fDefaultMaterial = pttoMaterial;
438 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetWorldMaterial() [7/8]

void DetectorConstruction::SetWorldMaterial ( const G4String )

◆ SetWorldMaterial() [8/8]

void DetectorConstruction::SetWorldMaterial ( const G4String )

◆ SetWorldRadius()

void DetectorConstruction::SetWorldRadius ( G4double  value)

Definition at line 218 of file examples/extended/medical/fanoCavity2/src/DetectorConstruction.cc.

Here is the call graph for this function:

◆ SetWorldSizeX()

void DetectorConstruction::SetWorldSizeX ( G4double  val)

◆ SetWorldSizeYZ()

void DetectorConstruction::SetWorldSizeYZ ( G4double  val)

◆ UpdateGeometry() [1/14]

void DetectorConstruction::UpdateGeometry ( )

◆ UpdateGeometry() [2/14]

void DetectorConstruction::UpdateGeometry ( )

◆ UpdateGeometry() [3/14]

void DetectorConstruction::UpdateGeometry ( )

◆ UpdateGeometry() [4/14]

void DetectorConstruction::UpdateGeometry ( )

◆ UpdateGeometry() [5/14]

void DetectorConstruction::UpdateGeometry ( )

◆ UpdateGeometry() [6/14]

void DetectorConstruction::UpdateGeometry ( )

◆ UpdateGeometry() [7/14]

void DetectorConstruction::UpdateGeometry ( )

◆ UpdateGeometry() [8/14]

void DetectorConstruction::UpdateGeometry ( )

◆ UpdateGeometry() [9/14]

void DetectorConstruction::UpdateGeometry ( )

◆ UpdateGeometry() [10/14]

void DetectorConstruction::UpdateGeometry ( )

◆ UpdateGeometry() [11/14]

void DetectorConstruction::UpdateGeometry ( )

Definition at line 277 of file examples/advanced/nanobeam/src/DetectorConstruction.cc.

278 {
281 }
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateGeometry() [12/14]

void DetectorConstruction::UpdateGeometry ( )

◆ UpdateGeometry() [13/14]

void DetectorConstruction::UpdateGeometry ( )

◆ UpdateGeometry() [14/14]

void DetectorConstruction::UpdateGeometry ( )

Member Data Documentation

◆ absorberMat

G4Material* DetectorConstruction::absorberMat
private

◆ aMaterial

G4Material * DetectorConstruction::aMaterial
private

◆ analysis

AnalysisManager* DetectorConstruction::analysis
private

◆ BoxSize

G4double DetectorConstruction::BoxSize
private

◆ boxSizeXY

G4double DetectorConstruction::boxSizeXY
private

◆ boxSizeZ

G4double DetectorConstruction::boxSizeZ
private

◆ calorimeterMat

G4Material* DetectorConstruction::calorimeterMat
private

◆ calorThickness

G4double DetectorConstruction::calorThickness
private

◆ Copper

G4Material* DetectorConstruction::Copper
private

◆ defaultMat

G4Material* DetectorConstruction::defaultMat
private

◆ detectorMessenger

DetectorMessenger * DetectorConstruction::detectorMessenger
private

◆ distanceInterFibers

G4double DetectorConstruction::distanceInterFibers
private

◆ experimentalHall_log

G4LogicalVolume* DetectorConstruction::experimentalHall_log
private

◆ experimentalHall_phys

G4VPhysicalVolume* DetectorConstruction::experimentalHall_phys
private

◆ fAbsLength

G4double DetectorConstruction::fAbsLength
private

◆ fAbsMaterial

G4Material* DetectorConstruction::fAbsMaterial
private

◆ fAbsor

G4VPhysicalVolume * DetectorConstruction::fAbsor
private

◆ fAbsorberMaterial

G4Material * DetectorConstruction::fAbsorberMaterial
private

◆ fAbsorberPosZ

G4double DetectorConstruction::fAbsorberPosZ
private

◆ fAbsorberRadius

G4double DetectorConstruction::fAbsorberRadius
private

◆ fAbsorberShiftZ

G4double DetectorConstruction::fAbsorberShiftZ
private

◆ fAbsorberSizeYZ

G4double DetectorConstruction::fAbsorberSizeYZ
private

◆ fAbsorberThickness

G4double DetectorConstruction::fAbsorberThickness
private

◆ fAbsorberZ

G4double DetectorConstruction::fAbsorberZ
private

◆ fAbsorMaterial

G4Material * DetectorConstruction::fAbsorMaterial
private

◆ fAbsorRadius

G4double DetectorConstruction::fAbsorRadius
private

◆ fAbsorSizeX

G4double DetectorConstruction::fAbsorSizeX
private

◆ fAbsorSizeYZ

G4double DetectorConstruction::fAbsorSizeYZ
private

◆ fAbsorThickness

G4double DetectorConstruction::fAbsorThickness
private

◆ fAirZ

G4double DetectorConstruction::fAirZ
private

◆ fBoite2Material

G4Material* DetectorConstruction::fBoite2Material
private

◆ fBoite3Material

G4Material* DetectorConstruction::fBoite3Material
private

◆ fBoiteMaterial

G4Material* DetectorConstruction::fBoiteMaterial
private

◆ fBox

G4VPhysicalVolume * DetectorConstruction::fBox
private

◆ fBoxSize

G4double DetectorConstruction::fBoxSize
private

◆ fBuildBases

G4bool DetectorConstruction::fBuildBases
private

◆ fBuildChromatineFiber

G4bool DetectorConstruction::fBuildChromatineFiber
private

◆ fCalMaterial

G4Material* DetectorConstruction::fCalMaterial
private

◆ fCalorSizeYZ

G4double DetectorConstruction::fCalorSizeYZ
private

◆ fCalorThickness

G4double DetectorConstruction::fCalorThickness
private

◆ fCathodeMaterial

G4Material* DetectorConstruction::fCathodeMaterial
private

◆ fCavity

G4VPhysicalVolume * DetectorConstruction::fCavity
private

◆ fCavityMaterial

G4Material * DetectorConstruction::fCavityMaterial
private

◆ fCavityRadius

G4double DetectorConstruction::fCavityRadius
private

◆ fCavityThickness

G4double DetectorConstruction::fCavityThickness
private

◆ fCheckOverlaps

G4bool DetectorConstruction::fCheckOverlaps
private

◆ fCheckSD

CheckVolumeSD* DetectorConstruction::fCheckSD
private

◆ fCheckShiftZ

G4double DetectorConstruction::fCheckShiftZ
private

◆ fCheckVolumePosZ

G4double DetectorConstruction::fCheckVolumePosZ
private

◆ fCheckVolumeRadius

G4double DetectorConstruction::fCheckVolumeRadius
private

◆ fCheckVolumeZ

G4double DetectorConstruction::fCheckVolumeZ
private

◆ fChordFinder

G4ChordFinder * DetectorConstruction::fChordFinder
private

◆ fChosenOption

unsigned short int DetectorConstruction::fChosenOption
private

Option for the visualisation.

Definition at line 75 of file examples/extended/medical/dna/pdb4dna/include/DetectorConstruction.hh.

◆ fCiblePositionX

G4double DetectorConstruction::fCiblePositionX
private

◆ fCiblePositionY

G4double DetectorConstruction::fCiblePositionY
private

◆ fCiblePositionZ

G4double DetectorConstruction::fCiblePositionZ
private

◆ fCoef

G4int DetectorConstruction::fCoef

◆ fCollimatorMaterial

G4Material* DetectorConstruction::fCollimatorMaterial
private

◆ fCollObjSizeXY

G4double DetectorConstruction::fCollObjSizeXY
private

◆ fCollObjSizeZ

G4double DetectorConstruction::fCollObjSizeZ
private

◆ fCytoplasmMaterial1

G4Material* DetectorConstruction::fCytoplasmMaterial1
private

◆ fCytoplasmMaterial2

G4Material* DetectorConstruction::fCytoplasmMaterial2
private

◆ fCytoplasmMaterial3

G4Material* DetectorConstruction::fCytoplasmMaterial3
private

◆ fDefaultMaterial

G4Material * DetectorConstruction::fDefaultMaterial
private

◆ fDefaultWorld

G4bool DetectorConstruction::fDefaultWorld
private

◆ fDelta

G4double DetectorConstruction::fDelta
private

◆ fDensityCytoplasm

G4double DetectorConstruction::fDensityCytoplasm
private

◆ fDensityNucleus

G4double DetectorConstruction::fDensityNucleus
private

◆ fDensityPhantom

G4double DetectorConstruction::fDensityPhantom
private

◆ fDetectorLength

G4double DetectorConstruction::fDetectorLength
private

◆ fDetectorMater

G4Material* DetectorConstruction::fDetectorMater
private

◆ fDetectorMessenger

DetectorMessenger * DetectorConstruction::fDetectorMessenger
private

◆ fDetectorThickness

G4double DetectorConstruction::fDetectorThickness
private

◆ fDistanceVacuumTarget

G4double DetectorConstruction::fDistanceVacuumTarget
private

◆ fDLlength

G4double DetectorConstruction::fDLlength
private

◆ fDLradl

G4double DetectorConstruction::fDLradl
private

◆ fDRlength

G4double DetectorConstruction::fDRlength
private

◆ fDRradl

G4double DetectorConstruction::fDRradl
private

◆ fEcalLength

G4double DetectorConstruction::fEcalLength
private

◆ fEcalRadius

G4double DetectorConstruction::fEcalRadius
private

◆ fEcalWidth

G4double DetectorConstruction::fEcalWidth
private

◆ fEquation [1/2]

G4Mag_UsualEqRhs* DetectorConstruction::fEquation
private

◆ fEquation [2/2]

G4EqMagElectricField* DetectorConstruction::fEquation
private

◆ fField [1/2]

G4ThreadLocal TabulatedField3D* DetectorConstruction::fField
staticprivate

◆ fField [2/2]

G4ThreadLocal TabulatedField3D * DetectorConstruction::fField = 0
staticprivate

◆ fFieldMessenger

G4Cache< G4GlobalMagFieldMessenger * > DetectorConstruction::fFieldMessenger
private

◆ fFieldMgr

G4FieldManager * DetectorConstruction::fFieldMgr
private

◆ fG1

G4float DetectorConstruction::fG1

◆ fG2

G4float DetectorConstruction::fG2

◆ fG3

G4float DetectorConstruction::fG3

◆ fG4

G4float DetectorConstruction::fG4

◆ fGapMaterial

G4Material * DetectorConstruction::fGapMaterial
private

◆ fGapThickness

G4double DetectorConstruction::fGapThickness
private

◆ fGasDetectorCuts

G4ProductionCuts* DetectorConstruction::fGasDetectorCuts
private

◆ fGasMat

G4Material* DetectorConstruction::fGasMat
private

◆ fGasRadius

G4double DetectorConstruction::fGasRadius
private

◆ fGasThickness

G4double DetectorConstruction::fGasThickness
private

◆ fGasVolumePosZ

G4double DetectorConstruction::fGasVolumePosZ
private

◆ fGasVolumeRadius

G4double DetectorConstruction::fGasVolumeRadius
private

◆ fGasVolumeZ

G4double DetectorConstruction::fGasVolumeZ
private

◆ fGeneratorPosZ

G4double DetectorConstruction::fGeneratorPosZ
private

◆ fGradientsInitialized

G4bool DetectorConstruction::fGradientsInitialized
private

◆ fGrid

G4int DetectorConstruction::fGrid

◆ fGridMaterial

G4Material* DetectorConstruction::fGridMaterial
private

◆ fiberDiameter

G4double DetectorConstruction::fiberDiameter
private

◆ fiberLength

G4double DetectorConstruction::fiberLength
private

◆ fiberMat

G4Material* DetectorConstruction::fiberMat
private

◆ fInnerRadius_Ring

G4double DetectorConstruction::fInnerRadius_Ring
private

◆ fIntgrDriver

G4MagInt_Driver* DetectorConstruction::fIntgrDriver
private

◆ fKgmMaterial

G4Material* DetectorConstruction::fKgmMaterial
private

◆ fL_Box

G4LogicalVolume* DetectorConstruction::fL_Box
private

◆ fLAbsor

G4LogicalVolume * DetectorConstruction::fLAbsor
private

◆ fLayerThickness

G4double DetectorConstruction::fLayerThickness
private

◆ fLBox

G4LogicalVolume * DetectorConstruction::fLBox
private

◆ fLength

G4double DetectorConstruction::fLength
private

◆ fLightMaterial

G4Material* DetectorConstruction::fLightMaterial
private

◆ fLineAngle

G4double DetectorConstruction::fLineAngle
private

◆ fLogAbsor

G4LogicalVolume* DetectorConstruction::fLogAbsor
private

◆ fLogic1Gap

G4LogicalVolume* DetectorConstruction::fLogic1Gap
private

◆ fLogic2Gap

G4LogicalVolume* DetectorConstruction::fLogic2Gap
private

◆ fLogic3Gap

G4LogicalVolume* DetectorConstruction::fLogic3Gap
private

◆ fLogic4Gap

G4LogicalVolume* DetectorConstruction::fLogic4Gap
private

◆ fLogic5Gap

G4LogicalVolume* DetectorConstruction::fLogic5Gap
private

◆ fLogicA1

G4LogicalVolume* DetectorConstruction::fLogicA1
private

◆ fLogicA2

G4LogicalVolume* DetectorConstruction::fLogicA2
private

◆ fLogicA3

G4LogicalVolume* DetectorConstruction::fLogicA3
private

◆ fLogicA4

G4LogicalVolume* DetectorConstruction::fLogicA4
private

◆ fLogicAbsor

G4LogicalVolume* DetectorConstruction::fLogicAbsor[MaxAbsor]
private

◆ fLogicAbsorber

G4LogicalVolume * DetectorConstruction::fLogicAbsorber
private

◆ fLogicalAbsor

G4LogicalVolume * DetectorConstruction::fLogicalAbsor
private

◆ fLogicBoite

G4LogicalVolume* DetectorConstruction::fLogicBoite
private

◆ fLogicBoite2

G4LogicalVolume* DetectorConstruction::fLogicBoite2
private

◆ fLogicBoite3

G4LogicalVolume* DetectorConstruction::fLogicBoite3
private

◆ fLogicBoiteIso

G4LogicalVolume* DetectorConstruction::fLogicBoiteIso
private

◆ fLogicCal

G4LogicalVolume* DetectorConstruction::fLogicCal
private

◆ fLogicCalor

G4LogicalVolume * DetectorConstruction::fLogicCalor
private

◆ fLogicCathode

G4LogicalVolume* DetectorConstruction::fLogicCathode
private

◆ fLogicCheck

G4LogicalVolume* DetectorConstruction::fLogicCheck
private

◆ fLogicContainer

G4LogicalVolume* DetectorConstruction::fLogicContainer
private

◆ fLogicControlVol_GridShadow

G4LogicalVolume* DetectorConstruction::fLogicControlVol_GridShadow
private

◆ fLogicDetector

G4LogicalVolume * DetectorConstruction::fLogicDetector
private

◆ fLogicEcal

G4LogicalVolume* DetectorConstruction::fLogicEcal
private

◆ fLogicGap

G4LogicalVolume * DetectorConstruction::fLogicGap
private

◆ fLogicGridVol

G4LogicalVolume* DetectorConstruction::fLogicGridVol
private

◆ fLogicGridVol_Hole

G4LogicalVolume* DetectorConstruction::fLogicGridVol_Hole
private

◆ fLogicIso

G4LogicalVolume* DetectorConstruction::fLogicIso
private

◆ fLogicKgm

G4LogicalVolume* DetectorConstruction::fLogicKgm
private

◆ fLogicLayer

G4LogicalVolume * DetectorConstruction::fLogicLayer
private

◆ fLogicPhantom

G4LogicalVolume* DetectorConstruction::fLogicPhantom
private

◆ fLogicTarget

G4LogicalVolume * DetectorConstruction::fLogicTarget
private

◆ fLogicTarget1

G4LogicalVolume* DetectorConstruction::fLogicTarget1
private

◆ fLogicTarget2

G4LogicalVolume* DetectorConstruction::fLogicTarget2
private

◆ fLogicVerre

G4LogicalVolume* DetectorConstruction::fLogicVerre
private

◆ fLogicVerre2

G4LogicalVolume* DetectorConstruction::fLogicVerre2
private

◆ fLogicVol

G4LogicalVolume * DetectorConstruction::fLogicVol
private

◆ fLogicWorld

G4LogicalVolume * DetectorConstruction::fLogicWorld
private

◆ fLogicYoke1

G4LogicalVolume* DetectorConstruction::fLogicYoke1
private

◆ fLogicYoke2

G4LogicalVolume* DetectorConstruction::fLogicYoke2
private

◆ fLTally

G4LogicalVolume* DetectorConstruction::fLTally[MaxTally]
private

◆ flv_voxel

G4LogicalVolume * DetectorConstruction::flv_voxel
private

◆ fMagField

G4UniformMagField * DetectorConstruction::fMagField
private

◆ fMassCytoplasm

G4double DetectorConstruction::fMassCytoplasm
private

◆ fMassNucleus

G4double DetectorConstruction::fMassNucleus
private

◆ fMaterial

G4Material * DetectorConstruction::fMaterial
private

◆ fMaterial_Bag

G4Material* DetectorConstruction::fMaterial_Bag
private

◆ fMaterial_ExitWindow

G4Material* DetectorConstruction::fMaterial_ExitWindow
private

◆ fMaterial_Frame

G4Material* DetectorConstruction::fMaterial_Frame
private

◆ fMaterial_Gas

G4Material* DetectorConstruction::fMaterial_Gas
private

◆ fMaterial_MonitorChbr

G4Material* DetectorConstruction::fMaterial_MonitorChbr
private

◆ fMaterial_Ring

G4Material* DetectorConstruction::fMaterial_Ring
private

◆ fMaterial_ScatterFoil

G4Material* DetectorConstruction::fMaterial_ScatterFoil
private

◆ fMaterial_World

G4Material* DetectorConstruction::fMaterial_World
private

◆ fMaxStepSize

G4double DetectorConstruction::fMaxStepSize
private

◆ fMessenger

DetectorMessenger * DetectorConstruction::fMessenger
private

◆ fMethod

EMethod DetectorConstruction::fMethod
private

◆ fModel

G4int DetectorConstruction::fModel

◆ fMonFieldSetup

G4MonopoleFieldSetup* DetectorConstruction::fMonFieldSetup
private

◆ fMuonDetectorCuts

G4ProductionCuts* DetectorConstruction::fMuonDetectorCuts
private

◆ fMuonRegion

G4Region* DetectorConstruction::fMuonRegion
private

◆ fMyCellParameterisation

CellParameterisation* DetectorConstruction::fMyCellParameterisation
private

◆ fMylar

G4Material* DetectorConstruction::fMylar
private

◆ fMylarPosZ

G4double DetectorConstruction::fMylarPosZ
private

◆ fMylarVolumeZ

G4double DetectorConstruction::fMylarVolumeZ
private

◆ fNbOfAbsor

G4int DetectorConstruction::fNbOfAbsor
private

◆ fNbOfDivisions

G4int DetectorConstruction::fNbOfDivisions[MaxAbsor]
private

◆ fNbOfLayers

G4int DetectorConstruction::fNbOfLayers
private

◆ fNbOfPixelsInPhantom

G4int DetectorConstruction::fNbOfPixelsInPhantom
private

◆ fNLtot

G4int DetectorConstruction::fNLtot
private

◆ fNRtot

G4int DetectorConstruction::fNRtot
private

◆ fNucleusMaterial1

G4Material* DetectorConstruction::fNucleusMaterial1
private

◆ fNucleusMaterial2

G4Material* DetectorConstruction::fNucleusMaterial2
private

◆ fNucleusMaterial3

G4Material* DetectorConstruction::fNucleusMaterial3
private

◆ fP_Box

G4VPhysicalVolume* DetectorConstruction::fP_Box
private

◆ fPadLength

G4double DetectorConstruction::fPadLength
private

◆ fPadWidth

G4double DetectorConstruction::fPadWidth
private

◆ fpBarycenterList

Barycenter* DetectorConstruction::fpBarycenterList
private

◆ fPBox

G4VPhysicalVolume * DetectorConstruction::fPBox
private

◆ fPdbFileName

G4String DetectorConstruction::fPdbFileName
private

◆ fPdbFileStatus

unsigned short int DetectorConstruction::fPdbFileStatus
private

Check if PDB file loaded.

Definition at line 78 of file examples/extended/medical/dna/pdb4dna/include/DetectorConstruction.hh.

◆ fPDBlib

PDBlib DetectorConstruction::fPDBlib
private

◆ fpDefaultMaterial

G4Material * DetectorConstruction::fpDefaultMaterial
private

◆ fPhantomPosZ

G4double DetectorConstruction::fPhantomPosZ
private

◆ fPhantomRadius

G4double DetectorConstruction::fPhantomRadius
private

◆ fPhantomSD

PhantomSD* DetectorConstruction::fPhantomSD
private

◆ fPhantomZ

G4double DetectorConstruction::fPhantomZ
private

◆ fPhysi1Gap

G4VPhysicalVolume* DetectorConstruction::fPhysi1Gap
private

◆ fPhysi2Gap

G4VPhysicalVolume* DetectorConstruction::fPhysi2Gap
private

◆ fPhysi3Gap

G4VPhysicalVolume* DetectorConstruction::fPhysi3Gap
private

◆ fPhysi4Gap

G4VPhysicalVolume* DetectorConstruction::fPhysi4Gap
private

◆ fPhysi5Gap

G4VPhysicalVolume* DetectorConstruction::fPhysi5Gap
private

◆ fPhysiAbsor

G4VPhysicalVolume* DetectorConstruction::fPhysiAbsor[MaxAbsor]
private

◆ fPhysiAbsorber

G4VPhysicalVolume * DetectorConstruction::fPhysiAbsorber
private

◆ fPhysiBoite

G4VPhysicalVolume* DetectorConstruction::fPhysiBoite
private

◆ fPhysiBoite2

G4VPhysicalVolume* DetectorConstruction::fPhysiBoite2
private

◆ fPhysiBoite3

G4VPhysicalVolume* DetectorConstruction::fPhysiBoite3
private

◆ fPhysiBoiteIso

G4VPhysicalVolume* DetectorConstruction::fPhysiBoiteIso
private

◆ fPhysiCalor

G4VPhysicalVolume * DetectorConstruction::fPhysiCalor
private

◆ fPhysiCathode

G4VPhysicalVolume* DetectorConstruction::fPhysiCathode
private

◆ fPhysiControlVol_GridShadow

G4VPhysicalVolume* DetectorConstruction::fPhysiControlVol_GridShadow
private

◆ fPhysiEcal

G4VPhysicalVolume* DetectorConstruction::fPhysiEcal
private

◆ fPhysiGap

G4VPhysicalVolume * DetectorConstruction::fPhysiGap
private

◆ fPhysiGridVol

G4VPhysicalVolume* DetectorConstruction::fPhysiGridVol
private

◆ fPhysiGridVol_Hole

G4VPhysicalVolume* DetectorConstruction::fPhysiGridVol_Hole
private

◆ fPhysiIso

G4VPhysicalVolume* DetectorConstruction::fPhysiIso
private

◆ fPhysiKgm

G4VPhysicalVolume* DetectorConstruction::fPhysiKgm
private

◆ fPhysiLayer

G4VPhysicalVolume * DetectorConstruction::fPhysiLayer
private

◆ fPhysiPhantom

G4VPhysicalVolume* DetectorConstruction::fPhysiPhantom
private

◆ fPhysiVerre

G4VPhysicalVolume* DetectorConstruction::fPhysiVerre
private

◆ fPhysiVerre2

G4VPhysicalVolume* DetectorConstruction::fPhysiVerre2
private

◆ fPhysiVol

G4VPhysicalVolume * DetectorConstruction::fPhysiVol
private

◆ fPhysiWorld

G4VPhysicalVolume * DetectorConstruction::fPhysiWorld
private

◆ fPhysiYoke1

G4VPhysicalVolume* DetectorConstruction::fPhysiYoke1
private

◆ fPhysiYoke2

G4VPhysicalVolume* DetectorConstruction::fPhysiYoke2
private

◆ fPhysWorld

G4VPhysicalVolume* DetectorConstruction::fPhysWorld
private

◆ fpMessenger

DetectorMessenger* DetectorConstruction::fpMessenger
private

◆ fpMoleculeList

Molecule* DetectorConstruction::fpMoleculeList
private

◆ fpRegion

G4Region* DetectorConstruction::fpRegion
private

◆ fProfile

G4int DetectorConstruction::fProfile

◆ fPropInField

G4PropagatorInField * DetectorConstruction::fPropInField
private

◆ fPvol_Frame

G4VPhysicalVolume* DetectorConstruction::fPvol_Frame
private

◆ fPvol_World

G4VPhysicalVolume* DetectorConstruction::fPvol_World
private

◆ fpWaterMaterial

G4Material * DetectorConstruction::fpWaterMaterial
private

◆ fPWorld

G4VPhysicalVolume* DetectorConstruction::fPWorld
private

◆ fRadius

G4double DetectorConstruction::fRadius
private

◆ fRadius_World

G4double DetectorConstruction::fRadius_World
private

◆ fRegGasDet

G4Region* DetectorConstruction::fRegGasDet
private

◆ fRegion

G4Region* DetectorConstruction::fRegion
private

◆ fSiMaterial

G4Material* DetectorConstruction::fSiMaterial
private

◆ fSolid1Gap

G4Cons* DetectorConstruction::fSolid1Gap
private

◆ fSolid2Gap

G4Cons* DetectorConstruction::fSolid2Gap
private

◆ fSolid3Gap

G4Cons* DetectorConstruction::fSolid3Gap
private

◆ fSolid4Gap

G4Cons* DetectorConstruction::fSolid4Gap
private

◆ fSolid5Gap

G4Cons* DetectorConstruction::fSolid5Gap
private

◆ fSolidAbsor

G4Box* DetectorConstruction::fSolidAbsor[MaxAbsor]
private

◆ fSolidAbsorber

G4Box * DetectorConstruction::fSolidAbsorber
private

◆ fSolidBoite

G4Box* DetectorConstruction::fSolidBoite
private

◆ fSolidBoite2

G4Box* DetectorConstruction::fSolidBoite2
private

◆ fSolidBoite3

G4Box* DetectorConstruction::fSolidBoite3
private

◆ fSolidBoiteIso

G4Box* DetectorConstruction::fSolidBoiteIso
private

◆ fSolidCalor

G4Box * DetectorConstruction::fSolidCalor
private

◆ fSolidCathode

G4Box* DetectorConstruction::fSolidCathode
private

◆ fSolidContainer

G4Tubs* DetectorConstruction::fSolidContainer
private

◆ fSolidControlVol_GridShadow

G4Box* DetectorConstruction::fSolidControlVol_GridShadow
private

◆ fSolidDetector

G4Tubs* DetectorConstruction::fSolidDetector
private

◆ fSolidEcal

G4Tubs* DetectorConstruction::fSolidEcal
private

◆ fSolidGap

G4Box * DetectorConstruction::fSolidGap
private

◆ fSolidGridVol

G4Box* DetectorConstruction::fSolidGridVol
private

◆ fSolidGridVol_Hole

G4Box* DetectorConstruction::fSolidGridVol_Hole
private

◆ fSolidIso

G4Box* DetectorConstruction::fSolidIso
private

◆ fSolidKgm

G4Box* DetectorConstruction::fSolidKgm
private

◆ fSolidLayer

G4Box * DetectorConstruction::fSolidLayer
private

◆ fSolidPhantom

G4Box* DetectorConstruction::fSolidPhantom
private

◆ fSolidVerre

G4Box* DetectorConstruction::fSolidVerre
private

◆ fSolidVerre2

G4Box* DetectorConstruction::fSolidVerre2
private

◆ fSolidVol

G4Box * DetectorConstruction::fSolidVol
private

◆ fSolidWorld [1/2]

G4Tubs* DetectorConstruction::fSolidWorld
private

◆ fSolidWorld [2/2]

G4Box * DetectorConstruction::fSolidWorld
private

◆ fSolidYoke1

G4Box* DetectorConstruction::fSolidYoke1
private

◆ fSolidYoke2

G4Box* DetectorConstruction::fSolidYoke2
private

◆ fStepper

G4MagIntegratorStepper * DetectorConstruction::fStepper
private

◆ fTallyMass

G4double DetectorConstruction::fTallyMass[MaxTally]
private

◆ fTallyMaterial

G4Material* DetectorConstruction::fTallyMaterial[MaxTally]
private

◆ fTallyNumber

G4int DetectorConstruction::fTallyNumber
private

◆ fTallyPosition

G4ThreeVector DetectorConstruction::fTallyPosition[MaxTally]
private

◆ fTallySize

G4ThreeVector DetectorConstruction::fTallySize[MaxTally]
private

◆ fTarget1Material

G4Material* DetectorConstruction::fTarget1Material
private

◆ fTarget1PosZ

G4double DetectorConstruction::fTarget1PosZ
private

◆ fTarget1Z

G4double DetectorConstruction::fTarget1Z
private

◆ fTarget2Material

G4Material* DetectorConstruction::fTarget2Material
private

◆ fTarget2PosZ

G4double DetectorConstruction::fTarget2PosZ
private

◆ fTarget2Z

G4double DetectorConstruction::fTarget2Z
private

◆ fTargetLength

G4double DetectorConstruction::fTargetLength
private

◆ fTargetMater

G4Material* DetectorConstruction::fTargetMater
private

◆ fTargetMaterial

G4Material * DetectorConstruction::fTargetMaterial
private

◆ fTargetRadius

G4double DetectorConstruction::fTargetRadius
private

◆ fTargetSD

TargetSD * DetectorConstruction::fTargetSD
private

◆ fTargetVolumePosZ

G4double DetectorConstruction::fTargetVolumePosZ
private

◆ fTargetVolumeZ

G4double DetectorConstruction::fTargetVolumeZ
private

◆ fThickness_Bag

G4double DetectorConstruction::fThickness_Bag
private

◆ fThickness_ExitWindow

G4double DetectorConstruction::fThickness_ExitWindow
private

◆ fThickness_Frame

G4double DetectorConstruction::fThickness_Frame
private

◆ fThickness_Gas

G4double DetectorConstruction::fThickness_Gas
private

◆ fThickness_MonitorChbr

G4double DetectorConstruction::fThickness_MonitorChbr
private

◆ fThickness_Ring

G4double DetectorConstruction::fThickness_Ring
private

◆ fThickness_ScatterFoil

G4double DetectorConstruction::fThickness_ScatterFoil
private

◆ fThickness_World

G4double DetectorConstruction::fThickness_World
private

◆ fTotalThickness

G4double DetectorConstruction::fTotalThickness
private

◆ fTrackingCut

G4double DetectorConstruction::fTrackingCut
private

◆ fTrdVolume

G4LogicalVolume* DetectorConstruction::fTrdVolume
private

◆ fUserLimits

G4UserLimits * DetectorConstruction::fUserLimits
private

◆ fVerre2Material

G4Material* DetectorConstruction::fVerre2Material
private

◆ fVerreMaterial

G4Material* DetectorConstruction::fVerreMaterial
private

◆ fVertexDetectorCuts

G4ProductionCuts* DetectorConstruction::fVertexDetectorCuts
private

◆ fVertexLength

G4double DetectorConstruction::fVertexLength
private

◆ fVertexRegion

G4Region* DetectorConstruction::fVertexRegion
private

◆ fVertMaterial

G4Material* DetectorConstruction::fVertMaterial
private

◆ fWall

G4VPhysicalVolume * DetectorConstruction::fWall
private

◆ fWallMaterial

G4Material * DetectorConstruction::fWallMaterial
private

◆ fWallRadius

G4double DetectorConstruction::fWallRadius
private

◆ fWallThickness

G4double DetectorConstruction::fWallThickness
private

◆ fWindowMat

G4Material* DetectorConstruction::fWindowMat
private

◆ fWindowMaterial

G4Material* DetectorConstruction::fWindowMaterial
private

◆ fWindowPosZ

G4double DetectorConstruction::fWindowPosZ
private

◆ fWindowThick

G4double DetectorConstruction::fWindowThick
private

◆ fWindowZ

G4double DetectorConstruction::fWindowZ
private

◆ fWMaterial

G4Material* DetectorConstruction::fWMaterial
private

◆ fWorld

G4VPhysicalVolume* DetectorConstruction::fWorld
private

◆ fWorldLength

G4double DetectorConstruction::fWorldLength
private

◆ fWorldMat

G4Material* DetectorConstruction::fWorldMat
private

◆ fWorldMater

G4Material* DetectorConstruction::fWorldMater
private

◆ fWorldMaterial

G4Material * DetectorConstruction::fWorldMaterial
private

◆ fWorldRadius

G4double DetectorConstruction::fWorldRadius
private

◆ fWorldSize

G4double DetectorConstruction::fWorldSize
private

◆ fWorldSizeX

G4double DetectorConstruction::fWorldSizeX
private

◆ fWorldSizeXY

G4double DetectorConstruction::fWorldSizeXY
private

◆ fWorldSizeY

G4double DetectorConstruction::fWorldSizeY
private

◆ fWorldSizeYZ

G4double DetectorConstruction::fWorldSizeYZ
private

◆ fWorldSizeZ

G4double DetectorConstruction::fWorldSizeZ
private

◆ fWorldThickness

G4double DetectorConstruction::fWorldThickness
private

◆ fWorldVolume

G4LogicalVolume* DetectorConstruction::fWorldVolume
private

◆ fWorldXY

G4double DetectorConstruction::fWorldXY
private

◆ fWorldZ

G4double DetectorConstruction::fWorldZ
private

◆ fXendAbs

G4double DetectorConstruction::fXendAbs
private

◆ fXfront

G4double DetectorConstruction::fXfront[MaxAbsor]
private

◆ fXposAbs

G4double DetectorConstruction::fXposAbs
private

◆ fXstartAbs

G4double DetectorConstruction::fXstartAbs
private

◆ fYorkMaterial

G4Material* DetectorConstruction::fYorkMaterial
private

◆ fZfront_Bag

G4double DetectorConstruction::fZfront_Bag
private

◆ fZfront_ExitWindow

G4double DetectorConstruction::fZfront_ExitWindow
private

◆ fZfront_Frame

G4double DetectorConstruction::fZfront_Frame
private

◆ fZfront_MonitorChbr

G4double DetectorConstruction::fZfront_MonitorChbr
private

◆ fZfront_ScatterFoil

G4double DetectorConstruction::fZfront_ScatterFoil
private

◆ Iron

G4Material* DetectorConstruction::Iron
private

◆ layerThickness

G4double DetectorConstruction::layerThickness
private

◆ Lead

G4Material* DetectorConstruction::Lead
private

◆ LiquidArgon

G4Material* DetectorConstruction::LiquidArgon
private

◆ logicAbsorber

G4LogicalVolume* DetectorConstruction::logicAbsorber
private

◆ lvol_calorimeter

G4LogicalVolume* DetectorConstruction::lvol_calorimeter
private

◆ lvol_fiber

G4LogicalVolume* DetectorConstruction::lvol_fiber
private

◆ lvol_layer

G4LogicalVolume* DetectorConstruction::lvol_layer
private

◆ lvol_module

G4LogicalVolume* DetectorConstruction::lvol_module
private

◆ lvol_world

G4LogicalVolume* DetectorConstruction::lvol_world
private

◆ milledLayer

G4double DetectorConstruction::milledLayer
private

◆ moduleMat

G4Material* DetectorConstruction::moduleMat
private

◆ moduleThickness

G4double DetectorConstruction::moduleThickness
private

◆ nbOfFibers

G4int DetectorConstruction::nbOfFibers
private

◆ nbOfLayers

G4int DetectorConstruction::nbOfLayers
private

◆ nbOfModules

G4int DetectorConstruction::nbOfModules
private

◆ pBox

G4VPhysicalVolume * DetectorConstruction::pBox
private

◆ PbWO4

G4Material* DetectorConstruction::PbWO4
private

◆ physiAbsorber

G4VPhysicalVolume* DetectorConstruction::physiAbsorber
private

◆ Polystyrene

G4Material* DetectorConstruction::Polystyrene
private

◆ pvol_world

G4VPhysicalVolume* DetectorConstruction::pvol_world
private

◆ pWorld

G4VPhysicalVolume* DetectorConstruction::pWorld
private

◆ theAbsorberMaterial

G4Material* DetectorConstruction::theAbsorberMaterial
private

◆ Tungsten

G4Material* DetectorConstruction::Tungsten
private

◆ Uranium

G4Material* DetectorConstruction::Uranium
private

◆ wMaterial

G4Material* DetectorConstruction::wMaterial
private

◆ worldMat

G4Material* DetectorConstruction::worldMat
private

◆ worldSize

G4double DetectorConstruction::worldSize
private

◆ worldSizeX

G4double DetectorConstruction::worldSizeX
private

The documentation for this class was generated from the following files: