Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Data Fields
DetectorConstruction Class Reference

#include <DetectorConstruction.hh>

Inheritance diagram for DetectorConstruction:
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

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 ()
 
G4VPhysicalVolumeConstruct ()
 
void PrintCalorParameters ()
 
void SetMagField (G4double)
 
void UpdateGeometry ()
 
G4VPhysicalVolumeGetPvolWorld ()
 
G4MaterialGetWorldMaterial ()
 
G4double GetWorldSizeX ()
 
G4double GetCalorThickness ()
 
G4double GetCalorSizeYZ ()
 
G4double GetModuleThickness ()
 
G4LogicalVolumeGetLvolFiber ()
 
G4LogicalVolumeGetLvolLayer ()
 
G4LogicalVolumeGetLvolModule ()
 
G4LogicalVolumeGetLvolCalorimeter ()
 
G4LogicalVolumeGetLvolWorld ()
 
G4int GetNbFibers ()
 
G4int GetNbLayers ()
 
G4int GetNbModules ()
 
G4int GetN1Pixels ()
 
G4int GetN2Pixels ()
 
G4double GetD1Pixel ()
 
G4double GetD2Pixel ()
 
G4int GetN1Shift ()
 
G4int GetSizeVectorPixels ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
void SetMaterial (G4String)
 
void UpdateGeometry ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
void ConstructSDandField ()
 
void SetMassNucleus (G4float mN)
 
G4float GetMassNucleus ()
 
void SetMassCytoplasm (G4float mC)
 
G4float GetMassCytoplasm ()
 
void SetNbOfPixelsInPhantom (G4int nP)
 
G4int GetNbOfPixelsInPhantom ()
 
G4LogicalVolumeGetLogicalCollDetYoke ()
 
G4LogicalVolumeGetLogicalIsobutane ()
 
G4LogicalVolumeGetLogicalCollDetGap4 ()
 
G4LogicalVolumeGetLogicalPolyprop ()
 
G4LogicalVolumeGetLogicalKgm ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
G4RegionGetTargetRegion ()
 
 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 ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetMaterial (G4String)
 
const G4VPhysicalVolumeGetWorld ()
 
G4double GetSize ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
void SetSize (G4double)
 
void SetMaterial (G4String)
 
const G4VPhysicalVolumeGetWorld ()
 
G4double GetSize ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
void SetNbOfAbsor (G4int)
 
void SetAbsorMaterial (G4int, const G4String &)
 
void SetAbsorThickness (G4int, G4double)
 
void SetAbsorSizeYZ (G4double)
 
void SetNbOfDivisions (G4int, G4int)
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
G4int GetNbOfAbsor ()
 
G4MaterialGetAbsorMaterial (G4int i)
 
G4double GetAbsorThickness (G4int i)
 
G4double GetXfront (G4int i)
 
G4double GetAbsorSizeX ()
 
G4double GetAbsorSizeYZ ()
 
G4int GetNbOfDivisions (G4int i)
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
void SetRadius (G4double)
 
void SetMaterial (G4String)
 
void SetNbOfLayers (G4int nb)
 
void SetMagField (G4double)
 
virtual G4VPhysicalVolumeConstruct ()
 
void UpdateGeometry ()
 
G4double GetAbsorRadius ()
 
G4MaterialGetAbsorMaterial ()
 
G4int GetNbOfLayers ()
 
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 (G4String)
 
void UpdateGeometry ()
 
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 ()
 
void SetSize (G4double)
 
void SetMaterial (G4String)
 
void SetMagField (G4double)
 
void SetMaxStepSize (G4double)
 
void SetMaxStepLength (G4double)
 
void UpdateGeometry ()
 
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)
 
void SetMagField (G4double)
 
virtual G4VPhysicalVolumeConstruct ()
 
void UpdateGeometry ()
 
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 ()
 
G4double GetWorldSizeYZ ()
 
const G4VPhysicalVolumeGetphysiWorld ()
 
const G4VPhysicalVolumeGetAbsorber ()
 
const G4MaterialCutsCoupleGetAbsorbMaterialCut () const
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetSize (G4double)
 
void SetMaterial (G4String)
 
void SetMagField (G4double)
 
void SetMaxStepSize (G4double)
 
void UpdateGeometry ()
 
const G4VPhysicalVolumeGetWorld ()
 
G4double GetSize ()
 
G4MaterialGetMaterial ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
void SetSizeX (G4double)
 
void SetSizeYZ (G4double)
 
void SetMaterial (G4String)
 
void SetMagField (G4double)
 
void SetTallyNumber (G4int)
 
void SetTallySize (G4int, G4ThreeVector)
 
void SetTallyMaterial (G4int, G4String)
 
void SetTallyPosition (G4int, G4ThreeVector)
 
virtual G4VPhysicalVolumeConstruct ()
 
void UpdateGeometry ()
 
G4double GetWorldSizeX ()
 
G4double GetWorldSizeYZ ()
 
G4MaterialGetWorldMaterial ()
 
G4double GetAbsorSizeX ()
 
G4double GetAbsorSizeYZ ()
 
G4MaterialGetAbsorMaterial ()
 
G4int GetTallyNumber ()
 
G4double GetTallyMass (G4int n)
 
G4LogicalVolumeGetLogicalTally (G4int n)
 
void PrintParameters ()
 
 DetectorConstruction (PrimaryGeneratorAction *)
 
virtual ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
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 ()
 
G4VPhysicalVolumeConstruct ()
 
 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)
 
 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)
 
void SetMagField (G4double)
 
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 ()
 
void SetMaterialScatter (G4String)
 
void SetThicknessScatter (G4double)
 
virtual G4VPhysicalVolumeConstruct ()
 
void UpdateGeometry ()
 
void PrintGeometry ()
 
G4double GetThicknessWorld ()
 
G4double GetRadiusWorld ()
 
G4double GetThicknessFrame ()
 
G4MaterialGetMaterialScatter ()
 
G4double GetThicknessScatter ()
 
const G4VPhysicalVolumeGetpvolWorld ()
 
const G4VPhysicalVolumeGetpvolFrame ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
void SetWallThickness (G4double)
 
void SetWallMaterial (G4String)
 
void SetCavityThickness (G4double)
 
void SetCavityRadius (G4double)
 
void SetCavityMaterial (G4String)
 
virtual G4VPhysicalVolumeConstruct ()
 
void UpdateGeometry ()
 
G4double GetWallThickness ()
 
G4double GetWallRadius ()
 
G4MaterialGetWallMaterial ()
 
G4VPhysicalVolumeGetWall ()
 
G4double GetCavityThickness ()
 
G4double GetCavityRadius ()
 
G4MaterialGetCavityMaterial ()
 
G4VPhysicalVolumeGetCavity ()
 
G4double GetTotalThickness ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
void SetWallMaterial (G4String)
 
void SetWallThickness (G4double)
 
void SetCavityThickness (G4double)
 
void SetWorldRadius (G4double)
 
virtual G4VPhysicalVolumeConstruct ()
 
void UpdateGeometry ()
 
G4double GetWallThickness ()
 
G4MaterialGetWallMaterial ()
 
G4VPhysicalVolumeGetWall ()
 
G4double GetCavityThickness ()
 
G4MaterialGetCavityMaterial ()
 
G4VPhysicalVolumeGetCavity ()
 
G4double GetWorldThickness ()
 
G4double GetWorldRadius ()
 
void PrintParameters ()
 
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
G4VPhysicalVolumeConstruct ()
 
void SetTarget1Material (const G4String &m)
 
void SetTarget2Material (const G4String &m)
 
void UpdateGeometry ()
 
G4double GetGeneratorPosZ () const
 
void SetGap (G4double val)
 
void SetTarget1Z (G4double val)
 
void SetTarget2Z (G4double val)
 
void SetMylarZ (G4double val)
 
void SetCheckShiftZ (G4double val)
 
void SetAbsorberZ (G4double val)
 
void SetAbsorberShiftZ (G4double val)
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
 DetectorConstruction ()
 
 ~DetectorConstruction ()
 
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 ()
 
- 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
 

Data Fields

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 demonstrate various ways of placement

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

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

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

Member Enumeration Documentation

Constructor & Destructor Documentation

DetectorConstruction::DetectorConstruction ( )

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

References python.hepunit::mm, and SetMaterial().

55 :pBox(0), aMaterial(0)
56 {
57  BoxSize = 1*mm;
58  DefineMaterials();
59  SetMaterial("Germanium");
60  detectorMessenger = new DetectorMessenger(this);
61 }
DetectorConstruction::~DetectorConstruction ( )

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

66 { delete detectorMessenger;}
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 ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( AnalysisManager analysis)

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

54 {
55 analysis = analysis_manager;
56 }
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 ( )
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 ( PrimaryGeneratorAction p)

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

References python.hepunit::cm, python.hepunit::micrometer, python.hepunit::mm, and G4ProductionCuts::SetProductionCut().

77  fGasMat(0), fWindowMat(0), fWorldMaterial(0),
78  fPhysWorld(0), fLogicWorld(0), fLogicWind(0), fLogicDet(0),
79  fDetectorMessenger(0), fTargetSD(0), fGasDetectorCuts(0),
80  fRegGasDet(0), fPrimaryGenerator(p)
81 {
82  fGasThickness = 23.0*mm;
83  fGasRadius = 10.*cm;
84 
85  fWindowThick = 51.0*micrometer;
86 
87  DefineMaterials();
88 
89  fDetectorMessenger = new DetectorMessenger(this);
90 
91  G4double cut = 23.*mm;
92  fGasDetectorCuts = new G4ProductionCuts();
93  fGasDetectorCuts->SetProductionCut(cut,"gamma");
94  fGasDetectorCuts->SetProductionCut(cut,"e-");
95  fGasDetectorCuts->SetProductionCut(cut,"e+");
96  fGasDetectorCuts->SetProductionCut(cut,"proton");
97 }
void SetProductionCut(G4double cut, G4int index=-1)
double G4double
Definition: G4Types.hh:76
int micrometer
Definition: hepunit.py:34
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 ( )
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 ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )
DetectorConstruction::DetectorConstruction ( )
DetectorConstruction::~DetectorConstruction ( )

Member Function Documentation

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
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
G4VPhysicalVolume * DetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

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

Referenced by SetMethod().

71 {
72  return ConstructVolumes();
73 }
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
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
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 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.

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

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

References G4FieldManager::GetChordFinder(), G4TransportationManager::GetFieldManager(), G4MagIntegratorStepper::GetNumberOfVariables(), G4TransportationManager::GetPropagatorInField(), G4TransportationManager::GetTransportationManager(), python.hepunit::m, python.hepunit::mm, G4FieldManager::SetChordFinder(), G4ChordFinder::SetDeltaChord(), G4FieldManager::SetDeltaIntersection(), G4FieldManager::SetDeltaOneStep(), G4FieldManager::SetDetectorField(), G4PropagatorInField::SetMaximumEpsilonStep(), and G4PropagatorInField::SetMinimumEpsilonStep().

734 {
735  if(!fField) fField = new EMField();
736 
737  fEquation = new G4EqMagElectricField(fField);
738  fStepper = new G4ClassicalRK4 (fEquation);
740  fIntgrDriver = new G4MagInt_Driver(0.000001*mm,fStepper,fStepper->GetNumberOfVariables() );
741  fChordFinder = new G4ChordFinder(fIntgrDriver);
742  fFieldMgr->SetChordFinder(fChordFinder);
743  fFieldMgr->SetDetectorField(fField);
744 
745  // FOLLOWING PARAMETERS TUNED FROM RAY-TRACING SIMULATIONS OF THE AIFIRA NANOBEAM LINE
746 
747  fFieldMgr->GetChordFinder()->SetDeltaChord(1e-9*m);
748  fFieldMgr->SetDeltaIntersection(1e-9*m);
749  fFieldMgr->SetDeltaOneStep(1e-9*m);
750 
751  fPropInField =
753  fPropInField->SetMinimumEpsilonStep(1e-11);
754  fPropInField->SetMaximumEpsilonStep(1e-10);
755 
756 }
G4ChordFinder * GetChordFinder()
G4bool SetDetectorField(G4Field *detectorField)
void SetChordFinder(G4ChordFinder *aChordFinder)
G4int GetNumberOfVariables() const
static G4TransportationManager * GetTransportationManager()
G4FieldManager * GetFieldManager() const
void SetDeltaIntersection(G4double valueDintersection)
void SetMinimumEpsilonStep(G4double newEpsMin)
void SetMaximumEpsilonStep(G4double newEpsMax)
void SetDeltaOneStep(G4double valueD1step)
G4PropagatorInField * GetPropagatorInField() const
void SetDeltaChord(G4double newval)
virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

virtual void DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

const G4VPhysicalVolume* DetectorConstruction::GetAbsorber ( )
inline

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

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

Definition at line 93 of file examples/extended/electromagnetic/TestEm3/include/DetectorConstruction.hh.

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

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

93 {return fPhysiAbsorber;};
G4Material* DetectorConstruction::GetAbsorberMaterial ( )
inline

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

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

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

Referenced by Run::ComputeMscHighland(), and Run::PrintSummary().

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

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

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

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

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

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

Referenced by Run::ComputeMscHighland(), and Run::PrintSummary().

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

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

84 {return fXposAbs;};
const G4MaterialCutsCouple* DetectorConstruction::GetAbsorbMaterialCut ( ) const
inline

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

References G4LogicalVolume::GetMaterialCutsCouple().

95  {return fLogicAbsorber->GetMaterialCutsCouple();};
const G4MaterialCutsCouple * GetMaterialCutsCouple() const
G4Material* DetectorConstruction::GetAbsorMaterial ( )
inline

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

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

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

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

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

Referenced by RunAction::PrintDedxTables().

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

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

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

Definition at line 88 of file examples/extended/electromagnetic/TestEm3/include/DetectorConstruction.hh.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Definition at line 89 of file examples/extended/electromagnetic/TestEm3/include/DetectorConstruction.hh.

89 {return fAbsorThickness[i];};
const G4VPhysicalVolume* DetectorConstruction::GetBox ( )
inline

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

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

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

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

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

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

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

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

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

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

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

Referenced by SteppingAction::UserSteppingAction().

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

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

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

Definition at line 83 of file examples/extended/electromagnetic/TestEm3/include/DetectorConstruction.hh.

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

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

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

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

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

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

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

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

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

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

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

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

74 {return fCavityMaterial;};
G4double DetectorConstruction::GetCavityRadius ( )
inline

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

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

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

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

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

Referenced by PrimaryGeneratorAction::RunInitialisation().

72 {return fCavityThickness;};
G4int DetectorConstruction::GetCoef ( )
G4double DetectorConstruction::GetD1Pixel ( )
inline

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

Referenced by SteppingAction::UserSteppingAction().

81 {return d1pxl;};
G4double DetectorConstruction::GetD2Pixel ( )
inline

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

Referenced by SteppingAction::UserSteppingAction().

82 {return d2pxl;};
G4double DetectorConstruction::GetdLlength ( )
inline

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

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

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

Referenced by Run::ComputeStatistics().

78 {return fDLradl;};
G4double DetectorConstruction::GetdRlength ( )
inline

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

Referenced by Run::ComputeStatistics().

81 {return fDRlength;};
G4double DetectorConstruction::GetdRradl ( )
inline

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

Referenced by Run::ComputeStatistics().

79 {return fDRradl;};
const G4VPhysicalVolume* DetectorConstruction::GetEcal ( )
inline

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

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

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

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

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

83 {return fEcalRadius;};
G4float DetectorConstruction::GetG1 ( )
inline
G4float DetectorConstruction::GetG2 ( )
inline
G4float DetectorConstruction::GetG3 ( )
inline
G4float DetectorConstruction::GetG4 ( )
inline
const G4VPhysicalVolume* DetectorConstruction::GetGap ( )
inline

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

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

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

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

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

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

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

73 { return fGeneratorPosZ; };
G4int DetectorConstruction::GetGrid ( )
inline
G4LogicalVolume* DetectorConstruction::GetLogicalCollDetGap4 ( )
inline

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

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

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

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

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

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

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

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

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

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

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

82 {return fLogicBoite3;};
G4LogicalVolume* DetectorConstruction::GetLogicalTally ( G4int  n)
inline

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

References n.

84 {return fLTally[n];}
const G4int n
G4LogicalVolume* DetectorConstruction::GetLogicalVol ( )
inline

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

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

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

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

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

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

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

Referenced by SteppingAction::UserSteppingAction().

69 {return lvol_fiber;};
G4LogicalVolume* DetectorConstruction::GetLvolLayer ( )
inline

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

Referenced by SteppingAction::UserSteppingAction().

70 {return lvol_layer;};
G4LogicalVolume* DetectorConstruction::GetLvolModule ( )
inline

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

Referenced by SteppingAction::UserSteppingAction().

71 {return lvol_module;};
G4LogicalVolume* DetectorConstruction::GetLvolWorld ( )
inline

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

Referenced by SteppingAction::UserSteppingAction().

73 {return lvol_world;};
G4float DetectorConstruction::GetMassCytoplasm ( )
inline

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

72 {return fMassCytoplasm;}
G4float DetectorConstruction::GetMassNucleus ( )
inline

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Definition at line 71 of file examples/extended/medical/electronScattering/include/DetectorConstruction.hh.

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

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

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

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

Referenced by SteppingAction::UserSteppingAction().

67 {return moduleThickness;};
G4int DetectorConstruction::GetN1Pixels ( )
inline
G4int DetectorConstruction::GetN1Shift ( )
inline
G4int DetectorConstruction::GetN2Pixels ( )
inline
G4int DetectorConstruction::GetNbFibers ( )
inline

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

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

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

76 {return nbOfLayers;};
G4int DetectorConstruction::GetNbModules ( )
inline

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

77 {return nbOfModules;};
G4int DetectorConstruction::GetNbOfAbsor ( )
inline

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

Referenced by RunAction::PrintDedxTables().

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

Definition at line 87 of file examples/extended/electromagnetic/TestEm3/include/DetectorConstruction.hh.

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

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

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

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

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

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

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

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

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

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

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

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

Referenced by Run::ComputeStatistics().

76 {return fNLtot;};
G4int DetectorConstruction::GetnRtot ( )
inline

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

77 {return fNRtot;};
const G4VPhysicalVolume* DetectorConstruction::GetphysiWorld ( )
inline

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

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

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

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

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

92 {return fPhysiWorld;};
G4int DetectorConstruction::GetProfile ( )
inline
const G4VPhysicalVolume* DetectorConstruction::GetpvolFrame ( )
inline

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

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

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

Referenced by TrackingAction::PostUserTrackingAction().

62 {return pvol_world;};
const G4VPhysicalVolume* DetectorConstruction::GetpvolWorld ( )
inline

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

74 {return fPvol_World;};
G4double DetectorConstruction::GetRadiusWorld ( )
inline

Definition at line 68 of file examples/extended/medical/electronScattering/include/DetectorConstruction.hh.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

71 {return fBoxSize;};
G4int DetectorConstruction::GetSizeVectorPixels ( )
inline

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

Referenced by EventAction::BeginOfEventAction(), and EventAction::WritePixels().

84 {return sizeVectorPxl;};
G4double DetectorConstruction::GetTallyMass ( G4int  n)
inline

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

References n.

83 {return fTallyMass[n];};
const G4int n
G4int DetectorConstruction::GetTallyNumber ( )
inline

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

82 {return fTallyNumber;};
G4Region* DetectorConstruction::GetTargetRegion ( )
inline

Definition at line 60 of file examples/advanced/microelectronics/include/DetectorConstruction.hh.

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

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

61 {return fRegion;}
G4double DetectorConstruction::GetThicknessFrame ( )
inline

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

69 {return fWallMaterial;};
G4double DetectorConstruction::GetWallRadius ( )
inline

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

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

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

67 {return fWallThickness;};
G4double DetectorConstruction::GetWallThickness ( )
inline

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

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

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

Referenced by PhysicsList::GetRange().

62 {return pBox;};
const G4VPhysicalVolume* DetectorConstruction::GetWorld ( )
inline

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Definition at line 92 of file examples/extended/electromagnetic/TestEm3/include/DetectorConstruction.hh.

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

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

76 {return fWorldRadius;};
G4double DetectorConstruction::GetWorldSize ( )
inline

Definition at line 53 of file examples/extended/radioactivedecay/rdecay01/include/DetectorConstruction.hh.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Definition at line 52 of file examples/extended/eventgenerator/particleGun/include/DetectorConstruction.hh.

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

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

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

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

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

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

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

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

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

Definition at line 53 of file examples/extended/eventgenerator/particleGun/include/DetectorConstruction.hh.

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

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

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

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

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

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

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

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

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

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

85 {return fXstartAbs;};
G4Material* DetectorConstruction::MaterialWithSingleIsotope ( G4String  ,
G4String  ,
G4double  ,
G4int  ,
G4int   
)
G4Material * DetectorConstruction::MaterialWithSingleIsotope ( G4String  name,
G4String  symbol,
G4double  density,
G4int  Z,
G4int  A 
)

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

References G4Material::AddElement(), G4Element::AddIsotope(), eplot::material, and python.hepunit::perCent.

102 {
103  // define a material from an isotope
104  //
105  G4int ncomponents;
106  G4double abundance, massfraction;
107 
108  G4Isotope* isotope = new G4Isotope(symbol, Z, A);
109 
110  G4Element* element = new G4Element(name, symbol, ncomponents=1);
111  element->AddIsotope(isotope, abundance= 100.*perCent);
112 
113  G4Material* material = new G4Material(name, density, ncomponents=1);
114  material->AddElement(element, massfraction=100.*perCent);
115 
116  return material;
117 }
int G4int
Definition: G4Types.hh:78
string material
Definition: eplot.py:19
G4double density
Definition: TRTMaterials.hh:39
void AddIsotope(G4Isotope *isotope, G4double RelativeAbundance)
Definition: G4Element.cc:151
float perCent
Definition: hepunit.py:239
void AddElement(G4Element *element, G4int nAtoms)
Definition: G4Material.cc:345
double G4double
Definition: G4Types.hh:76
void DetectorConstruction::PrintCalorParameters ( )

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

References G4BestUnit, G4cout, G4endl, and G4Material::GetName().

348 {
349  G4cout << "\n-------------------------------------------------------------"
350  << "\n ---> The calorimeter is " << nbOfModules << " Modules"
351  << "\n ---> A Module is " << nbOfLayers << " Layers + 1 milled Layer";
352 
353  G4cout
354  << "\n ---> A Layer is " << G4BestUnit(layerThickness,"Length")
355  << " thickness of " << absorberMat->GetName();
356 
357  G4cout
358  << "\n ---> A Layer includes " << nbOfFibers << " fibers of "
359  << fiberMat->GetName();
360 
361  G4cout
362  << "\n ---> diameter : " << G4BestUnit(fiberDiameter,"Length")
363  << "\n ---> length : " << G4BestUnit(fiberLength,"Length")
364  << "\n ---> distance : " << G4BestUnit(distanceInterFibers,"Length");
365 
366  G4cout
367  << "\n ---> The milled Layer is " << G4BestUnit(milledLayer,"Length")
368  << " thickness of " << absorberMat->GetName();
369 
370  G4cout
371  << "\n\n ---> Module thickness " << G4BestUnit(moduleThickness,"Length");
372 
373  G4cout
374  << "\n\n ---> Total calor thickness " << G4BestUnit(calorThickness,"Length")
375  << "\n Tranverse size " << G4BestUnit(fiberLength,"Length");
376 
377  G4cout << "\n-------------------------------------------------------------\n";
378  G4cout << G4endl;
379 }
const G4String & GetName() const
Definition: G4Material.hh:176
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
void DetectorConstruction::PrintCalorParameters ( )
void DetectorConstruction::PrintCalorParameters ( )
void DetectorConstruction::PrintCalorParameters ( )
void DetectorConstruction::PrintDetectorParameters ( )
void DetectorConstruction::PrintGeometry ( )

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

References G4BestUnit, G4cout, G4endl, and G4Material::GetName().

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:176
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
int G4int
Definition: G4Types.hh:78
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
double G4double
Definition: G4Types.hh:76
void DetectorConstruction::PrintParameters ( )

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

References G4BestUnit, G4cout, G4endl, and G4Material::GetName().

174 {
175  G4cout << "\n The Box is " << G4BestUnit(BoxSize,"Length")
176  << " of " << aMaterial->GetName() << G4endl;
177 }
const G4String & GetName() const
Definition: G4Material.hh:176
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
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 ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::PrintParameters ( )
void DetectorConstruction::SetAbsLength ( G4double  val)

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

References G4RunManager::GeometryHasBeenModified(), and G4RunManager::GetRunManager().

447 {
448  if(val > 0.0) {
449  fAbsLength = val;
451  }
452 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
void DetectorConstruction::SetAbsMaterial ( const G4String mat)

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

References G4NistManager::FindOrBuildMaterial(), G4RunManager::GetRunManager(), G4NistManager::Instance(), G4RunManager::PhysicsHasBeenModified(), and G4LogicalVolume::SetMaterial().

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:74
void SetMaterial(G4Material *pMaterial)
void DetectorConstruction::SetAbsorberMaterial ( G4String  materialChoice)

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

References G4NistManager::FindOrBuildMaterial(), G4RunManager::GetRunManager(), G4NistManager::Instance(), G4RunManager::PhysicsHasBeenModified(), and G4LogicalVolume::SetMaterial().

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:74
void SetMaterial(G4Material *pMaterial)
void DetectorConstruction::SetAbsorberMaterial ( G4String  )
void DetectorConstruction::SetAbsorberShiftZ ( G4double  val)
inline
void DetectorConstruction::SetAbsorberSizeYZ ( G4double  val)

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

References G4RunManager::GetRunManager(), and G4RunManager::ReinitializeGeometry().

381 {
382  fAbsorberSizeYZ = val;
383  ComputeCalorParameters();
385 }
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
void DetectorConstruction::SetAbsorberThickness ( G4double  val)

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

References G4RunManager::GetRunManager(), and G4RunManager::ReinitializeGeometry().

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:74
void DetectorConstruction::SetAbsorberThickness ( G4double  )
void DetectorConstruction::SetAbsorberXpos ( G4double  val)

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

References G4RunManager::GetRunManager(), and G4RunManager::ReinitializeGeometry().

410 {
411  fXposAbs = val;
412  ComputeCalorParameters();
414 }
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
void DetectorConstruction::SetAbsorberZ ( G4double  val)
inline
void DetectorConstruction::SetAbsorMaterial ( G4int  ,
const G4String  
)
void DetectorConstruction::SetAbsorMaterial ( G4int  iabs,
const G4String material 
)

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

References G4NistManager::FindOrBuildMaterial(), G4cout, G4endl, G4RunManager::GetRunManager(), G4NistManager::Instance(), and G4RunManager::PhysicsHasBeenModified().

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

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

References DBL_MIN, G4cout, G4endl, G4RunManager::GetRunManager(), and G4RunManager::ReinitializeGeometry().

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

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

References DBL_MIN, G4cout, G4endl, G4RunManager::GetRunManager(), and G4RunManager::ReinitializeGeometry().

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

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

References G4RunManager::GetRunManager(), and G4RunManager::ReinitializeGeometry().

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:74
void DetectorConstruction::SetCavityMaterial ( G4String  materialChoice)

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

References G4Material::GetMaterial().

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:578
void DetectorConstruction::SetCavityRadius ( G4double  value)

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

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

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

218 {
219  fCavityThickness = value;
220 }
const XML_Char int const XML_Char * value
void DetectorConstruction::SetCavityThickness ( G4double  )
void DetectorConstruction::SetCheckShiftZ ( G4double  val)
inline
void DetectorConstruction::SetCoef ( G4int  val)
void DetectorConstruction::SetContainerMaterial ( const G4String name)

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

References G4NistManager::FindOrBuildMaterial(), G4cout, G4endl, G4Material::GetMaterial(), G4Material::GetName(), G4RunManager::GetRunManager(), G4NistManager::Instance(), G4RunManager::PhysicsHasBeenModified(), and G4LogicalVolume::SetMaterial().

349 {
350  // get the pointer to the existing material
351  G4Material* mat = G4Material::GetMaterial(name, false);
352 
353  // create the material by its name
354  if(!mat) { mat = G4NistManager::Instance()->FindOrBuildMaterial(name); }
355 
356  if (mat && mat != fWindowMat) {
357  G4cout << "### New material for container: " << mat->GetName() << G4endl;
358  fWindowMat = mat;
359  if(fLogicWind) {
360  fLogicWind->SetMaterial(mat);
362  }
363  }
364 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
Definition: G4Material.cc:578
const G4String & GetName() const
Definition: G4Material.hh:176
static G4NistManager * Instance()
G4GLOB_DLL std::ostream G4cout
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
#define G4endl
Definition: G4ios.hh:61
void SetMaterial(G4Material *pMaterial)
void DetectorConstruction::SetContainerThickness ( G4double  val)

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

References G4RunManager::GeometryHasBeenModified(), and G4RunManager::GetRunManager().

409 {
410  if(fWindowThick != val) {
412  fWindowThick = val;
413  }
414 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
void DetectorConstruction::SetEcalLength ( G4double  val)

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

References G4RunManager::GeometryHasBeenModified(), and G4RunManager::GetRunManager().

397 {
398  if(val > 0.0) {
399  fEcalLength = val;
401  }
402 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
void DetectorConstruction::SetEcalMaterial ( const G4String mat)

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

References G4NistManager::FindOrBuildMaterial(), G4RunManager::GetRunManager(), G4NistManager::Instance(), G4RunManager::PhysicsHasBeenModified(), and G4LogicalVolume::SetMaterial().

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:74
void SetMaterial(G4Material *pMaterial)
void DetectorConstruction::SetEcalWidth ( G4double  val)

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

References G4RunManager::GeometryHasBeenModified(), and G4RunManager::GetRunManager().

407 {
408  if(val > 0.0) {
409  fEcalWidth = val;
411  }
412 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
void DetectorConstruction::SetG1 ( G4float  value)

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

References fG1.

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

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

References fG2.

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

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

References fG3.

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

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

References fG4.

260 {
261  fG4 = value;
262 }
const XML_Char int const XML_Char * value
void DetectorConstruction::SetGap ( G4double  val)
inline
void DetectorConstruction::SetGapMaterial ( G4String  materialChoice)

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

References G4NistManager::FindOrBuildMaterial(), G4RunManager::GetRunManager(), G4NistManager::Instance(), G4RunManager::PhysicsHasBeenModified(), and G4LogicalVolume::SetMaterial().

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:74
void SetMaterial(G4Material *pMaterial)
void DetectorConstruction::SetGapThickness ( G4double  val)

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

References G4RunManager::GetRunManager(), and G4RunManager::ReinitializeGeometry().

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:74
void DetectorConstruction::SetGasMaterial ( const G4String name)

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

References G4NistManager::FindOrBuildMaterial(), G4cout, G4endl, G4Material::GetMaterial(), G4Material::GetName(), G4RunManager::GetRunManager(), G4NistManager::Instance(), G4RunManager::PhysicsHasBeenModified(), and G4LogicalVolume::SetMaterial().

329 {
330  // get the pointer to the existing material
331  G4Material* mat = G4Material::GetMaterial(name, false);
332 
333  // create the material by its name
334  if(!mat) { mat = G4NistManager::Instance()->FindOrBuildMaterial(name); }
335 
336  if (mat && mat != fGasMat) {
337  G4cout << "### New target material: " << mat->GetName() << G4endl;
338  fGasMat = mat;
339  if(fLogicDet) {
340  fLogicDet->SetMaterial(mat);
342  }
343  }
344 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
Definition: G4Material.cc:578
const G4String & GetName() const
Definition: G4Material.hh:176
static G4NistManager * Instance()
G4GLOB_DLL std::ostream G4cout
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
#define G4endl
Definition: G4ios.hh:61
void SetMaterial(G4Material *pMaterial)
void DetectorConstruction::SetGasRadius ( G4double  val)

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

References G4RunManager::GeometryHasBeenModified(), and G4RunManager::GetRunManager().

399 {
400  if(fGasRadius != val) {
402  fGasRadius = val;
403  }
404 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
void DetectorConstruction::SetGasThickness ( G4double  val)

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

References G4RunManager::GeometryHasBeenModified(), and G4RunManager::GetRunManager().

389 {
390  if(fGasThickness != val) {
392  fGasThickness = val;
393  }
394 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
void DetectorConstruction::SetGrid ( G4int  myGrid)
void DetectorConstruction::SetLBining ( G4ThreeVector  Value)

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

References G4cout, G4endl, G4RunManager::GetRunManager(), MaxBin, and G4RunManager::ReinitializeGeometry().

180 {
181  fNLtot = (G4int)Value(0);
182  if (fNLtot > MaxBin) {
183  G4cout << "\n ---> warning from SetLBining: "
184  << fNLtot << " truncated to " << MaxBin << G4endl;
185  fNLtot = MaxBin;
186  }
187  fDLradl = Value(1);
189 }
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:74
#define G4endl
Definition: G4ios.hh:61
void DetectorConstruction::SetMagField ( G4double  fieldValue)

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

References G4FieldManager::CreateChordFinder(), G4TransportationManager::GetFieldManager(), G4TransportationManager::GetTransportationManager(), and G4FieldManager::SetDetectorField().

387 {
388  //apply a global uniform magnetic field along Z axis
389  //
390  G4FieldManager* fieldMgr
392 
393  if(magField) delete magField; //delete the existing magn field
394 
395  if(fieldValue!=0.) // create a new one if non nul
396  { magField = new G4UniformMagField(G4ThreeVector(0.,0.,fieldValue));
397  fieldMgr->SetDetectorField(magField);
398  fieldMgr->CreateChordFinder(magField);
399  } else {
400  magField = 0;
401  fieldMgr->SetDetectorField(magField);
402  }
403 }
CLHEP::Hep3Vector G4ThreeVector
G4bool SetDetectorField(G4Field *detectorField)
static G4TransportationManager * GetTransportationManager()
G4FieldManager * GetFieldManager() const
void CreateChordFinder(G4MagneticField *detectorMagField)
void DetectorConstruction::SetMagField ( G4double  )
void DetectorConstruction::SetMagField ( G4double  )
void DetectorConstruction::SetMagField ( G4double  )
void DetectorConstruction::SetMagField ( G4double  )
void DetectorConstruction::SetMagField ( G4double  )
void DetectorConstruction::SetMagField ( G4double  )
void DetectorConstruction::SetMagField ( G4double  )
void DetectorConstruction::SetMagField ( G4double  )
void DetectorConstruction::SetMassCytoplasm ( G4float  mC)
inline

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

71 { fMassCytoplasm = mC;}
void DetectorConstruction::SetMassNucleus ( G4float  mN)
inline

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

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

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

References G4RunManager::DefineWorldVolume(), G4NistManager::FindOrBuildMaterial(), G4cout, G4endl, G4RunManager::GetRunManager(), and G4NistManager::Instance().

Referenced by BOOST_PYTHON_MODULE(), DetectorConstruction(), and DetectorMessenger::SetNewValue().

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:74
#define G4endl
Definition: G4ios.hh:61
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterial ( G4String  )
void DetectorConstruction::SetMaterial ( const G4String name)

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

References G4NistManager::FindOrBuildMaterial(), G4cout, G4endl, G4Material::GetMaterial(), G4Material::GetName(), G4NistManager::Instance(), and UpdateGeometry().

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

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

References G4Material::GetMaterial().

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:578
void DetectorConstruction::SetMaxStepLength ( G4double  val)

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

References DBL_MIN, G4cout, G4endl, G4TransportationManager::GetPropagatorInField(), G4TransportationManager::GetTransportationManager(), and G4PropagatorInField::SetLargestAcceptableStep().

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
void DetectorConstruction::SetMaxStepSize ( G4double  val)

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

References DBL_MIN, G4cout, G4endl, and G4UserLimits::SetMaxAllowedStep().

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
void DetectorConstruction::SetMaxStepSize ( G4double  )
void DetectorConstruction::SetMaxStepSize ( G4double  )
void DetectorConstruction::SetMethod ( EMethod  method)

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

References Construct(), G4RunManager::DefineWorldVolume(), and G4RunManager::GetRunManager().

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

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

References fModel.

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
void DetectorConstruction::SetNbOfAbsor ( G4int  )
void DetectorConstruction::SetNbOfAbsor ( G4int  ival)

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

References G4cout, G4endl, G4RunManager::GetRunManager(), MaxAbsor, and G4RunManager::ReinitializeGeometry().

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

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

References G4cout, G4endl, G4RunManager::GetRunManager(), and G4RunManager::ReinitializeGeometry().

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

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

References G4RunManager::GetRunManager(), and G4RunManager::ReinitializeGeometry().

335 {
336  fNbOfLayers = val;
338 }
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
void DetectorConstruction::SetNbOfPixelsInPhantom ( G4int  nP)
inline

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

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

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

References G4RunManager::GeometryHasBeenModified(), and G4RunManager::GetRunManager().

427 {
428  if(val > 0.0) {
429  fPadLength = val;
431  }
432 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
void DetectorConstruction::SetPadWidth ( G4double  val)

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

References G4RunManager::GeometryHasBeenModified(), and G4RunManager::GetRunManager().

437 {
438  if(val > 0.0) {
439  fPadWidth = val;
441  }
442 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
void DetectorConstruction::SetPairEnergy ( G4double  val)

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

References G4Material::GetIonisation(), and G4IonisParamMat::SetMeanEnergyPerIonPair().

419 {
420  if(val > 0.0) {
421  fGasMat->GetIonisation()->SetMeanEnergyPerIonPair(val);
422  }
423 }
G4IonisParamMat * GetIonisation() const
Definition: G4Material.hh:224
void SetMeanEnergyPerIonPair(G4double value)
void DetectorConstruction::SetProfile ( G4int  myProfile)
void DetectorConstruction::SetRadius ( G4double  value)

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

181 {
182  fAbsorRadius = value;
183 }
const XML_Char int const XML_Char * value
void DetectorConstruction::SetRBining ( G4ThreeVector  Value)

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

References G4cout, G4endl, G4RunManager::GetRunManager(), MaxBin, and G4RunManager::ReinitializeGeometry().

194 {
195  fNRtot = (G4int)Value(0);
196  if (fNRtot > MaxBin) {
197  G4cout << "\n ---> warning from SetRBining: "
198  << fNRtot << " truncated to " << MaxBin << G4endl;
199  fNRtot = MaxBin;
200  }
201  fDRradl = Value(1);
203 }
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:74
#define G4endl
Definition: G4ios.hh:61
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 231 of file examples/extended/electromagnetic/TestEm1/src/DetectorConstruction.cc.

References G4RunManager::GetRunManager(), and G4RunManager::ReinitializeGeometry().

232 {
233  fBoxSize = value;
235 }
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
const XML_Char int const XML_Char * value
void DetectorConstruction::SetSizeX ( G4double  )
void DetectorConstruction::SetSizeX ( G4double  value)

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

References G4RunManager::GeometryHasBeenModified(), and G4RunManager::GetRunManager().

260 {
261  fAbsorSizeX = value; fWorldSizeX = 1.2*fAbsorSizeX;
263 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
const XML_Char int const XML_Char * value
void DetectorConstruction::SetSizeXY ( G4double  value)

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

References UpdateGeometry().

185 {
186  boxSizeXY = value;
187  if (worldSize<boxSizeXY) worldSize = 1.2*boxSizeXY;
188  UpdateGeometry();
189 }
const XML_Char int const XML_Char * value
void DetectorConstruction::SetSizeYZ ( G4double  )
void DetectorConstruction::SetSizeYZ ( G4double  value)

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

References G4RunManager::GeometryHasBeenModified(), and G4RunManager::GetRunManager().

268 {
269  fAbsorSizeYZ = value;
270  fWorldSizeYZ = 1.2*fAbsorSizeYZ;
272 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
const XML_Char int const XML_Char * value
void DetectorConstruction::SetSizeZ ( G4double  value)

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

References UpdateGeometry().

192 {
193  boxSizeZ = value;
194  if (worldSize<boxSizeZ) worldSize = 1.2*boxSizeZ;
195  UpdateGeometry();
196 }
const XML_Char int const XML_Char * value
void DetectorConstruction::SetTallyMaterial ( G4int  j,
G4String  materialChoice 
)

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

References G4NistManager::FindOrBuildMaterial(), G4RunManager::GetRunManager(), G4NistManager::Instance(), G4RunManager::PhysicsHasBeenModified(), and G4LogicalVolume::SetMaterial().

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

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

315 {
316  fTallyNumber = value;
317 }
const XML_Char int const XML_Char * value
void DetectorConstruction::SetTallyPosition ( G4int  j,
G4ThreeVector  value 
)

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

References G4RunManager::GeometryHasBeenModified(), and G4RunManager::GetRunManager().

346 {
347 
348  fTallyPosition[j] = value;
350 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
const XML_Char int const XML_Char * value
void DetectorConstruction::SetTallySize ( G4int  j,
G4ThreeVector  value 
)

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

References G4RunManager::GeometryHasBeenModified(), and G4RunManager::GetRunManager().

322 {
323  fTallySize[j] = value;
325 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
const XML_Char int const XML_Char * value
void DetectorConstruction::SetTarget1Material ( const G4String m)

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

References G4NistManager::FindOrBuildMaterial(), G4cout, G4endl, G4RunManager::GetRunManager(), G4NistManager::Instance(), G4RunManager::PhysicsHasBeenModified(), and G4LogicalVolume::SetMaterial().

401 {
402  // search the material by its name
403  G4Material* pttoMaterial =
405  if(!pttoMaterial) {
406  G4cout << "Material " << mat << " is not found out!" << G4endl;
407  } else if (pttoMaterial != fTarget1Material) {
408  G4cout << "New target1 material " << mat << G4endl;
409  if(fLogicTarget1) { fLogicTarget1->SetMaterial(fTarget1Material); }
411  }
412 }
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:74
#define G4endl
Definition: G4ios.hh:61
void SetMaterial(G4Material *pMaterial)
void DetectorConstruction::SetTarget1Z ( G4double  val)
inline
void DetectorConstruction::SetTarget2Material ( const G4String m)

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

References G4NistManager::FindOrBuildMaterial(), G4cout, G4endl, G4RunManager::GetRunManager(), G4NistManager::Instance(), G4RunManager::PhysicsHasBeenModified(), and G4LogicalVolume::SetMaterial().

417 {
418  // search the material by its name
419  G4Material* pttoMaterial =
421 
422  if(!pttoMaterial) {
423  G4cout << "Material " << mat << " is not found out!" << G4endl;
424  } else if (pttoMaterial != fTarget2Material) {
425  fTarget2Material = pttoMaterial;
426  G4cout << "New target2 material " << mat << G4endl;
427  if(fLogicTarget2) { fLogicTarget2->SetMaterial(fTarget2Material); }
429  }
430 }
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:74
#define G4endl
Definition: G4ios.hh:61
void SetMaterial(G4Material *pMaterial)
void DetectorConstruction::SetTarget2Z ( G4double  val)
inline
void DetectorConstruction::SetTargetLength ( G4double  val)
void DetectorConstruction::SetTargetLength ( G4double  val)

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

References G4RunManager::GetRunManager(), and G4RunManager::ReinitializeGeometry().

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:74
void DetectorConstruction::SetTargetMaterial ( G4String  materialChoice)

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

References G4NistManager::FindOrBuildMaterial(), G4cout, G4endl, G4NistManager::Instance(), and UpdateGeometry().

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

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

References G4NistManager::FindOrBuildMaterial(), G4RunManager::GetRunManager(), G4NistManager::Instance(), eplot::material, G4RunManager::PhysicsHasBeenModified(), and G4LogicalVolume::SetMaterial().

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:74
void SetMaterial(G4Material *pMaterial)
void DetectorConstruction::SetTargetMaterial ( const G4String )
void DetectorConstruction::SetTargetMaterial ( const G4String )
void DetectorConstruction::SetTargetRadius ( G4double  val)
void DetectorConstruction::SetTargetRadius ( G4double  val)

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

References G4RunManager::GetRunManager(), and G4RunManager::ReinitializeGeometry().

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:74
void DetectorConstruction::SetTargetRadius ( G4double  val)
void DetectorConstruction::SetTargetRadius ( G4double  val)
void DetectorConstruction::SetThicknessScatter ( G4double  val)

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

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

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

References G4RunManager::GeometryHasBeenModified(), and G4RunManager::GetRunManager().

417 {
418  if(val > 0.0) {
419  fVertexLength = val;
421  }
422 }
void GeometryHasBeenModified(G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
void DetectorConstruction::SetWallMaterial ( G4String  )
void DetectorConstruction::SetWallMaterial ( G4String  materialChoice)

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

References G4Material::GetMaterial().

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:578
void DetectorConstruction::SetWallThickness ( G4double  value)

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

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

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

References G4NistManager::FindOrBuildMaterial(), and G4NistManager::Instance().

429 {
430  // search the material by its name
431  G4Material* pttoMaterial =
433  if (pttoMaterial) fDefaultMaterial = pttoMaterial;
434 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
void DetectorConstruction::SetWorldMaterial ( G4String  materialChoice)

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

References G4NistManager::FindOrBuildMaterial(), G4RunManager::GetRunManager(), G4NistManager::Instance(), G4RunManager::PhysicsHasBeenModified(), and G4LogicalVolume::SetMaterial().

357 {
358  // search the material by its name
359  G4Material* pttoMaterial =
360  G4NistManager::Instance()->FindOrBuildMaterial(materialChoice);
361 
362  if (pttoMaterial && fWorldMaterial != pttoMaterial) {
363  fWorldMaterial = pttoMaterial;
364  if(fLogicWorld) fLogicWorld->SetMaterial(fWorldMaterial);
366  }
367 }
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4NistManager * Instance()
void PhysicsHasBeenModified()
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
void SetMaterial(G4Material *pMaterial)
void DetectorConstruction::SetWorldMaterial ( const G4String )
void DetectorConstruction::SetWorldMaterial ( const G4String )
void DetectorConstruction::SetWorldMaterial ( const G4String )
void DetectorConstruction::SetWorldRadius ( G4double  value)

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

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

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

References G4RunManager::GetRunManager(), and G4RunManager::ReinitializeGeometry().

390 {
391  fWorldSizeX = val;
392  fDefaultWorld = false;
393  ComputeCalorParameters();
395 }
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
void DetectorConstruction::SetWorldSizeYZ ( G4double  val)

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

References G4RunManager::GetRunManager(), and G4RunManager::ReinitializeGeometry().

400 {
401  fWorldSizeYZ = val;
402  fDefaultWorld = false;
403  ComputeCalorParameters();
405 }
void ReinitializeGeometry(G4bool destroyFirst=false, G4bool prop=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
void DetectorConstruction::UpdateGeometry ( )
void DetectorConstruction::UpdateGeometry ( )

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

References G4RunManager::DefineWorldVolume(), and G4RunManager::GetRunManager().

Referenced by SetAbsorberShiftZ(), SetAbsorberZ(), SetCheckShiftZ(), SetGap(), SetMaterial(), SetMylarZ(), SetSizeXY(), SetSizeZ(), SetTarget1Z(), SetTarget2Z(), and SetTargetMaterial().

410 {
411  G4RunManager::GetRunManager()->DefineWorldVolume(ConstructCalorimeter());
412 }
virtual void DefineWorldVolume(G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:74
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 ( )
void DetectorConstruction::UpdateGeometry ( )
void DetectorConstruction::UpdateGeometry ( )
void DetectorConstruction::UpdateGeometry ( )
void DetectorConstruction::UpdateGeometry ( )
void DetectorConstruction::UpdateGeometry ( )
void DetectorConstruction::UpdateGeometry ( )
void DetectorConstruction::UpdateGeometry ( )
void DetectorConstruction::UpdateGeometry ( )

Field Documentation

G4int DetectorConstruction::fCoef

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

Referenced by GetCoef(), and SetCoef().

G4float DetectorConstruction::fG1

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

Referenced by GetG1(), and SetG1().

G4float DetectorConstruction::fG2

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

Referenced by GetG2(), and SetG2().

G4float DetectorConstruction::fG3

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

Referenced by GetG3(), and SetG3().

G4float DetectorConstruction::fG4

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

Referenced by GetG4(), and SetG4().

G4int DetectorConstruction::fGrid

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

Referenced by GetGrid(), and SetGrid().

G4int DetectorConstruction::fModel
G4int DetectorConstruction::fProfile

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