Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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, 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 ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetMaterial (const G4String &)
 
const G4VPhysicalVolumeGetWorld () const
 
G4double GetSize () const
 
const G4MaterialGetMaterial () const
 
void PrintParameters () const
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
void SetSize (G4double)
 
void SetMaterial (G4String)
 
const G4VPhysicalVolumeGetWorld ()
 
G4double GetSize ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
void DefineMaterials ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetDetectorSetUp (G4String setup)
 
RadiatorDescriptionGetRadiatorDescription () const
 
G4MaterialGetAbsorberMaterial () const
 
 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 ()
 
virtual ~DetectorConstruction ()
 
void SetRadius (G4double)
 
void SetMaterial (G4String)
 
void SetNbOfLayers (G4int nb)
 
virtual G4VPhysicalVolumeConstruct ()
 
G4double GetAbsorRadius ()
 
G4MaterialGetAbsorMaterial ()
 
G4int GetNbOfLayers ()
 
void PrintParameters ()
 
void DefineMaterials ()
 
 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 ()
 
virtual ~DetectorConstruction ()
 
void SetSizeX (G4double)
 
void SetSizeYZ (G4double)
 
void SetMaterial (const G4String &)
 
void SetWorldMaterial (const G4String &)
 
void SetMagField (G4double)
 
void SetTallyNumber (G4int)
 
void SetTallySize (G4int, const G4ThreeVector &)
 
void SetTallyPosition (G4int, const G4ThreeVector &)
 
virtual G4VPhysicalVolumeConstruct ()
 
G4double GetWorldSizeX () const
 
G4double GetWorldSizeYZ () const
 
G4double GetAbsorSizeX () const
 
G4double GetAbsorSizeYZ () const
 
G4int GetTallyNumber () const
 
const G4MaterialGetWorldMaterial () const
 
const G4MaterialGetAbsorMaterial () const
 
G4double GetTallyMass (G4int n) const
 
const G4LogicalVolumeGetLogicalTally (G4int n) const
 
void PrintParameters () const
 
 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 ()
 
 ~DetectorConstruction ()
 
G4MaterialMaterialWithSingleIsotope (G4String, G4String, G4double, G4int, G4int)
 
void SetNbOfAbsor (G4int)
 
void SetAbsorMaterial (G4int, const G4String &)
 
void SetAbsorThickness (G4int, G4double)
 
void SetAbsorSizeYZ (G4double)
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
G4int GetNbOfAbsor ()
 
G4MaterialGetAbsorMaterial (G4int i)
 
G4double GetAbsorThickness (G4int i)
 
G4double GetXfront (G4int i)
 
G4double GetAbsorSizeX ()
 
G4double GetAbsorSizeYZ ()
 
G4double GetWorldSizeX ()
 
G4double GetWorldSizeYZ ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
G4MaterialMaterialWithSingleIsotope (G4String, G4String, G4double, G4int, G4int)
 
void SetAbsorRadius (G4double)
 
void SetAbsorLength (G4double)
 
void SetAbsorMaterial (G4String)
 
void SetContainThickness (G4double)
 
void SetContainMaterial (G4String)
 
G4double GetAbsorRadius ()
 
G4double GetAbsorLength ()
 
G4MaterialGetAbsorMaterial ()
 
G4double GetContainThickness ()
 
G4MaterialGetContainMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetMaterial (G4String)
 
 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)
 
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
 

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:

  • PlaceWithDirectMatrix()
  • PlaceWithInverseMatrix()
  • PlaceWithAxialRotations()
  • PlaceWithEulerAngles()
  • PlaceWithReflections()

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 and geometry.

Crystals are positioned in Ring, with an appropriate rotation matrix. Several copies of Ring are placed in the full detector.

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

Definition at line 46 of file DetectorConstruction.hh.

Member Enumeration Documentation

Constructor & Destructor Documentation

DetectorConstruction::DetectorConstruction ( )

Definition at line 54 of file DetectorConstruction.cc.

55 :pBox(0), aMaterial(0)
56 {
57  BoxSize = 1*mm;
58  DefineMaterials();
59  SetMaterial("Germanium");
60  detectorMessenger = new DetectorMessenger(this);
61 }
static constexpr double mm
Definition: G4SIunits.hh:115

Here is the call graph for this function:

DetectorConstruction::~DetectorConstruction ( )

Definition at line 65 of file DetectorConstruction.cc.

66 { delete detectorMessenger;}
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( AnalysisManager analysis)

Definition at line 53 of file DetectorConstruction.cc.

54 {
55 analysis = analysis_manager;
56 }
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
virtual DetectorConstruction::~DetectorConstruction ( )
virtual
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )

Member Function Documentation

void DetectorConstruction::BuildBoundingVolume ( )

Definition at line 808 of file DetectorConstruction.cc.

809 {
810  if (fPdbFileStatus>0) //a PDB file has been loaded
811  {
812  G4cout<<"Build only world volume and bounding volume"
813  " for computation."<<G4endl<<G4endl;
814 #ifdef G4MULTITHREADED
816  DefineVolumes(fPdbFileName,10)
817  );
819 #else
821  DefineVolumes(fPdbFileName,10)
822  );
823 #endif
824  }
825  else G4cout<<"PDB file not found!"<<G4endl<<G4endl;
826 }
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:

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
G4VPhysicalVolume * DetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 70 of file DetectorConstruction.cc.

71 {
72  return ConstructVolumes();
73 }

Here is the caller graph for this function:

virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* DetectorConstruction::Construct ( )
virtual
virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

Definition at line 357 of file 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 }
CLHEP::Hep3Vector G4ThreeVector
value_type & Get() const
Definition: G4Cache.hh:282
void Register(T *inst)
Definition: G4AutoDelete.hh:65
void Put(const value_type &val) const
Definition: G4Cache.hh:286

Here is the call graph for this function:

void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

void DetectorConstruction::DefineMaterials ( )
void DetectorConstruction::DefineMaterials ( )
void DetectorConstruction::DrawAtoms_ ( )

Definition at line 830 of file DetectorConstruction.cc.

831 {
832  if (fPdbFileStatus>0) //a PDB file has been loaded
833  {
834 #ifdef G4MULTITHREADED
836  DefineVolumes(fPdbFileName,1)
837  );
839 #else
841  DefineVolumes(fPdbFileName,1)
842  );
843 #endif
844  }
845  else G4cout<<"PDB file not found!"<<G4endl<<G4endl;
846 }
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:

void DetectorConstruction::DrawAtomsWithBounding_ ( )

Definition at line 890 of file DetectorConstruction.cc.

891 {
892  if (fPdbFileStatus>0) //a PDB file has been loaded
893  {
894 #ifdef G4MULTITHREADED
896  DefineVolumes(fPdbFileName,11)
897  );
899 #else
901  DefineVolumes(fPdbFileName,11)
902  );
903 #endif
904  }
905  else G4cout<<"PDB file not found!"<<G4endl<<G4endl;
906 }
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:

void DetectorConstruction::DrawNucleotides_ ( )

Definition at line 850 of file DetectorConstruction.cc.

851 {
852  if (fPdbFileStatus>0) //a PDB file has been loaded
853  {
854 #ifdef G4MULTITHREADED
856  DefineVolumes(fPdbFileName,2)
857  );
859 #else
861  DefineVolumes(fPdbFileName,2)
862  );
863 #endif
864  }
865  else G4cout<<"PDB file not found!"<<G4endl<<G4endl;
866 }
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:

void DetectorConstruction::DrawNucleotidesWithBounding_ ( )

Definition at line 910 of file DetectorConstruction.cc.

911 {
912  if (fPdbFileStatus>0) //a PDB file has been loaded
913  {
914 #ifdef G4MULTITHREADED
916  DefineVolumes(fPdbFileName,12)
917  );
919 #else
921  DefineVolumes(fPdbFileName,12)
922  );
923 #endif
924  }
925  else G4cout<<"PDB file not found!"<<G4endl<<G4endl;
926 }
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:

void DetectorConstruction::DrawResidues_ ( )

Definition at line 870 of file DetectorConstruction.cc.

871 {
872  if (fPdbFileStatus>0) //a PDB file has been loaded
873  {
874 #ifdef G4MULTITHREADED
876  DefineVolumes(fPdbFileName,3)
877  );
879 #else
881  DefineVolumes(fPdbFileName,3)
882  );
883 #endif
884  }
885  else G4cout<<"PDB file not found!"<<G4endl<<G4endl;
886 }
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:

void DetectorConstruction::DrawResiduesWithBounding_ ( )

Definition at line 930 of file DetectorConstruction.cc.

931 {
932  if (fPdbFileStatus>0) //a PDB file has been loaded
933  {
934 #ifdef G4MULTITHREADED
936  DefineVolumes(fPdbFileName,13)
937  );
939 #else
941  DefineVolumes(fPdbFileName,13)
942  );
943 #endif
944  }
945  else G4cout<<"PDB file not found!"<<G4endl<<G4endl;
946 }
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:

const G4VPhysicalVolume* DetectorConstruction::GetAbsorber ( )
inline

Definition at line 90 of file DetectorConstruction.hh.

90 {return fPhysiAbsorber;};
const G4VPhysicalVolume* DetectorConstruction::GetAbsorber ( )
inline

Definition at line 90 of file DetectorConstruction.hh.

90 {return fPhysiAbsorber;};
const G4VPhysicalVolume* DetectorConstruction::GetAbsorber ( )
inline

Definition at line 90 of file DetectorConstruction.hh.

90 {return fPhysiAbsorber;};
const G4VPhysicalVolume* DetectorConstruction::GetAbsorber ( )
inline

Definition at line 90 of file DetectorConstruction.hh.

90 {return fPhysiAbsorber;};
const G4VPhysicalVolume* DetectorConstruction::GetAbsorber ( G4int  i)
inline

Definition at line 91 of file DetectorConstruction.hh.

91 {return fPhysiAbsor[i];};
const G4VPhysicalVolume* DetectorConstruction::GetAbsorber ( )
inline

Definition at line 91 of file DetectorConstruction.hh.

91 {return fPhysiAbsorber;};
G4Material * DetectorConstruction::GetAbsorberMaterial ( ) const

Definition at line 152 of file DetectorConstruction.cc.

153 {
154  G4LogicalVolume* lv
156 
157  if ( ! lv ) {
158  G4cerr << "Absorber logical volume is not defined." << G4endl;
159  return 0;
160  }
161 
162  return lv->GetMaterial();
163 }
G4Material * GetMaterial() const
G4LogicalVolume * GetVolume(const G4String &name, G4bool verbose=true) const
static G4LogicalVolumeStore * GetInstance()
#define G4endl
Definition: G4ios.hh:61
G4GLOB_DLL std::ostream G4cerr

Here is the call graph for this function:

G4Material* DetectorConstruction::GetAbsorberMaterial ( )
inline

Definition at line 80 of file DetectorConstruction.hh.

80 {return fAbsorberMaterial;};
G4Material* DetectorConstruction::GetAbsorberMaterial ( )
inline

Definition at line 83 of file DetectorConstruction.hh.

83 {return fAbsorberMaterial;};
G4Material* DetectorConstruction::GetAbsorberMaterial ( )
inline

Definition at line 83 of file DetectorConstruction.hh.

83 {return fAbsorberMaterial;};

Here is the caller graph for this function:

G4Material* DetectorConstruction::GetAbsorberMaterial ( )
inline

Definition at line 83 of file DetectorConstruction.hh.

83 {return fAbsorberMaterial;};
G4Material* DetectorConstruction::GetAbsorberMaterial ( )
inline

Definition at line 83 of file DetectorConstruction.hh.

83 {return fAbsorberMaterial;};
G4double DetectorConstruction::GetAbsorberSizeYZ ( )
inline

Definition at line 82 of file DetectorConstruction.hh.

82 {return fAbsorberSizeYZ;};
G4double DetectorConstruction::GetAbsorberThickness ( )
inline

Definition at line 81 of file DetectorConstruction.hh.

81 {return fAbsorberThickness;};
G4double DetectorConstruction::GetAbsorberThickness ( )
inline

Definition at line 84 of file DetectorConstruction.hh.

84 {return fAbsorberThickness;};
G4double DetectorConstruction::GetAbsorberThickness ( )
inline

Definition at line 84 of file DetectorConstruction.hh.

84 {return fAbsorberThickness;};

Here is the caller graph for this function:

G4double DetectorConstruction::GetAbsorberThickness ( )
inline

Definition at line 84 of file DetectorConstruction.hh.

84 {return fAbsorberThickness;};
G4double DetectorConstruction::GetAbsorberThickness ( )
inline

Definition at line 84 of file DetectorConstruction.hh.

84 {return fAbsorberThickness;};
G4double DetectorConstruction::GetAbsorberXpos ( )
inline

Definition at line 84 of file DetectorConstruction.hh.

84 {return fXposAbs;};
G4double DetectorConstruction::GetAbsorLength ( )
inline

Definition at line 71 of file DetectorConstruction.hh.

71 {return fAbsorLength;};
G4double DetectorConstruction::GetAbsorMass ( ) const
inline

Definition at line 67 of file 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:

G4double DetectorConstruction::GetAbsorMass ( ) const
inline

Definition at line 67 of file 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:

G4double DetectorConstruction::GetAbsorMass ( ) const
inline

Definition at line 67 of file 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:

G4Material* DetectorConstruction::GetAbsorMaterial ( ) const
inline

Definition at line 63 of file DetectorConstruction.hh.

64  {
65  return fAbsorMaterial;
66  }
G4Material* DetectorConstruction::GetAbsorMaterial ( ) const
inline

Definition at line 63 of file DetectorConstruction.hh.

64  {
65  return fAbsorMaterial;
66  }
G4Material* DetectorConstruction::GetAbsorMaterial ( ) const
inline

Definition at line 63 of file DetectorConstruction.hh.

64  {
65  return fAbsorMaterial;
66  }
G4Material* DetectorConstruction::GetAbsorMaterial ( )
inline

Definition at line 67 of file DetectorConstruction.hh.

67 {return fAbsorMaterial;};
const G4Material* DetectorConstruction::GetAbsorMaterial ( )
inline

Definition at line 69 of file DetectorConstruction.hh.

69 {return fAbsorMaterial;};
G4Material* DetectorConstruction::GetAbsorMaterial ( )
inline

Definition at line 72 of file DetectorConstruction.hh.

72 {return fAbsorMaterial;};
G4Material* DetectorConstruction::GetAbsorMaterial ( G4int  i)
inline

Definition at line 75 of file DetectorConstruction.hh.

75 {return fAbsorMaterial[i];};
const G4Material* DetectorConstruction::GetAbsorMaterial ( ) const
inline

Definition at line 76 of file DetectorConstruction.hh.

76 {return fAbsorMaterial;};
G4Material* DetectorConstruction::GetAbsorMaterial ( G4int  i)
inline

Definition at line 77 of file DetectorConstruction.hh.

77 {return fAbsorMaterial[i];};
G4Material* DetectorConstruction::GetAbsorMaterial ( G4int  i)
inline

Definition at line 86 of file DetectorConstruction.hh.

86 {return fAbsorMaterial[i];};
G4double DetectorConstruction::GetAbsorRadius ( ) const
inline

Definition at line 59 of file DetectorConstruction.hh.

60  {
61  return fAbsorRadius;
62  }
G4double DetectorConstruction::GetAbsorRadius ( ) const
inline

Definition at line 59 of file DetectorConstruction.hh.

60  {
61  return fAbsorRadius;
62  }
G4double DetectorConstruction::GetAbsorRadius ( ) const
inline

Definition at line 59 of file DetectorConstruction.hh.

60  {
61  return fAbsorRadius;
62  }
G4double DetectorConstruction::GetAbsorRadius ( )
inline

Definition at line 66 of file DetectorConstruction.hh.

66 {return fAbsorRadius;};
G4double DetectorConstruction::GetAbsorRadius ( )
inline

Definition at line 70 of file DetectorConstruction.hh.

70 {return fAbsorRadius;};
G4double DetectorConstruction::GetAbsorSizeX ( )
inline

Definition at line 67 of file DetectorConstruction.hh.

67 {return fAbsorSizeX;};
G4double DetectorConstruction::GetAbsorSizeX ( ) const
inline

Definition at line 71 of file DetectorConstruction.hh.

71 {return fAbsorSizeX;};
G4double DetectorConstruction::GetAbsorSizeX ( )
inline

Definition at line 79 of file DetectorConstruction.hh.

79 {return fAbsorSizeX;};
G4double DetectorConstruction::GetAbsorSizeX ( )
inline

Definition at line 81 of file DetectorConstruction.hh.

81 {return fAbsorSizeX;};
G4double DetectorConstruction::GetAbsorSizeYZ ( ) const
inline

Definition at line 72 of file DetectorConstruction.hh.

72 {return fAbsorSizeYZ;};
G4double DetectorConstruction::GetAbsorSizeYZ ( )
inline

Definition at line 80 of file DetectorConstruction.hh.

80 {return fAbsorSizeYZ;};
G4double DetectorConstruction::GetAbsorSizeYZ ( )
inline

Definition at line 82 of file DetectorConstruction.hh.

82 {return fAbsorSizeYZ;};
G4double DetectorConstruction::GetAbsorThickness ( G4int  i)
inline

Definition at line 76 of file DetectorConstruction.hh.

76 {return fAbsorThickness[i];};
G4double DetectorConstruction::GetAbsorThickness ( G4int  i)
inline

Definition at line 78 of file DetectorConstruction.hh.

78 {return fAbsorThickness[i];};
G4double DetectorConstruction::GetAbsorThickness ( G4int  i)
inline

Definition at line 87 of file DetectorConstruction.hh.

87 {return fAbsorThickness[i];};
Barycenter * DetectorConstruction::GetBarycenterList ( )

Definition at line 282 of file DetectorConstruction.cc.

283 {
284  return fpBarycenterList;
285 }
const G4VPhysicalVolume* DetectorConstruction::GetBox ( )
inline

Definition at line 67 of file DetectorConstruction.hh.

67 {return fBox;};
const G4VPhysicalVolume* DetectorConstruction::GetBox ( )
inline

Definition at line 67 of file DetectorConstruction.hh.

67 {return fBox;};
G4double DetectorConstruction::GetBoxSize ( )
inline

Definition at line 70 of file DetectorConstruction.hh.

70 {return fBoxSize;};
G4double DetectorConstruction::GetBoxSizeXY ( )
inline

Definition at line 70 of file DetectorConstruction.hh.

70 {return fBoxSizeXY;};
G4double DetectorConstruction::GetBoxSizeZ ( )
inline

Definition at line 71 of file DetectorConstruction.hh.

71 {return fBoxSizeZ;};
G4double DetectorConstruction::GetCalorSizeYZ ( )
inline

Definition at line 65 of file DetectorConstruction.hh.

65 {return fiberLength;};
G4double DetectorConstruction::GetCalorSizeYZ ( )
inline

Definition at line 79 of file DetectorConstruction.hh.

79 {return fCalorSizeYZ;};
G4double DetectorConstruction::GetCalorSizeYZ ( )
inline

Definition at line 79 of file DetectorConstruction.hh.

79 {return fCalorSizeYZ;};
G4double DetectorConstruction::GetCalorSizeYZ ( )
inline

Definition at line 79 of file DetectorConstruction.hh.

79 {return fCalorSizeYZ;};
G4double DetectorConstruction::GetCalorSizeYZ ( )
inline

Definition at line 79 of file DetectorConstruction.hh.

79 {return fCalorSizeYZ;};
G4double DetectorConstruction::GetCalorSizeYZ ( )
inline

Definition at line 81 of file DetectorConstruction.hh.

81 {return fCalorSizeYZ;};
G4double DetectorConstruction::GetCalorThickness ( )
inline

Definition at line 64 of file DetectorConstruction.hh.

64 {return calorThickness;};

Here is the caller graph for this function:

G4double DetectorConstruction::GetCalorThickness ( )
inline

Definition at line 78 of file DetectorConstruction.hh.

78 {return fCalorThickness;};
G4double DetectorConstruction::GetCalorThickness ( )
inline

Definition at line 78 of file DetectorConstruction.hh.

78 {return fCalorThickness;};
G4double DetectorConstruction::GetCalorThickness ( )
inline

Definition at line 78 of file DetectorConstruction.hh.

78 {return fCalorThickness;};
G4double DetectorConstruction::GetCalorThickness ( )
inline

Definition at line 78 of file DetectorConstruction.hh.

78 {return fCalorThickness;};
G4double DetectorConstruction::GetCalorThickness ( )
inline

Definition at line 80 of file DetectorConstruction.hh.

80 {return fCalorThickness;};
G4VPhysicalVolume* DetectorConstruction::GetCavity ( )
inline

Definition at line 73 of file DetectorConstruction.hh.

73 {return fCavity;};
G4VPhysicalVolume* DetectorConstruction::GetCavity ( )
inline

Definition at line 75 of file DetectorConstruction.hh.

75 {return fCavity;};
G4Material* DetectorConstruction::GetCavityMaterial ( )
inline

Definition at line 72 of file DetectorConstruction.hh.

72 {return fCavityMaterial;};
G4Material* DetectorConstruction::GetCavityMaterial ( )
inline

Definition at line 74 of file DetectorConstruction.hh.

74 {return fCavityMaterial;};

Here is the caller graph for this function:

G4double DetectorConstruction::GetCavityRadius ( )
inline

Definition at line 73 of file DetectorConstruction.hh.

73 {return fCavityRadius;};
G4double DetectorConstruction::GetCavityThickness ( )
inline

Definition at line 71 of file DetectorConstruction.hh.

71 {return fCavityThickness;};
G4double DetectorConstruction::GetCavityThickness ( )
inline

Definition at line 72 of file DetectorConstruction.hh.

72 {return fCavityThickness;};

Here is the caller graph for this function:

CellParameterisation* DetectorConstruction::GetCellParameterisation ( )
inline

Definition at line 91 of file DetectorConstruction.hh.

91 {return fMyCellParameterisation;};
G4int DetectorConstruction::GetCoef ( )

Definition at line 293 of file DetectorConstruction.cc.

294 {
295  return fCoef;
296 }
G4Material* DetectorConstruction::GetContainMaterial ( )
inline

Definition at line 75 of file DetectorConstruction.hh.

75 {return fContainMaterial;};
G4double DetectorConstruction::GetContainThickness ( )
inline

Definition at line 74 of file DetectorConstruction.hh.

74 {return fContainThickness;};
G4Material* DetectorConstruction::GetCytoplasmMaterial1 ( )
inline

Definition at line 87 of file DetectorConstruction.hh.

87 {return fCytoplasmMaterial1;};
G4Material* DetectorConstruction::GetCytoplasmMaterial2 ( )
inline

Definition at line 88 of file DetectorConstruction.hh.

88 {return fCytoplasmMaterial2;};
G4Material* DetectorConstruction::GetCytoplasmMaterial3 ( )
inline

Definition at line 89 of file DetectorConstruction.hh.

89 {return fCytoplasmMaterial3;};
G4double DetectorConstruction::GetDetectorLength ( )

Definition at line 308 of file DetectorConstruction.cc.

309 {
310  return fDetectorLength;
311 }
G4Material * DetectorConstruction::GetDetectorMaterial ( )

Definition at line 322 of file DetectorConstruction.cc.

323 {
324  return fDetectorMater;
325 }
G4double DetectorConstruction::GetDetectorThickness ( )

Definition at line 315 of file DetectorConstruction.cc.

316 {
317  return fDetectorThickness;
318 }
G4double DetectorConstruction::GetdLlength ( )
inline

Definition at line 79 of file DetectorConstruction.hh.

79 {return fDLlength;};
G4double DetectorConstruction::GetdLradl ( )
inline

Definition at line 77 of file DetectorConstruction.hh.

77 {return fDLradl;};

Here is the caller graph for this function:

G4double DetectorConstruction::GetdRlength ( )
inline

Definition at line 80 of file DetectorConstruction.hh.

80 {return fDRlength;};

Here is the caller graph for this function:

G4double DetectorConstruction::GetdRradl ( )
inline

Definition at line 78 of file DetectorConstruction.hh.

78 {return fDRradl;};

Here is the caller graph for this function:

const G4VPhysicalVolume* DetectorConstruction::GetEcal ( )
inline

Definition at line 71 of file DetectorConstruction.hh.

71 {return fPhysiEcal;};
G4double DetectorConstruction::GetfullLength ( )
inline

Definition at line 81 of file DetectorConstruction.hh.

81 {return fEcalLength;};
G4double DetectorConstruction::GetfullRadius ( )
inline

Definition at line 82 of file DetectorConstruction.hh.

82 {return fEcalRadius;};
G4float DetectorConstruction::GetG1 ( )
inline

Definition at line 64 of file DetectorConstruction.hh.

64 {return fG1;};
G4float DetectorConstruction::GetG2 ( )
inline

Definition at line 65 of file DetectorConstruction.hh.

65 {return fG2;};
G4float DetectorConstruction::GetG3 ( )
inline

Definition at line 66 of file DetectorConstruction.hh.

66 {return fG3;};
G4float DetectorConstruction::GetG4 ( )
inline

Definition at line 67 of file DetectorConstruction.hh.

67 {return fG4;};
const G4VPhysicalVolume* DetectorConstruction::GetGap ( )
inline

Definition at line 91 of file DetectorConstruction.hh.

91 {return fPhysiGap;};
const G4VPhysicalVolume* DetectorConstruction::GetGap ( )
inline

Definition at line 91 of file DetectorConstruction.hh.

91 {return fPhysiGap;};
const G4VPhysicalVolume* DetectorConstruction::GetGap ( )
inline

Definition at line 91 of file DetectorConstruction.hh.

91 {return fPhysiGap;};
const G4VPhysicalVolume* DetectorConstruction::GetGap ( )
inline

Definition at line 91 of file DetectorConstruction.hh.

91 {return fPhysiGap;};
G4Material* DetectorConstruction::GetGapMaterial ( )
inline

Definition at line 86 of file DetectorConstruction.hh.

86 {return fGapMaterial;};
G4Material* DetectorConstruction::GetGapMaterial ( )
inline

Definition at line 86 of file DetectorConstruction.hh.

86 {return fGapMaterial;};
G4Material* DetectorConstruction::GetGapMaterial ( )
inline

Definition at line 86 of file DetectorConstruction.hh.

86 {return fGapMaterial;};
G4Material* DetectorConstruction::GetGapMaterial ( )
inline

Definition at line 86 of file DetectorConstruction.hh.

86 {return fGapMaterial;};
G4double DetectorConstruction::GetGapThickness ( )
inline

Definition at line 87 of file DetectorConstruction.hh.

87 {return fGapThickness;};
G4double DetectorConstruction::GetGapThickness ( )
inline

Definition at line 87 of file DetectorConstruction.hh.

87 {return fGapThickness;};
G4double DetectorConstruction::GetGapThickness ( )
inline

Definition at line 87 of file DetectorConstruction.hh.

87 {return fGapThickness;};
G4double DetectorConstruction::GetGapThickness ( )
inline

Definition at line 87 of file DetectorConstruction.hh.

87 {return fGapThickness;};
G4double DetectorConstruction::GetGeneratorPosZ ( ) const
inline

Definition at line 72 of file DetectorConstruction.hh.

72 { return fGeneratorPosZ; };
G4int DetectorConstruction::GetGrid ( )
inline

Definition at line 80 of file DetectorConstruction.hh.

80 {return fGrid;};
G4LogicalVolume* DetectorConstruction::GetLogicalCollDetGap4 ( )
inline

Definition at line 80 of file DetectorConstruction.hh.

80 {return fLogic4Gap;};
G4LogicalVolume* DetectorConstruction::GetLogicalCollDetYoke ( )
inline

Definition at line 78 of file DetectorConstruction.hh.

78 {return fLogicYoke2;};
G4LogicalVolume* DetectorConstruction::GetLogicalGrid ( )
inline

Definition at line 85 of file DetectorConstruction.hh.

85 {return fLogicControlVol_GridShadow;};
G4LogicalVolume* DetectorConstruction::GetLogicalIsobutane ( )
inline

Definition at line 79 of file DetectorConstruction.hh.

79 {return fLogicBoiteIso;};
G4LogicalVolume* DetectorConstruction::GetLogicalKgm ( )
inline

Definition at line 82 of file DetectorConstruction.hh.

82 {return fLogicKgm;};
G4LogicalVolume* DetectorConstruction::GetLogicalPolyprop ( )
inline

Definition at line 81 of file DetectorConstruction.hh.

81 {return fLogicBoite3;};
const G4LogicalVolume * DetectorConstruction::GetLogicalTally ( G4int  n) const

Definition at line 366 of file DetectorConstruction.cc.

367 {
368  if(j >= 0 && j < kMaxTally) {
369  return fLTally[j];
370  } else {
371  G4cout << "### DetectorConstruction::GetLOgicalTally WARNING: wrong tally "
372  << "number " << j << " is ignored" << G4endl;
373  return nullptr;
374  }
375 }
G4GLOB_DLL std::ostream G4cout
const G4int kMaxTally
#define G4endl
Definition: G4ios.hh:61
G4LogicalVolume* DetectorConstruction::GetLogicalVol ( )
inline

Definition at line 84 of file DetectorConstruction.hh.

84 {return fLogicVol;};
G4LogicalVolume* DetectorConstruction::GetLogicalWorld ( )
inline

Definition at line 83 of file DetectorConstruction.hh.

83 {return fLogicWorld;};
G4LogicalVolume * DetectorConstruction::GetLogicDetector ( )

Definition at line 329 of file DetectorConstruction.cc.

330 {
331  return fLogicDetector;
332 }
G4LogicalVolume * DetectorConstruction::GetLogicTarget ( )

Definition at line 301 of file DetectorConstruction.cc.

302 {
303  return fLogicTarget;
304 }
G4LogicalVolume* DetectorConstruction::GetLvolCalorimeter ( )
inline

Definition at line 71 of file DetectorConstruction.hh.

71 {return lvol_calorimeter;};
G4LogicalVolume* DetectorConstruction::GetLvolFiber ( )
inline

Definition at line 68 of file DetectorConstruction.hh.

68 {return lvol_fiber;};

Here is the caller graph for this function:

G4LogicalVolume* DetectorConstruction::GetLvolLayer ( )
inline

Definition at line 69 of file DetectorConstruction.hh.

69 {return lvol_layer;};

Here is the caller graph for this function:

G4LogicalVolume* DetectorConstruction::GetLvolModule ( )
inline

Definition at line 70 of file DetectorConstruction.hh.

70 {return lvol_module;};

Here is the caller graph for this function:

G4LogicalVolume* DetectorConstruction::GetLvolWorld ( )
inline

Definition at line 72 of file DetectorConstruction.hh.

72 {return lvol_world;};

Here is the caller graph for this function:

G4double DetectorConstruction::GetMassCytoplasm ( )
inline

Definition at line 71 of file DetectorConstruction.hh.

71 {return fMassCytoplasm;}
G4double DetectorConstruction::GetMassNucleus ( )
inline

Definition at line 68 of file DetectorConstruction.hh.

68 {return fMassNucleus;}
const G4Material* DetectorConstruction::GetMaterial ( ) const
inline

Definition at line 65 of file DetectorConstruction.hh.

65 {return fMaterial;};
G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 65 of file DetectorConstruction.hh.

65 {return aMaterial;};

Here is the caller graph for this function:

G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 66 of file DetectorConstruction.hh.

66 {return fMaterial;};
G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 66 of file DetectorConstruction.hh.

66 {return fMaterial;};
G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 67 of file DetectorConstruction.hh.

67 {return fMaterial;};
G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 68 of file DetectorConstruction.hh.

68 {return fMaterial;};
G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 70 of file DetectorConstruction.hh.

70 {return fMaterial;};
G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 70 of file DetectorConstruction.hh.

70 {return fMaterial;};
G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 70 of file DetectorConstruction.hh.

70 {return fMaterial;};
G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 71 of file DetectorConstruction.hh.

71 {return fMaterial;};
G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 71 of file DetectorConstruction.hh.

71 {return fMaterial;};
G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 71 of file DetectorConstruction.hh.

71 {return fMaterial;};
G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 72 of file DetectorConstruction.hh.

72 {return fTargetMaterial;};
G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 72 of file DetectorConstruction.hh.

72 {return fMaterial;};
G4Material* DetectorConstruction::GetMaterial ( )
inline

Definition at line 72 of file DetectorConstruction.hh.

72 {return fMaterial;};
G4Material* DetectorConstruction::GetMaterialScatter ( )
inline

Definition at line 71 of file DetectorConstruction.hh.

71 {return fMaterial_ScatterFoil;};
G4double DetectorConstruction::GetMaxStepSize ( )
inline

Definition at line 68 of file DetectorConstruction.hh.

68 {return fMaxStepSize;};
G4int DetectorConstruction::GetModel ( )
inline

Definition at line 71 of file DetectorConstruction.hh.

71 {return fModel;};
G4double DetectorConstruction::GetModuleThickness ( )
inline

Definition at line 66 of file DetectorConstruction.hh.

66 {return moduleThickness;};
Molecule * DetectorConstruction::GetMoleculeList ( )

Definition at line 289 of file DetectorConstruction.cc.

290 {
291  return fpMoleculeList;
292 }
G4int DetectorConstruction::GetNbFibers ( )
inline

Definition at line 74 of file DetectorConstruction.hh.

74 {return nbOfFibers;};
G4int DetectorConstruction::GetNbLayers ( )
inline

Definition at line 75 of file DetectorConstruction.hh.

75 {return nbOfLayers;};

Here is the caller graph for this function:

G4int DetectorConstruction::GetNbModules ( )
inline

Definition at line 76 of file DetectorConstruction.hh.

76 {return nbOfModules;};

Here is the caller graph for this function:

G4int DetectorConstruction::GetNbOfAbsor ( )
inline

Definition at line 74 of file DetectorConstruction.hh.

74 {return fNbOfAbsor;}
G4int DetectorConstruction::GetNbOfAbsor ( )
inline

Definition at line 76 of file DetectorConstruction.hh.

76 {return fNbOfAbsor;}
G4int DetectorConstruction::GetNbOfAbsor ( )
inline

Definition at line 85 of file DetectorConstruction.hh.

85 {return fNbOfAbsor;};
G4int DetectorConstruction::GetNbOfDivisions ( G4int  i)
inline

Definition at line 82 of file DetectorConstruction.hh.

82 {return fNbOfDivisions[i];};
G4int DetectorConstruction::GetNbOfLayers ( )
inline

Definition at line 68 of file DetectorConstruction.hh.

68 {return fNbOfLayers;};
G4int DetectorConstruction::GetNbOfLayers ( )
inline

Definition at line 81 of file DetectorConstruction.hh.

81 {return fNbOfLayers;};
G4int DetectorConstruction::GetNbOfLayers ( )
inline

Definition at line 81 of file DetectorConstruction.hh.

81 {return fNbOfLayers;};
G4int DetectorConstruction::GetNbOfLayers ( )
inline

Definition at line 81 of file DetectorConstruction.hh.

81 {return fNbOfLayers;};
G4int DetectorConstruction::GetNbOfLayers ( )
inline

Definition at line 81 of file DetectorConstruction.hh.

81 {return fNbOfLayers;};
G4int DetectorConstruction::GetNbOfLayers ( )
inline

Definition at line 83 of file DetectorConstruction.hh.

83 {return fNbOfLayers;};
G4int DetectorConstruction::GetNbOfPixelsInPhantom ( )
inline

Definition at line 74 of file DetectorConstruction.hh.

74 {return fNbOfPixelsInPhantom;}
G4int DetectorConstruction::GetnLtot ( )
inline

Definition at line 75 of file DetectorConstruction.hh.

75 {return fNLtot;};

Here is the caller graph for this function:

G4int DetectorConstruction::GetnRtot ( )
inline

Definition at line 76 of file DetectorConstruction.hh.

76 {return fNRtot;};
G4Material* DetectorConstruction::GetNucleusMaterial1 ( )
inline

Definition at line 84 of file DetectorConstruction.hh.

84 {return fNucleusMaterial1;};
G4Material* DetectorConstruction::GetNucleusMaterial2 ( )
inline

Definition at line 85 of file DetectorConstruction.hh.

85 {return fNucleusMaterial2;};
G4Material* DetectorConstruction::GetNucleusMaterial3 ( )
inline

Definition at line 86 of file DetectorConstruction.hh.

86 {return fNucleusMaterial3;};
PDBlib DetectorConstruction::GetPDBlib ( )

Definition at line 275 of file DetectorConstruction.cc.

276 {
277  return fPDBlib;
278 }
const G4VPhysicalVolume* DetectorConstruction::GetphysiWorld ( )
inline

Definition at line 89 of file DetectorConstruction.hh.

89 {return fPhysiWorld;};
const G4VPhysicalVolume* DetectorConstruction::GetphysiWorld ( )
inline

Definition at line 89 of file DetectorConstruction.hh.

89 {return fPhysiWorld;};
const G4VPhysicalVolume* DetectorConstruction::GetphysiWorld ( )
inline

Definition at line 89 of file DetectorConstruction.hh.

89 {return fPhysiWorld;};
const G4VPhysicalVolume* DetectorConstruction::GetphysiWorld ( )
inline

Definition at line 89 of file DetectorConstruction.hh.

89 {return fPhysiWorld;};
const G4VPhysicalVolume* DetectorConstruction::GetphysiWorld ( )
inline

Definition at line 89 of file DetectorConstruction.hh.

89 {return fPhysiWorld;};
G4int DetectorConstruction::GetProfile ( )
inline

Definition at line 77 of file DetectorConstruction.hh.

77 {return fProfile;};
const G4VPhysicalVolume* DetectorConstruction::GetpvolFrame ( )
inline

Definition at line 79 of file DetectorConstruction.hh.

79 {return fPvol_Frame;};
G4VPhysicalVolume* DetectorConstruction::GetPvolWorld ( )
inline

Definition at line 61 of file DetectorConstruction.hh.

61 {return pvol_world;};

Here is the caller graph for this function:

const G4VPhysicalVolume* DetectorConstruction::GetpvolWorld ( )
inline

Definition at line 78 of file DetectorConstruction.hh.

78 {return fPvol_World;};
RadiatorDescription * DetectorConstruction::GetRadiatorDescription ( ) const

Definition at line 142 of file DetectorConstruction.cc.

143 {
144  if ( ! fRadiatorDescription ) {
145  G4cout << "RadiatorDescription is not defined" << G4endl;
146  }
147  return fRadiatorDescription;
148 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61

Here is the caller graph for this function:

G4double DetectorConstruction::GetRadius ( )
inline

Definition at line 66 of file DetectorConstruction.hh.

66 {return fRadius;};
G4double DetectorConstruction::GetRadiusWorld ( )
inline

Definition at line 68 of file DetectorConstruction.hh.

68 {return fRadius_World;};
G4double DetectorConstruction::GetSize ( ) const
inline

Definition at line 64 of file DetectorConstruction.hh.

64 {return fBoxSize;};
G4double DetectorConstruction::GetSize ( )
inline

Definition at line 64 of file DetectorConstruction.hh.

64 {return BoxSize;};

Here is the caller graph for this function:

G4double DetectorConstruction::GetSize ( )
inline

Definition at line 65 of file DetectorConstruction.hh.

65 {return fBoxSize;};
G4double DetectorConstruction::GetSize ( )
inline

Definition at line 65 of file DetectorConstruction.hh.

65 {return fBoxSize;};
G4double DetectorConstruction::GetSize ( )
inline

Definition at line 67 of file DetectorConstruction.hh.

67 {return fBoxSize;};
G4double DetectorConstruction::GetSize ( )
inline

Definition at line 69 of file DetectorConstruction.hh.

69 {return fBoxSize;};
G4double DetectorConstruction::GetSize ( )
inline

Definition at line 69 of file DetectorConstruction.hh.

69 {return fBoxSize;};
G4double DetectorConstruction::GetSize ( )
inline

Definition at line 69 of file DetectorConstruction.hh.

69 {return fBoxSize;};
G4double DetectorConstruction::GetSize ( )
inline

Definition at line 70 of file DetectorConstruction.hh.

70 {return fBoxSize;};
G4double DetectorConstruction::GetSize ( )
inline

Definition at line 70 of file DetectorConstruction.hh.

70 {return fBoxSize;};
G4double DetectorConstruction::GetSize ( )
inline

Definition at line 71 of file DetectorConstruction.hh.

71 {return fBoxSize;};
G4double DetectorConstruction::GetTallyMass ( G4int  n) const

Definition at line 355 of file DetectorConstruction.cc.

356 {
357  if(j >= 0 && j < kMaxTally) {
358  return fTallyMass[j];
359  } else {
360  G4cout << "### DetectorConstruction::GetTallyMass WARNING: wrong tally "
361  << "number " << j << " is ignored" << G4endl;
362  return 0.0;
363  }
364 }
G4GLOB_DLL std::ostream G4cout
const G4int kMaxTally
#define G4endl
Definition: G4ios.hh:61
G4int DetectorConstruction::GetTallyNumber ( ) const
inline

Definition at line 73 of file DetectorConstruction.hh.

73 {return fTallyNumber;};
G4double DetectorConstruction::GetTargetLength ( )

Definition at line 280 of file DetectorConstruction.cc.

281 {
282  return fTargetLength;
283 }
const G4Material* DetectorConstruction::GetTargetMaterial ( ) const
inline

Definition at line 69 of file DetectorConstruction.hh.

69 { return fTargetMaterial; }
G4Material * DetectorConstruction::GetTargetMaterial ( )

Definition at line 294 of file DetectorConstruction.cc.

295 {
296  return fTargetMater;
297 }
G4double DetectorConstruction::GetTargetRadius ( )

Definition at line 287 of file DetectorConstruction.cc.

288 {
289  return fTargetRadius;
290 }
G4Region* DetectorConstruction::GetTargetRegion ( )
inline

Definition at line 60 of file DetectorConstruction.hh.

60 {return fRegion;}
G4Region* DetectorConstruction::GetTargetRegion ( )
inline

Definition at line 64 of file DetectorConstruction.hh.

64 {return fpRegion;}
G4double DetectorConstruction::GetThicknessFrame ( )
inline

Definition at line 69 of file DetectorConstruction.hh.

69 {return fThickness_Frame;};
G4double DetectorConstruction::GetThicknessScatter ( )
inline

Definition at line 72 of file DetectorConstruction.hh.

72 {return fThickness_ScatterFoil;};
G4double DetectorConstruction::GetThicknessWorld ( )
inline

Definition at line 67 of file DetectorConstruction.hh.

67 {return fThickness_World;};
G4double DetectorConstruction::GetTotalThickness ( )
inline

Definition at line 77 of file DetectorConstruction.hh.

77 {return fTotalThickness;};
G4VPhysicalVolume* DetectorConstruction::GetWall ( )
inline

Definition at line 69 of file DetectorConstruction.hh.

69 {return fWall;};
G4VPhysicalVolume* DetectorConstruction::GetWall ( )
inline

Definition at line 70 of file DetectorConstruction.hh.

70 {return fWall;};
G4Material* DetectorConstruction::GetWallMaterial ( )
inline

Definition at line 68 of file DetectorConstruction.hh.

68 {return fWallMaterial;};
G4Material* DetectorConstruction::GetWallMaterial ( )
inline

Definition at line 69 of file DetectorConstruction.hh.

69 {return fWallMaterial;};

Here is the caller graph for this function:

G4double DetectorConstruction::GetWallRadius ( )
inline

Definition at line 68 of file DetectorConstruction.hh.

68 {return fWallRadius;};
G4double DetectorConstruction::GetWallThickness ( )
inline

Definition at line 67 of file DetectorConstruction.hh.

67 {return fWallThickness;};

Here is the caller graph for this function:

G4double DetectorConstruction::GetWallThickness ( )
inline

Definition at line 67 of file DetectorConstruction.hh.

67 {return fWallThickness;};
const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

Definition at line 62 of file DetectorConstruction.hh.

62 {return pBox;};

Here is the caller graph for this function:

const G4VPhysicalVolume* DetectorConstruction::GetWorld ( ) const
inline

Definition at line 63 of file DetectorConstruction.hh.

63 {return fBox;};
const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

Definition at line 63 of file DetectorConstruction.hh.

63 {return fPBox;};
const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

Definition at line 63 of file DetectorConstruction.hh.

63 {return fPBox;};
const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

Definition at line 65 of file DetectorConstruction.hh.

65 {return fWorld;};
const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

Definition at line 65 of file DetectorConstruction.hh.

65 {return fPBox;};
const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

Definition at line 66 of file DetectorConstruction.hh.

66 {return fWorld;};
const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

Definition at line 67 of file DetectorConstruction.hh.

67 {return fPBox;};
const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

Definition at line 67 of file DetectorConstruction.hh.

67 {return fPBox;};
const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

Definition at line 67 of file DetectorConstruction.hh.

67 {return fPBox;};
const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

Definition at line 68 of file DetectorConstruction.hh.

68 {return fPBox;};
const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

Definition at line 68 of file DetectorConstruction.hh.

68 {return fBox;};
const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

Definition at line 69 of file DetectorConstruction.hh.

69 {return fP_Box;};
G4Material* DetectorConstruction::GetWorldMaterial ( )
inline

Definition at line 62 of file DetectorConstruction.hh.

62 {return worldMat;};
const G4Material* DetectorConstruction::GetWorldMaterial ( ) const
inline

Definition at line 75 of file DetectorConstruction.hh.

75 {return fWorldMaterial;};
G4Material* DetectorConstruction::GetWorldMaterial ( )
inline

Definition at line 88 of file DetectorConstruction.hh.

88 {return fWorldMaterial;};
const G4Material* DetectorConstruction::GetWorldMaterial ( )
inline

Definition at line 90 of file DetectorConstruction.hh.

90 {return fDefaultMaterial;};
G4double DetectorConstruction::GetWorldRadius ( )
inline

Definition at line 76 of file DetectorConstruction.hh.

76 {return fWorldRadius;};

Here is the caller graph for this function:

G4double DetectorConstruction::GetWorldSize ( )
inline

Definition at line 52 of file DetectorConstruction.hh.

52 {return fWorldSize;};
G4double DetectorConstruction::GetWorldSize ( )
inline

Definition at line 69 of file DetectorConstruction.hh.

69 {return fWorldSize;};
G4double DetectorConstruction::GetWorldSize ( )
inline

Definition at line 69 of file DetectorConstruction.hh.

69 {return fWorldSize;};
G4double DetectorConstruction::GetWorldSizeX ( )
inline

Definition at line 63 of file DetectorConstruction.hh.

63 {return worldSizeX;};
G4double DetectorConstruction::GetWorldSizeX ( )
inline

Definition at line 66 of file DetectorConstruction.hh.

66 {return fWorldSizeX;};
G4double DetectorConstruction::GetWorldSizeX ( ) const
inline

Definition at line 69 of file DetectorConstruction.hh.

69 {return fWorldSizeX;};
G4double DetectorConstruction::GetWorldSizeX ( )
inline

Definition at line 75 of file DetectorConstruction.hh.

75 {return fWorldSizeX;};
G4double DetectorConstruction::GetWorldSizeX ( )
inline

Definition at line 75 of file DetectorConstruction.hh.

75 {return fWorldSizeX;};
G4double DetectorConstruction::GetWorldSizeX ( )
inline

Definition at line 75 of file DetectorConstruction.hh.

75 {return fWorldSizeX;};
G4double DetectorConstruction::GetWorldSizeX ( )
inline

Definition at line 75 of file DetectorConstruction.hh.

75 {return fWorldSizeX;};
G4double DetectorConstruction::GetWorldSizeX ( )
inline

Definition at line 77 of file DetectorConstruction.hh.

77 {return fWorldSizeX;};
G4double DetectorConstruction::GetWorldSizeX ( )
inline

Definition at line 84 of file DetectorConstruction.hh.

84 {return fWorldSizeX;};
G4double DetectorConstruction::GetWorldSizeX ( )
inline

Definition at line 89 of file DetectorConstruction.hh.

89 {return fWorldSizeX;};
G4double DetectorConstruction::GetWorldSizeXY ( )
inline

Definition at line 52 of file DetectorConstruction.hh.

52 {return fWorldSizeXY;};
G4double DetectorConstruction::GetWorldSizeXY ( )
inline

Definition at line 52 of file DetectorConstruction.hh.

52 {return fWorldSizeXY;};
G4double DetectorConstruction::GetWorldSizeXY ( )
inline

Definition at line 52 of file DetectorConstruction.hh.

52 {return fWorldSizeXY;};
G4double DetectorConstruction::GetWorldSizeYZ ( ) const
inline

Definition at line 70 of file DetectorConstruction.hh.

70 {return fWorldSizeYZ;};
G4double DetectorConstruction::GetWorldSizeYZ ( )
inline

Definition at line 76 of file DetectorConstruction.hh.

76 {return fWorldSizeYZ;};
G4double DetectorConstruction::GetWorldSizeYZ ( )
inline

Definition at line 76 of file DetectorConstruction.hh.

76 {return fWorldSizeYZ;};
G4double DetectorConstruction::GetWorldSizeYZ ( )
inline

Definition at line 76 of file DetectorConstruction.hh.

76 {return fWorldSizeYZ;};
G4double DetectorConstruction::GetWorldSizeYZ ( )
inline

Definition at line 76 of file DetectorConstruction.hh.

76 {return fWorldSizeYZ;};
G4double DetectorConstruction::GetWorldSizeYZ ( )
inline

Definition at line 78 of file DetectorConstruction.hh.

78 {return fWorldSizeYZ;};
G4double DetectorConstruction::GetWorldSizeYZ ( )
inline

Definition at line 85 of file DetectorConstruction.hh.

85 {return fWorldSizeYZ;};
G4double DetectorConstruction::GetWorldSizeZ ( )
inline

Definition at line 53 of file DetectorConstruction.hh.

53 {return fWorldSizeZ;};
G4double DetectorConstruction::GetWorldSizeZ ( )
inline

Definition at line 53 of file DetectorConstruction.hh.

53 {return fWorldSizeZ;};
G4double DetectorConstruction::GetWorldSizeZ ( )
inline

Definition at line 53 of file DetectorConstruction.hh.

53 {return fWorldSizeZ;};
G4double DetectorConstruction::GetWorldSizeZ ( )
inline

Definition at line 84 of file DetectorConstruction.hh.

84 {return fWorldZ;}
G4double DetectorConstruction::GetWorldThickness ( )
inline

Definition at line 75 of file DetectorConstruction.hh.

75 {return fWorldThickness;};
G4double DetectorConstruction::GetxendAbs ( )
inline

Definition at line 86 of file DetectorConstruction.hh.

86 {return fXendAbs;};
G4double DetectorConstruction::GetXfront ( G4int  i)
inline

Definition at line 77 of file DetectorConstruction.hh.

77 {return fXfront[i];};
G4double DetectorConstruction::GetXfront ( G4int  i)
inline

Definition at line 79 of file DetectorConstruction.hh.

79 {return fXfront[i];};
G4double DetectorConstruction::GetxstartAbs ( )
inline

Definition at line 85 of file DetectorConstruction.hh.

85 {return fXstartAbs;};
G4double DetectorConstruction::GetZdist_foil_detector ( )
inline

Definition at line 74 of file DetectorConstruction.hh.

75  {return fThickness_Frame-fZfront_ScatterFoil
76  -0.5*fThickness_ScatterFoil;};
void DetectorConstruction::LoadPDBfile ( G4String  fileName)

Definition at line 790 of file DetectorConstruction.cc.

791 {
792  G4cout<<"Load PDB file : "<<fileName<<"."<<G4endl<<G4endl;
793  fPdbFileName=fileName;
794 #ifdef G4MULTITHREADED
796  DefineVolumes(fPdbFileName,fChosenOption)
797  );
799 #else
801  DefineVolumes(fPdbFileName,fChosenOption)
802  );
803 #endif
804 }
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:

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

Definition at line 104 of file DetectorConstruction.cc.

106 {
107  // define a material from an isotope
108  //
109  G4int ncomponents;
110  G4double abundance, massfraction;
111 
112  G4Isotope* isotope = new G4Isotope(symbol, Z, A);
113 
114  G4Element* element = new G4Element(name, symbol, ncomponents=1);
115  element->AddIsotope(isotope, abundance= 100.*perCent);
116 
117  G4Material* material = new G4Material(name, density, ncomponents=1);
118  material->AddElement(element, massfraction=100.*perCent);
119 
120  return material;
121 }
static constexpr double perCent
Definition: G4SIunits.hh:332
int G4int
Definition: G4Types.hh:78
string material
Definition: eplot.py:19
double A(double temperature)
void AddIsotope(G4Isotope *isotope, G4double RelativeAbundance)
Definition: G4Element.cc:152
void AddElement(G4Element *element, G4int nAtoms)
Definition: G4Material.cc:362
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:

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

Definition at line 318 of file 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 }
const G4String & GetName() const
Definition: G4Material.hh:178
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

Here is the caller graph for this function:

void DetectorConstruction::PrintCalorParameters ( )
void DetectorConstruction::PrintCalorParameters ( )
void DetectorConstruction::PrintCalorParameters ( )
void DetectorConstruction::PrintCalorParameters ( )
void DetectorConstruction::PrintCalorParameters ( )
void DetectorConstruction::PrintCalorParameters ( )
void DetectorConstruction::PrintDetectorParameters ( )
void DetectorConstruction::PrintGeometry ( )

Definition at line 449 of file 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 
463  if (fMaterial_ScatterFoil != fMaterial_Frame) {
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 }
const G4String & GetName() const
Definition: G4Material.hh:178
#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

Here is the call graph for this function:

void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( ) const

Definition at line 190 of file DetectorConstruction.cc.

191 {
192  G4cout << "\n The Box is " << G4BestUnit(fBoxSize,"Length")
193  << " of " << fMaterial->GetName() << G4endl;
194 }
const G4String & GetName() const
Definition: G4Material.hh:178
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

void DetectorConstruction::PrintParameters ( )

Definition at line 173 of file DetectorConstruction.cc.

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

Here is the call graph for this function:

void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( ) const
void DetectorConstruction::PrintParameters ( ) const
void DetectorConstruction::PrintParameters ( ) const
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( ) const
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::SetAbsLength ( G4double  val)

Definition at line 446 of file 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:

void DetectorConstruction::SetAbsMaterial ( const G4String mat)

Definition at line 369 of file DetectorConstruction.cc.

370 {
371  // search the material by its name
372  G4Material* pttoMaterial =
374  if (pttoMaterial && pttoMaterial != fAbsMaterial) {
375  fAbsMaterial = pttoMaterial;
376  if(fLogicA1) {
377  fLogicA1->SetMaterial(fAbsMaterial);
378  fLogicA2->SetMaterial(fAbsMaterial);
379  fLogicA3->SetMaterial(fAbsMaterial);
380  fLogicA4->SetMaterial(fAbsMaterial);
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:

void DetectorConstruction::SetAbsorberMaterial ( G4String  )
void DetectorConstruction::SetAbsorberMaterial ( G4String  )
void DetectorConstruction::SetAbsorberMaterial ( G4String  )
void DetectorConstruction::SetAbsorberMaterial ( G4String  materialChoice)

Definition at line 271 of file 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  {
281  fLogicAbsorber->SetMaterial(fAbsorberMaterial);
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:

void DetectorConstruction::SetAbsorberMaterial ( G4String  )
void DetectorConstruction::SetAbsorberShiftZ ( G4double  val)
inline

Definition at line 80 of file DetectorConstruction.hh.

80 { fAbsorberShiftZ = val; }
void DetectorConstruction::SetAbsorberSizeYZ ( G4double  val)

Definition at line 381 of file DetectorConstruction.cc.

382 {
383  fAbsorberSizeYZ = val;
384  ComputeCalorParameters();
385  if(fPhysiWorld) { ChangeGeometry(); }
386 }
void DetectorConstruction::SetAbsorberThickness ( G4double  val)

Definition at line 307 of file 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:

void DetectorConstruction::SetAbsorberThickness ( G4double  )
void DetectorConstruction::SetAbsorberThickness ( G4double  )
void DetectorConstruction::SetAbsorberThickness ( G4double  )
void DetectorConstruction::SetAbsorberThickness ( G4double  )
void DetectorConstruction::SetAbsorberXpos ( G4double  val)

Definition at line 410 of file DetectorConstruction.cc.

411 {
412  if(!fPhysiWorld) { fXposAbs = val; }
413 }
void DetectorConstruction::SetAbsorberZ ( G4double  val)
inline

Definition at line 79 of file DetectorConstruction.hh.

79 { fAbsorberZ = val; }
void DetectorConstruction::SetAbsorLength ( G4double  value)

Definition at line 277 of file DetectorConstruction.cc.

278 {
279  fAbsorLength = value;
281 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79

Here is the call graph for this function:

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

Definition at line 274 of file DetectorConstruction.cc.

275 {
276  // search the material by its name
277  //
278  if (iabs > fNbOfAbsor || iabs <= 0)
279  { G4cout << "\n --->warning from SetfAbsorMaterial: absor number "
280  << iabs << " out of range. Command refused" << G4endl;
281  return;
282  }
283 
284  G4Material* pttoMaterial =
286  if (pttoMaterial) {
287  fAbsorMaterial[iabs] = pttoMaterial;
289  }
290 }
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:

void DetectorConstruction::SetAbsorMaterial ( G4int  ,
const G4String  
)
void DetectorConstruction::SetAbsorMaterial ( G4String  materialChoice)

Definition at line 233 of file DetectorConstruction.cc.

234 {
235  // search the material by its name
236  G4Material* pttoMaterial =
237  G4NistManager::Instance()->FindOrBuildMaterial(materialChoice);
238 
239  if (pttoMaterial) {
240  fAbsorMaterial = pttoMaterial;
241  if(fLAbsor) { fLAbsor->SetMaterial(fAbsorMaterial); }
243  } else {
244  G4cout << "\n--> warning from DetectorConstruction::SetAbsorMaterial : "
245  << materialChoice << " not found" << G4endl;
246  }
247 }
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:

void DetectorConstruction::SetAbsorMaterial ( G4int  ,
const G4String  
)
void DetectorConstruction::SetAbsorRadius ( G4double  value)

Definition at line 269 of file DetectorConstruction.cc.

270 {
271  fAbsorRadius = value;
273 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79

Here is the call graph for this function:

void DetectorConstruction::SetAbsorSizeYZ ( G4double  val)

Definition at line 314 of file DetectorConstruction.cc.

315 {
316  // change the transverse size
317  //
318  if (val <= DBL_MIN)
319  { G4cout << "\n --->warning from SetfAbsorSizeYZ: thickness "
320  << val << " out of range. Command refused" << G4endl;
321  return;
322  }
323  fAbsorSizeYZ = val;
325 }
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:

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

Definition at line 294 of file DetectorConstruction.cc.

295 {
296  // change Absorber thickness
297  //
298  if (iabs > fNbOfAbsor || iabs <= 0)
299  { G4cout << "\n --->warning from SetfAbsorThickness: absor number "
300  << iabs << " out of range. Command refused" << G4endl;
301  return;
302  }
303  if (val <= DBL_MIN)
304  { G4cout << "\n --->warning from SetfAbsorThickness: thickness "
305  << val << " out of range. Command refused" << G4endl;
306  return;
307  }
308  fAbsorThickness[iabs] = val;
310 }
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:

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

Definition at line 325 of file 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:

void DetectorConstruction::SetCalorSizeYZ ( G4double  )
void DetectorConstruction::SetCalorSizeYZ ( G4double  )
void DetectorConstruction::SetCalorSizeYZ ( G4double  )
void DetectorConstruction::SetCavityMaterial ( G4String  materialChoice)

Definition at line 231 of file 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:602

Here is the call graph for this function:

void DetectorConstruction::SetCavityRadius ( G4double  value)

Definition at line 224 of file DetectorConstruction.cc.

225 {
226  fCavityRadius = value;
227 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void DetectorConstruction::SetCavityThickness ( G4double  )
void DetectorConstruction::SetCavityThickness ( G4double  value)

Definition at line 217 of file DetectorConstruction.cc.

218 {
219  fCavityThickness = value;
220 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void DetectorConstruction::SetCheckShiftZ ( G4double  val)
inline

Definition at line 78 of file DetectorConstruction.hh.

78 { fCheckShiftZ = val; }
void DetectorConstruction::SetCoef ( G4int  val)

Definition at line 286 of file DetectorConstruction.cc.

287 {
288  fCoef=val;
289 }
void DetectorConstruction::SetContainerMaterial ( const G4String name)

Definition at line 364 of file DetectorConstruction.cc.

365 {
366  // get the pointer to the existing material
367  G4Material* mat = G4Material::GetMaterial(name, false);
368 
369  // create the material by its name
370  if(!mat) { mat = G4NistManager::Instance()->FindOrBuildMaterial(name); }
371 
372  if (mat && mat != fWindowMat) {
373  G4cout << "### New material for container: " << mat->GetName() << G4endl;
374  fWindowMat = mat;
375  if(fLogicContainer) {
376  fLogicContainer->SetMaterial(mat);
378  }
379  }
380 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
Definition: G4Material.cc:602
const G4String & GetName() const
Definition: G4Material.hh:178
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:

void DetectorConstruction::SetContainerThickness ( G4double  val)

Definition at line 420 of file DetectorConstruction.cc.

421 {
422  fWindowThick = val;
423  if(fPhysWorld) { ChangeGeometry(); }
424 }
void DetectorConstruction::SetContainMaterial ( G4String  materialChoice)

Definition at line 251 of file DetectorConstruction.cc.

252 {
253  // search the material by its name
254  G4Material* pttoMaterial =
255  G4NistManager::Instance()->FindOrBuildMaterial(materialChoice);
256 
257  if (pttoMaterial) {
258  fContainMaterial = pttoMaterial;
259  if(fLContain) { fLContain->SetMaterial(fContainMaterial); }
261  } else {
262  G4cout << "\n--> warning from DetectorConstruction::SetContainMaterial : "
263  << materialChoice << " not found" << G4endl;
264  }
265 }
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:

void DetectorConstruction::SetContainThickness ( G4double  value)

Definition at line 285 of file DetectorConstruction.cc.

286 {
287  fContainThickness = value;
289 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79

Here is the call graph for this function:

void DetectorConstruction::SetDetectorLength ( G4double  value)

Definition at line 272 of file DetectorConstruction.cc.

273 {
274  fDetectorLength = value;
276 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79

Here is the call graph for this function:

void DetectorConstruction::SetDetectorMaterial ( G4String  materialChoice)

Definition at line 230 of file 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;
238  if(fLogicDetector) { fLogicDetector->SetMaterial(fDetectorMater); }
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:

void DetectorConstruction::SetDetectorSetUp ( G4String  setup)
inline

Definition at line 56 of file DetectorConstruction.hh.

56 { fSetUp = setup; }
void DetectorConstruction::SetDetectorThickness ( G4double  value)

Definition at line 264 of file DetectorConstruction.cc.

265 {
266  fDetectorThickness = value;
268 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79

Here is the call graph for this function:

void DetectorConstruction::SetEcalLength ( G4double  val)

Definition at line 396 of file 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:

void DetectorConstruction::SetEcalMaterial ( const G4String mat)

Definition at line 353 of file DetectorConstruction.cc.

354 {
355  // search the material by its name
356  G4Material* pttoMaterial =
358  if (pttoMaterial && pttoMaterial != fCalMaterial) {
359  fCalMaterial = pttoMaterial;
360  if(fLogicCal) {
361  fLogicCal->SetMaterial(fCalMaterial);
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:

void DetectorConstruction::SetEcalWidth ( G4double  val)

Definition at line 406 of file 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:

void DetectorConstruction::SetG1 ( G4float  value)

Definition at line 238 of file DetectorConstruction.cc.

239 {
240  fG1 = value;
241 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void DetectorConstruction::SetG2 ( G4float  value)

Definition at line 245 of file DetectorConstruction.cc.

246 {
247  fG2 = value;
248 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void DetectorConstruction::SetG3 ( G4float  value)

Definition at line 252 of file DetectorConstruction.cc.

253 {
254  fG3 = value;
255 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void DetectorConstruction::SetG4 ( G4float  value)

Definition at line 259 of file DetectorConstruction.cc.

260 {
261  fG4 = value;
262 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void DetectorConstruction::SetGap ( G4double  val)
inline

Definition at line 74 of file DetectorConstruction.hh.

74 { fDelta = val; };
void DetectorConstruction::SetGapMaterial ( G4String  )
void DetectorConstruction::SetGapMaterial ( G4String  )
void DetectorConstruction::SetGapMaterial ( G4String  materialChoice)

Definition at line 289 of file 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  {
299  fLogicGap->SetMaterial(fGapMaterial);
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:

void DetectorConstruction::SetGapMaterial ( G4String  )
void DetectorConstruction::SetGapThickness ( G4double  val)

Definition at line 316 of file 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:

void DetectorConstruction::SetGapThickness ( G4double  )
void DetectorConstruction::SetGapThickness ( G4double  )
void DetectorConstruction::SetGapThickness ( G4double  )
void DetectorConstruction::SetGasMaterial ( const G4String name)

Definition at line 344 of file DetectorConstruction.cc.

345 {
346  // get the pointer to the existing material
347  G4Material* mat = G4Material::GetMaterial(name, false);
348 
349  // create the material by its name
350  if(!mat) { mat = G4NistManager::Instance()->FindOrBuildMaterial(name); }
351 
352  if (mat && mat != fGasMat) {
353  G4cout << "### New target material: " << mat->GetName() << G4endl;
354  fGasMat = mat;
355  if(fLogicDetector) {
356  fLogicDetector->SetMaterial(mat);
358  }
359  }
360 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
Definition: G4Material.cc:602
const G4String & GetName() const
Definition: G4Material.hh:178
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:

void DetectorConstruction::SetGasRadius ( G4double  val)

Definition at line 412 of file DetectorConstruction.cc.

413 {
414  fGasRadius = val;
415  if(fPhysWorld) { ChangeGeometry(); }
416 }
void DetectorConstruction::SetGasThickness ( G4double  val)

Definition at line 404 of file DetectorConstruction.cc.

405 {
406  fGasThickness = val;
407  if(fPhysWorld) { ChangeGeometry(); }
408 }
void DetectorConstruction::SetGrid ( G4int  myGrid)

Definition at line 307 of file DetectorConstruction.cc.

308 {
309  fGrid=myGrid;
310 }
void DetectorConstruction::SetLBining ( G4ThreeVector  Value)

Definition at line 178 of file DetectorConstruction.cc.

179 {
180  fNLtot = (G4int)Value(0);
181  if (fNLtot > kMaxBin) {
182  G4cout << "\n ---> warning from SetLBining: "
183  << fNLtot << " truncated to " << kMaxBin << G4endl;
184  fNLtot = kMaxBin;
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
const G4int kMaxBin

Here is the call graph for this function:

void DetectorConstruction::SetMagField ( G4double  )
void DetectorConstruction::SetMagField ( G4double  )
void DetectorConstruction::SetMagField ( G4double  )
void DetectorConstruction::SetMagField ( G4double  fieldValue)

Definition at line 174 of file 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)
static G4TransportationManager * GetTransportationManager()
G4FieldManager * GetFieldManager() const
void CreateChordFinder(G4MagneticField *detectorMagField)

Here is the call graph for this function:

void DetectorConstruction::SetMassCytoplasm ( G4double  mC)
inline

Definition at line 70 of file DetectorConstruction.hh.

70 { fMassCytoplasm = mC;}
void DetectorConstruction::SetMassNucleus ( G4double  mN)
inline

Definition at line 67 of file DetectorConstruction.hh.

67 { fMassNucleus = mN;}
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterial ( G4String  materialChoice)

Definition at line 183 of file 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;
191  if (pBox) G4RunManager::GetRunManager()
192  ->DefineWorldVolume(ConstructVolumes());
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:

void DetectorConstruction::SetMaterial ( const G4String )
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterial ( const G4String )
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterial ( const G4String materialChoice)

Definition at line 200 of file DetectorConstruction.cc.

201 {
202  // search the material by its name, or build it from nist data base
203  G4Material* pttoMaterial =
204  G4NistManager::Instance()->FindOrBuildMaterial(materialChoice);
205 
206  if (pttoMaterial) {
207  fMaterial = pttoMaterial;
208  if(fBox) { fBox->GetLogicalVolume()->SetMaterial(fMaterial); }
210  } else {
211  G4cout << "\n--> warning from DetectorConstruction::SetMaterial : "
212  << materialChoice << " not found" << G4endl;
213  }
214 }
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
G4LogicalVolume * GetLogicalVolume() const
#define G4endl
Definition: G4ios.hh:61
void SetMaterial(G4Material *pMaterial)

Here is the call graph for this function:

void DetectorConstruction::SetMaterial ( const G4String )
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterial ( const G4String )
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterial ( const G4String )
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterialScatter ( G4String  material)

Definition at line 499 of file 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:602

Here is the call graph for this function:

void DetectorConstruction::SetMaxStepLength ( G4double  val)

Definition at line 203 of file 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:

void DetectorConstruction::SetMaxStepSize ( G4double  )
void DetectorConstruction::SetMaxStepSize ( G4double  )
void DetectorConstruction::SetMaxStepSize ( G4double  val)

Definition at line 189 of file 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  }
198  fUserLimits->SetMaxAllowedStep(val);
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:

void DetectorConstruction::SetMethod ( EMethod  method)

Definition at line 408 of file DetectorConstruction.cc.

408  {
409  fMethod = method;
411 }
G4VPhysicalVolume * Construct()
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79

Here is the call graph for this function:

void DetectorConstruction::SetModel ( G4int  modelChoice)

Definition at line 266 of file DetectorConstruction.cc.

267 {
268 if (modelChoice==1) fModel=1;
269 if (modelChoice==2) fModel=2;
270 if (modelChoice==3) fModel=3;
271 }
void DetectorConstruction::SetMylarZ ( G4double  val)
inline

Definition at line 77 of file DetectorConstruction.hh.

77 { fMylarVolumeZ = val; }
void DetectorConstruction::SetNbOfAbsor ( G4int  )
void DetectorConstruction::SetNbOfAbsor ( G4int  ival)

Definition at line 258 of file DetectorConstruction.cc.

259 {
260  // set the number of Absorbers
261  //
262  if (ival < 1 || ival > (kMaxAbsor-1))
263  { G4cout << "\n ---> warning from SetfNbOfAbsor: "
264  << ival << " must be at least 1 and and most " << kMaxAbsor-1
265  << ". Command refused" << G4endl;
266  return;
267  }
268  fNbOfAbsor = ival;
270 }
G4GLOB_DLL std::ostream G4cout
const G4int kMaxAbsor
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:

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

Definition at line 329 of file DetectorConstruction.cc.

330 {
331  // set the number of divisions
332  //
333  if (iabs > fNbOfAbsor || iabs < 1)
334  { G4cout << "\n --->warning from SetNbOfDivisions: absor number "
335  << iabs << " out of range. Command refused" << G4endl;
336  return;
337  }
338 
339  if (ival < 1)
340  { G4cout << "\n --->warning from SetNbOfDivisions: "
341  << ival << " must be at least 1. Command refused" << G4endl;
342  return;
343  }
344  fNbOfDivisions[iabs] = ival;
346 }
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:

void DetectorConstruction::SetNbOfLayers ( G4int  nb)
void DetectorConstruction::SetNbOfLayers ( G4int  )
void DetectorConstruction::SetNbOfLayers ( G4int  )
void DetectorConstruction::SetNbOfLayers ( G4int  val)

Definition at line 334 of file 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:

void DetectorConstruction::SetNbOfLayers ( G4int  )
void DetectorConstruction::SetNbOfLayers ( G4int  )
void DetectorConstruction::SetNbOfPixelsInPhantom ( G4int  nP)
inline

Definition at line 73 of file DetectorConstruction.hh.

73 { fNbOfPixelsInPhantom = nP;}
void DetectorConstruction::SetPadLength ( G4double  val)

Definition at line 426 of file 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:

void DetectorConstruction::SetPadWidth ( G4double  val)

Definition at line 436 of file 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:

void DetectorConstruction::SetPairEnergy ( G4double  val)

Definition at line 428 of file DetectorConstruction.cc.

429 {
430  if(val > 0.0) {
431  fGasMat->GetIonisation()->SetMeanEnergyPerIonPair(val);
432  }
433 }
G4IonisParamMat * GetIonisation() const
Definition: G4Material.hh:226
void SetMeanEnergyPerIonPair(G4double value)

Here is the call graph for this function:

void DetectorConstruction::SetProfile ( G4int  myProfile)

Definition at line 300 of file DetectorConstruction.cc.

301 {
302  fProfile=myProfile;
303 }
void DetectorConstruction::SetRadius ( G4double  )
void DetectorConstruction::SetRadius ( G4double  )
void DetectorConstruction::SetRadius ( G4double  )
void DetectorConstruction::SetRadius ( G4double  value)

Definition at line 172 of file DetectorConstruction.cc.

173 {
174  // geometry was already constructed - scale radii of all spheres
175  if(fAbsor) {
176  G4double scale = value/fAbsorRadius;
177  for (auto solid : fSpheres) {
178  if(scale > 1.0) {
179  solid->SetOuterRadius(solid->GetOuterRadius()*scale);
180  solid->SetInnerRadius(solid->GetInnerRadius()*scale);
181  } else {
182  solid->SetInnerRadius(solid->GetInnerRadius()*scale);
183  solid->SetOuterRadius(solid->GetOuterRadius()*scale);
184  }
185  }
186  }
187  fAbsorRadius = value;
188 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
double G4double
Definition: G4Types.hh:76
void DetectorConstruction::SetRadius ( G4double  )
void DetectorConstruction::SetRBining ( G4ThreeVector  Value)

Definition at line 192 of file DetectorConstruction.cc.

193 {
194  fNRtot = (G4int)Value(0);
195  if (fNRtot > kMaxBin) {
196  G4cout << "\n ---> warning from SetRBining: "
197  << fNRtot << " truncated to " << kMaxBin << G4endl;
198  fNRtot = kMaxBin;
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
const G4int kMaxBin

Here is the call graph for this function:

void DetectorConstruction::SetSize ( G4double  )
void DetectorConstruction::SetSize ( G4double  )
void DetectorConstruction::SetSize ( G4double  )
void DetectorConstruction::SetSize ( G4double  )
void DetectorConstruction::SetSize ( G4double  )
void DetectorConstruction::SetSize ( G4double  )
void DetectorConstruction::SetSize ( G4double  )
void DetectorConstruction::SetSize ( G4double  )
void DetectorConstruction::SetSize ( G4double  )
void DetectorConstruction::SetSize ( G4double  value)

Definition at line 242 of file DetectorConstruction.cc.

243 {
244  fBoxSize = value;
245  if(fBox) {
246  fBox->SetXHalfLength(fBoxSize/2);
247  fBox->SetYHalfLength(fBoxSize/2);
248  fBox->SetZHalfLength(fBoxSize/2);
249  }
250 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void DetectorConstruction::SetSizeX ( G4double  value)

Definition at line 243 of file DetectorConstruction.cc.

244 {
245  fAbsorSizeX = value;
246  fWorldSizeX = 1.2*fAbsorSizeX;
247 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void DetectorConstruction::SetSizeX ( G4double  )
void DetectorConstruction::SetSizeXY ( G4double  value)

Definition at line 183 of file DetectorConstruction.cc.

184 {
185  fBoxSizeXY = value;
186  if (fWorldSize<fBoxSizeXY) fWorldSize = 1.2*fBoxSizeXY;
187  UpdateGeometry();
188 }
const XML_Char int const XML_Char * value
Definition: expat.h:331

Here is the call graph for this function:

void DetectorConstruction::SetSizeYZ ( G4double  value)

Definition at line 251 of file DetectorConstruction.cc.

252 {
253  fAbsorSizeYZ = value;
254  fWorldSizeYZ = 1.2*fAbsorSizeYZ;
255 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void DetectorConstruction::SetSizeYZ ( G4double  )
void DetectorConstruction::SetSizeZ ( G4double  value)

Definition at line 190 of file DetectorConstruction.cc.

191 {
192  fBoxSizeZ = value;
193  if (fWorldSize<fBoxSizeZ) fWorldSize = 1.2*fBoxSizeZ;
194  UpdateGeometry();
195 }
const XML_Char int const XML_Char * value
Definition: expat.h:331

Here is the call graph for this function:

void DetectorConstruction::SetTallyNumber ( G4int  value)

Definition at line 321 of file DetectorConstruction.cc.

322 {
323  if(value >= 0 && value <kMaxTally) {
324  fTallyNumber = value;
325  } else {
326  G4cout << "### DetectorConstruction::SetTallyNumber WARNING: wrong tally "
327  << "number " << value << " is ignored" << G4endl;
328  }
329 }
G4GLOB_DLL std::ostream G4cout
const XML_Char int const XML_Char * value
Definition: expat.h:331
const G4int kMaxTally
#define G4endl
Definition: G4ios.hh:61
void DetectorConstruction::SetTallyPosition ( G4int  j,
const G4ThreeVector value 
)

Definition at line 345 of file DetectorConstruction.cc.

346 {
347  if(j >= 0 && j < kMaxTally) {
348  fTallyPosition[j] = value;
349  } else {
350  G4cout << "### DetectorConstruction::SetTallyPosition WARNING: wrong tally "
351  << "number " << j << " is ignored" << G4endl;
352  }
353 }
G4GLOB_DLL std::ostream G4cout
const XML_Char int const XML_Char * value
Definition: expat.h:331
const G4int kMaxTally
#define G4endl
Definition: G4ios.hh:61
void DetectorConstruction::SetTallySize ( G4int  j,
const G4ThreeVector value 
)

Definition at line 333 of file DetectorConstruction.cc.

334 {
335  if(j >= 0 && j < kMaxTally) {
336  fTallySize[j] = value;
337  } else {
338  G4cout << "### DetectorConstruction::SetTallyNumber WARNING: wrong tally "
339  << "number " << j << " is ignored" << G4endl;
340  }
341 }
G4GLOB_DLL std::ostream G4cout
const XML_Char int const XML_Char * value
Definition: expat.h:331
const G4int kMaxTally
#define G4endl
Definition: G4ios.hh:61
void DetectorConstruction::SetTarget1Material ( const G4String m)

Definition at line 394 of file DetectorConstruction.cc.

395 {
396  // search the material by its name
397  G4Material* pttoMaterial =
399  if(!pttoMaterial) {
400  G4cout << "Material " << mat << " is not found out!" << G4endl;
401  } else if (pttoMaterial != fTarget1Material) {
402  G4cout << "New target1 material " << mat << G4endl;
403  if(fLogicTarget1) { fLogicTarget1->SetMaterial(fTarget1Material); }
405  }
406 }
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:

void DetectorConstruction::SetTarget1Z ( G4double  val)
inline

Definition at line 75 of file DetectorConstruction.hh.

75 { fTarget1Z = val; };
void DetectorConstruction::SetTarget2Material ( const G4String m)

Definition at line 410 of file DetectorConstruction.cc.

411 {
412  // search the material by its name
413  G4Material* pttoMaterial =
415 
416  if(!pttoMaterial) {
417  G4cout << "Material " << mat << " is not found out!" << G4endl;
418  } else if (pttoMaterial != fTarget2Material) {
419  fTarget2Material = pttoMaterial;
420  G4cout << "New target2 material " << mat << G4endl;
421  if(fLogicTarget2) { fLogicTarget2->SetMaterial(fTarget2Material); }
423  }
424 }
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:

void DetectorConstruction::SetTarget2Z ( G4double  val)
inline

Definition at line 76 of file DetectorConstruction.hh.

76 { fTarget2Z = val; };
void DetectorConstruction::SetTargetLength ( G4double  value)
void DetectorConstruction::SetTargetLength ( G4double  val)
void DetectorConstruction::SetTargetLength ( G4double  val)

Definition at line 177 of file 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:

void DetectorConstruction::SetTargetMaterial ( G4String  materialChoice)

Definition at line 147 of file DetectorConstruction.cc.

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

Here is the call graph for this function:

void DetectorConstruction::SetTargetMaterial ( G4String  )
void DetectorConstruction::SetTargetMaterial ( const G4String mat)

Definition at line 141 of file DetectorConstruction.cc.

142 {
143  // search the material by its name
145 
146  if (material && material != fTargetMaterial) {
147  fTargetMaterial = material;
148  if(fLogicTarget) fLogicTarget->SetMaterial(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:

void DetectorConstruction::SetTargetMaterial ( const G4String )
void DetectorConstruction::SetTargetMaterial ( const G4String )
void DetectorConstruction::SetTargetMaterial ( const G4String )
void DetectorConstruction::SetTargetRadius ( G4double  value)
void DetectorConstruction::SetTargetRadius ( G4double  val)

Definition at line 167 of file 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:

void DetectorConstruction::SetTargetRadius ( G4double  val)
void DetectorConstruction::SetTargetRadius ( G4double  val)
void DetectorConstruction::SetTargetRadius ( G4double  val)
void DetectorConstruction::SetThicknessScatter ( G4double  val)

Definition at line 509 of file DetectorConstruction.cc.

510 {
511  fThickness_ScatterFoil = val;
512 }
void DetectorConstruction::SetTrackingCut ( G4double  )
void DetectorConstruction::SetTrackingCut ( G4double  value)

Definition at line 152 of file DetectorConstruction.cc.

153 {
154  fTrackingCut = value;
156 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79

Here is the call graph for this function:

void DetectorConstruction::SetTrackingCut ( G4double  )
void DetectorConstruction::SetVertexLength ( G4double  val)

Definition at line 416 of file 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:

void DetectorConstruction::SetWallMaterial ( G4String  )
void DetectorConstruction::SetWallMaterial ( G4String  materialChoice)

Definition at line 208 of file 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:602

Here is the call graph for this function:

void DetectorConstruction::SetWallThickness ( G4double  value)

Definition at line 201 of file DetectorConstruction.cc.

202 {
203  fWallThickness = value;
204 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void DetectorConstruction::SetWallThickness ( G4double  )
void DetectorConstruction::SetWorldMaterial ( G4String  )
void DetectorConstruction::SetWorldMaterial ( const G4String )
void DetectorConstruction::SetWorldMaterial ( const G4String )
void DetectorConstruction::SetWorldMaterial ( const G4String )
void DetectorConstruction::SetWorldMaterial ( const G4String material)

Definition at line 430 of file DetectorConstruction.cc.

431 {
432  // search the material by its name
433  G4Material* pttoMaterial =
435  if (pttoMaterial) fDefaultMaterial = pttoMaterial;
437 }
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:

void DetectorConstruction::SetWorldMaterial ( const G4String )
void DetectorConstruction::SetWorldMaterial ( G4String  materialChoice)

Definition at line 357 of file DetectorConstruction.cc.

358 {
359  // search the material by its name
360  G4Material* pttoMaterial =
361  G4NistManager::Instance()->FindOrBuildMaterial(materialChoice);
362 
363  if (pttoMaterial && fWorldMaterial != pttoMaterial) {
364  fWorldMaterial = pttoMaterial;
365  if(fLogicWorld) { fLogicWorld->SetMaterial(fWorldMaterial); }
367  }
368 }
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:

void DetectorConstruction::SetWorldMaterial ( const G4String )
void DetectorConstruction::SetWorldMaterial ( const G4String )
void DetectorConstruction::SetWorldRadius ( G4double  value)

Definition at line 218 of file DetectorConstruction.cc.

219 {
220  fWorldRadius = value;
221 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void DetectorConstruction::SetWorldSizeX ( G4double  val)

Definition at line 390 of file DetectorConstruction.cc.

391 {
392  fWorldSizeX = val;
393  fDefaultWorld = false;
394  ComputeCalorParameters();
395  if(fPhysiWorld) { ChangeGeometry(); }
396 }
void DetectorConstruction::SetWorldSizeYZ ( G4double  val)

Definition at line 400 of file DetectorConstruction.cc.

401 {
402  fWorldSizeYZ = val;
403  fDefaultWorld = false;
404  ComputeCalorParameters();
405  if(fPhysiWorld) { ChangeGeometry(); }
406 }
void DetectorConstruction::UpdateGeometry ( )
void DetectorConstruction::UpdateGeometry ( )
void DetectorConstruction::UpdateGeometry ( )
void DetectorConstruction::UpdateGeometry ( )
void DetectorConstruction::UpdateGeometry ( )
void DetectorConstruction::UpdateGeometry ( )
void DetectorConstruction::UpdateGeometry ( )
void DetectorConstruction::UpdateGeometry ( )
void DetectorConstruction::UpdateGeometry ( )
void DetectorConstruction::UpdateGeometry ( )

Definition at line 277 of file DetectorConstruction.cc.

278 {
279  fGradientsInitialized=true;
280  G4RunManager::GetRunManager()->DefineWorldVolume(ConstructVolumes());
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:

void DetectorConstruction::UpdateGeometry ( )

Member Data Documentation

G4int DetectorConstruction::fCoef

Definition at line 88 of file DetectorConstruction.hh.

G4float DetectorConstruction::fG1

Definition at line 85 of file DetectorConstruction.hh.

G4float DetectorConstruction::fG2

Definition at line 85 of file DetectorConstruction.hh.

G4float DetectorConstruction::fG3

Definition at line 85 of file DetectorConstruction.hh.

G4float DetectorConstruction::fG4

Definition at line 85 of file DetectorConstruction.hh.

G4int DetectorConstruction::fGrid

Definition at line 88 of file DetectorConstruction.hh.

G4int DetectorConstruction::fModel

Definition at line 88 of file DetectorConstruction.hh.

G4int DetectorConstruction::fProfile

Definition at line 88 of file DetectorConstruction.hh.


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