Geant4  10.00.p01
F02DetectorConstruction Class Reference

#include <F02DetectorConstruction.hh>

+ Inheritance diagram for F02DetectorConstruction:
+ Collaboration diagram for F02DetectorConstruction:

Public Member Functions

 F02DetectorConstruction ()
 
virtual ~F02DetectorConstruction ()
 
void SetAbsorberMaterial (G4String)
 
void SetAbsorberThickness (G4double)
 
void SetAbsorberRadius (G4double)
 
void SetAbsorberZpos (G4double)
 
void SetWorldMaterial (G4String)
 
void SetWorldSizeZ (G4double)
 
void SetWorldSizeR (G4double)
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
void PrintCalorParameters ()
 
G4MaterialGetWorldMaterial ()
 
G4double GetWorldSizeZ ()
 
G4double GetWorldSizeR ()
 
G4double GetAbsorberZpos ()
 
G4double GetZStartAbs ()
 
G4double GetZEndAbs ()
 
G4MaterialGetAbsorberMaterial ()
 
G4double GetAbsorberThickness ()
 
G4double GetAbsorberRadius ()
 
const G4VPhysicalVolumeGetPhysiWorld ()
 
const G4VPhysicalVolumeGetAbsorber ()
 
G4LogicalVolumeGetLogicalAbsorber ()
 
- 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
 

Private Member Functions

void DefineMaterials ()
 
void ComputeCalorParameters ()
 
G4VPhysicalVolumeConstructCalorimeter ()
 

Private Attributes

F02DetectorMessengerfDetectorMessenger
 
G4Cache< F02CalorimeterSD * > fCalorimeterSD
 
G4Cache< F02ElectricFieldSetup * > fEmFieldSetup
 
G4TubsfSolidWorld
 
G4LogicalVolumefLogicWorld
 
G4VPhysicalVolumefPhysiWorld
 
G4TubsfSolidAbsorber
 
G4LogicalVolumefLogicAbsorber
 
G4VPhysicalVolumefPhysiAbsorber
 
G4MaterialfAbsorberMaterial
 
G4double fAbsorberThickness
 
G4double fAbsorberRadius
 
G4bool fWorldChanged
 
G4double fZAbsorber
 
G4double fZStartAbs
 
G4double fZEndAbs
 
G4MaterialfWorldMaterial
 
G4double fWorldSizeR
 
G4double fWorldSizeZ
 

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

Definition at line 56 of file F02DetectorConstruction.hh.

Constructor & Destructor Documentation

F02DetectorConstruction::F02DetectorConstruction ( )

Definition at line 59 of file F02DetectorConstruction.cc.

References cm, DefineMaterials(), fAbsorberRadius, fAbsorberThickness, fDetectorMessenger, fWorldSizeR, fWorldSizeZ, fZAbsorber, and mm.

+ Here is the call graph for this function:

F02DetectorConstruction::~F02DetectorConstruction ( )
virtual

Definition at line 90 of file F02DetectorConstruction.cc.

References fDetectorMessenger.

Member Function Documentation

void F02DetectorConstruction::ComputeCalorParameters ( )
inlineprivate

Definition at line 133 of file F02DetectorConstruction.hh.

References fAbsorberThickness, fZAbsorber, fZEndAbs, and fZStartAbs.

Referenced by ConstructCalorimeter(), SetAbsorberRadius(), SetAbsorberThickness(), SetAbsorberZpos(), SetWorldSizeR(), and SetWorldSizeZ().

+ Here is the caller graph for this function:

G4VPhysicalVolume * F02DetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 97 of file F02DetectorConstruction.cc.

References ConstructCalorimeter().

+ Here is the call graph for this function:

G4VPhysicalVolume * F02DetectorConstruction::ConstructCalorimeter ( )
private

Definition at line 220 of file F02DetectorConstruction.cc.

References G4PhysicalVolumeStore::Clean(), G4SolidStore::Clean(), G4LogicalVolumeStore::Clean(), ComputeCalorParameters(), fAbsorberMaterial, fAbsorberRadius, fAbsorberThickness, fLogicAbsorber, fLogicWorld, fPhysiAbsorber, fPhysiWorld, fSolidAbsorber, fSolidWorld, fWorldMaterial, fWorldSizeR, fWorldSizeZ, fZAbsorber, G4LogicalVolumeStore::GetInstance(), G4SolidStore::GetInstance(), G4PhysicalVolumeStore::GetInstance(), G4GeometryManager::GetInstance(), G4GeometryManager::OpenGeometry(), and PrintCalorParameters().

Referenced by Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void F02DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

Definition at line 383 of file F02DetectorConstruction.cc.

References fCalorimeterSD, fEmFieldSetup, fLogicAbsorber, G4Cache< VALTYPE >::Get(), G4Cache< VALTYPE >::Put(), G4AutoDelete::Register(), and G4VUserDetectorConstruction::SetSensitiveDetector().

+ Here is the call graph for this function:

void F02DetectorConstruction::DefineMaterials ( )
private

Definition at line 104 of file F02DetectorConstruction.cc.

References a, G4Material::AddElement(), G4Material::AddMaterial(), cm3, density, elC, elH, elN, elO, fAbsorberMaterial, fWorldMaterial, g, G4cout, G4endl, G4Material::GetMaterialTable(), kStateGas, mg, mole, name, nel, symbol, and z.

Referenced by F02DetectorConstruction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4VPhysicalVolume* F02DetectorConstruction::GetAbsorber ( )
inline

Definition at line 95 of file F02DetectorConstruction.hh.

References fPhysiAbsorber.

Referenced by F02CalorimeterSD::ProcessHits().

+ Here is the caller graph for this function:

G4Material* F02DetectorConstruction::GetAbsorberMaterial ( )
inline

Definition at line 90 of file F02DetectorConstruction.hh.

References fAbsorberMaterial.

G4double F02DetectorConstruction::GetAbsorberRadius ( )
inline

Definition at line 92 of file F02DetectorConstruction.hh.

References fAbsorberRadius.

Referenced by F02PrimaryGeneratorAction::GeneratePrimaries().

+ Here is the caller graph for this function:

G4double F02DetectorConstruction::GetAbsorberThickness ( )
inline

Definition at line 91 of file F02DetectorConstruction.hh.

References fAbsorberThickness.

G4double F02DetectorConstruction::GetAbsorberZpos ( )
inline

Definition at line 86 of file F02DetectorConstruction.hh.

References fZAbsorber.

G4LogicalVolume* F02DetectorConstruction::GetLogicalAbsorber ( )
inline

Definition at line 96 of file F02DetectorConstruction.hh.

References fLogicAbsorber.

const G4VPhysicalVolume* F02DetectorConstruction::GetPhysiWorld ( )
inline

Definition at line 94 of file F02DetectorConstruction.hh.

References fPhysiWorld.

G4Material* F02DetectorConstruction::GetWorldMaterial ( )
inline

Definition at line 82 of file F02DetectorConstruction.hh.

References fWorldMaterial.

G4double F02DetectorConstruction::GetWorldSizeR ( )
inline

Definition at line 84 of file F02DetectorConstruction.hh.

References fWorldSizeR.

G4double F02DetectorConstruction::GetWorldSizeZ ( )
inline

Definition at line 83 of file F02DetectorConstruction.hh.

References fWorldSizeZ.

G4double F02DetectorConstruction::GetZEndAbs ( )
inline

Definition at line 88 of file F02DetectorConstruction.hh.

References fZEndAbs.

G4double F02DetectorConstruction::GetZStartAbs ( )
inline

Definition at line 87 of file F02DetectorConstruction.hh.

References fZStartAbs.

void F02DetectorConstruction::PrintCalorParameters ( )

Definition at line 277 of file F02DetectorConstruction.cc.

References fAbsorberMaterial, fAbsorberRadius, fAbsorberThickness, fWorldMaterial, fWorldSizeR, fWorldSizeZ, fZAbsorber, G4cout, G4endl, G4Material::GetName(), and mm.

Referenced by ConstructCalorimeter().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void F02DetectorConstruction::SetAbsorberMaterial ( G4String  materialChoice)

Definition at line 294 of file F02DetectorConstruction.cc.

References fAbsorberMaterial, fLogicAbsorber, G4Material::GetMaterialTable(), G4Material::GetName(), G4RunManager::GetRunManager(), G4RunManager::PhysicsHasBeenModified(), and G4LogicalVolume::SetMaterial().

Referenced by F02DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void F02DetectorConstruction::SetAbsorberRadius ( G4double  val)

Definition at line 344 of file F02DetectorConstruction.cc.

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

Referenced by F02DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void F02DetectorConstruction::SetAbsorberThickness ( G4double  val)

Definition at line 334 of file F02DetectorConstruction.cc.

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

Referenced by F02DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void F02DetectorConstruction::SetAbsorberZpos ( G4double  val)

Definition at line 374 of file F02DetectorConstruction.cc.

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

Referenced by F02DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void F02DetectorConstruction::SetWorldMaterial ( G4String  materialChoice)

Definition at line 314 of file F02DetectorConstruction.cc.

References fLogicWorld, fWorldMaterial, G4Material::GetMaterialTable(), G4Material::GetName(), G4RunManager::GetRunManager(), G4RunManager::PhysicsHasBeenModified(), and G4LogicalVolume::SetMaterial().

Referenced by F02DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void F02DetectorConstruction::SetWorldSizeR ( G4double  val)

Definition at line 364 of file F02DetectorConstruction.cc.

References ComputeCalorParameters(), fWorldChanged, fWorldSizeR, G4RunManager::GetRunManager(), and G4RunManager::ReinitializeGeometry().

Referenced by F02DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void F02DetectorConstruction::SetWorldSizeZ ( G4double  val)

Definition at line 354 of file F02DetectorConstruction.cc.

References ComputeCalorParameters(), fWorldChanged, fWorldSizeZ, G4RunManager::GetRunManager(), and G4RunManager::ReinitializeGeometry().

Referenced by F02DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4Material* F02DetectorConstruction::fAbsorberMaterial
private
G4double F02DetectorConstruction::fAbsorberRadius
private
G4Cache<F02CalorimeterSD*> F02DetectorConstruction::fCalorimeterSD
private

Definition at line 100 of file F02DetectorConstruction.hh.

Referenced by ConstructSDandField().

F02DetectorMessenger* F02DetectorConstruction::fDetectorMessenger
private

Definition at line 99 of file F02DetectorConstruction.hh.

Referenced by F02DetectorConstruction(), and ~F02DetectorConstruction().

G4Cache<F02ElectricFieldSetup*> F02DetectorConstruction::fEmFieldSetup
private

Definition at line 101 of file F02DetectorConstruction.hh.

Referenced by ConstructSDandField().

G4LogicalVolume* F02DetectorConstruction::fLogicAbsorber
private
G4LogicalVolume* F02DetectorConstruction::fLogicWorld
private

Definition at line 105 of file F02DetectorConstruction.hh.

Referenced by ConstructCalorimeter(), and SetWorldMaterial().

G4VPhysicalVolume* F02DetectorConstruction::fPhysiAbsorber
private

Definition at line 110 of file F02DetectorConstruction.hh.

Referenced by ConstructCalorimeter(), and GetAbsorber().

G4VPhysicalVolume* F02DetectorConstruction::fPhysiWorld
private

Definition at line 106 of file F02DetectorConstruction.hh.

Referenced by ConstructCalorimeter(), and GetPhysiWorld().

G4Tubs* F02DetectorConstruction::fSolidAbsorber
private

Definition at line 108 of file F02DetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4Tubs* F02DetectorConstruction::fSolidWorld
private

Definition at line 104 of file F02DetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4bool F02DetectorConstruction::fWorldChanged
private

Definition at line 115 of file F02DetectorConstruction.hh.

Referenced by SetWorldSizeR(), and SetWorldSizeZ().

G4Material* F02DetectorConstruction::fWorldMaterial
private
G4double F02DetectorConstruction::fWorldSizeR
private
G4double F02DetectorConstruction::fWorldSizeZ
private
G4double F02DetectorConstruction::fZEndAbs
private

Definition at line 118 of file F02DetectorConstruction.hh.

Referenced by ComputeCalorParameters(), and GetZEndAbs().

G4double F02DetectorConstruction::fZStartAbs
private

Definition at line 118 of file F02DetectorConstruction.hh.

Referenced by ComputeCalorParameters(), and GetZStartAbs().


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