Geant4  10.03
F01DetectorConstruction Class Reference

#include <F01DetectorConstruction.hh>

+ Inheritance diagram for F01DetectorConstruction:
+ Collaboration diagram for F01DetectorConstruction:

Public Member Functions

 F01DetectorConstruction ()
 
virtual ~F01DetectorConstruction ()
 
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

F01DetectorMessengerfDetectorMessenger
 
G4Cache< F01CalorimeterSD * > fCalorimeterSD
 
G4Cache< F01FieldSetup * > fEmFieldSetup
 
G4TubsfSolidWorld
 
G4LogicalVolumefLogicWorld
 
G4VPhysicalVolumefPhysiWorld
 
G4TubsfSolidAbsorber
 
G4LogicalVolumefLogicAbsorber
 
G4VPhysicalVolumefPhysiAbsorber
 
G4MaterialfAbsorberMaterial
 
G4double fAbsorberThickness
 
G4double fAbsorberRadius
 
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 F01DetectorConstruction.hh.

Constructor & Destructor Documentation

F01DetectorConstruction::F01DetectorConstruction ( )

Definition at line 60 of file F01DetectorConstruction.cc.

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

+ Here is the call graph for this function:

F01DetectorConstruction::~F01DetectorConstruction ( )
virtual

Definition at line 91 of file F01DetectorConstruction.cc.

References fDetectorMessenger.

Member Function Documentation

void F01DetectorConstruction::ComputeCalorParameters ( )
inlineprivate

Definition at line 132 of file F01DetectorConstruction.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 * F01DetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 98 of file F01DetectorConstruction.cc.

References ConstructCalorimeter().

+ Here is the call graph for this function:

G4VPhysicalVolume * F01DetectorConstruction::ConstructCalorimeter ( )
private

Definition at line 223 of file F01DetectorConstruction.cc.

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

Referenced by Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void F01DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

Definition at line 384 of file F01DetectorConstruction.cc.

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

+ Here is the call graph for this function:

void F01DetectorConstruction::DefineMaterials ( )
private

Definition at line 105 of file F01DetectorConstruction.cc.

References a, G4Material::AddElement(), G4Material::AddMaterial(), cm3, fAbsorberMaterial, fWorldMaterial, g, G4cout, G4endl, G4Material::GetMaterialTable(), kStateGas, mg, mole, and G4InuclParticleNames::name().

Referenced by F01DetectorConstruction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4VPhysicalVolume* F01DetectorConstruction::GetAbsorber ( )
inline

Definition at line 95 of file F01DetectorConstruction.hh.

References fPhysiAbsorber.

Referenced by F01CalorimeterSD::ProcessHits().

+ Here is the caller graph for this function:

G4Material* F01DetectorConstruction::GetAbsorberMaterial ( )
inline

Definition at line 90 of file F01DetectorConstruction.hh.

References fAbsorberMaterial.

G4double F01DetectorConstruction::GetAbsorberRadius ( )
inline

Definition at line 92 of file F01DetectorConstruction.hh.

References fAbsorberRadius.

Referenced by F01PrimaryGeneratorAction::GeneratePrimaries().

+ Here is the caller graph for this function:

G4double F01DetectorConstruction::GetAbsorberThickness ( )
inline

Definition at line 91 of file F01DetectorConstruction.hh.

References fAbsorberThickness.

Referenced by F01PrimaryGeneratorAction::F01PrimaryGeneratorAction(), and F01PrimaryGeneratorAction::GeneratePrimaries().

+ Here is the caller graph for this function:

G4double F01DetectorConstruction::GetAbsorberZpos ( )
inline

Definition at line 86 of file F01DetectorConstruction.hh.

References fZAbsorber.

Referenced by F01PrimaryGeneratorAction::F01PrimaryGeneratorAction(), and F01PrimaryGeneratorAction::GeneratePrimaries().

+ Here is the caller graph for this function:

G4LogicalVolume* F01DetectorConstruction::GetLogicalAbsorber ( )
inline

Definition at line 96 of file F01DetectorConstruction.hh.

References fLogicAbsorber.

const G4VPhysicalVolume* F01DetectorConstruction::GetPhysiWorld ( )
inline

Definition at line 94 of file F01DetectorConstruction.hh.

References fPhysiWorld.

G4Material* F01DetectorConstruction::GetWorldMaterial ( )
inline

Definition at line 82 of file F01DetectorConstruction.hh.

References fWorldMaterial.

G4double F01DetectorConstruction::GetWorldSizeR ( )
inline

Definition at line 84 of file F01DetectorConstruction.hh.

References fWorldSizeR.

G4double F01DetectorConstruction::GetWorldSizeZ ( )
inline

Definition at line 83 of file F01DetectorConstruction.hh.

References fWorldSizeZ.

G4double F01DetectorConstruction::GetZEndAbs ( )
inline

Definition at line 88 of file F01DetectorConstruction.hh.

References fZEndAbs.

G4double F01DetectorConstruction::GetZStartAbs ( )
inline

Definition at line 87 of file F01DetectorConstruction.hh.

References fZStartAbs.

void F01DetectorConstruction::PrintCalorParameters ( )

Definition at line 280 of file F01DetectorConstruction.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 F01DetectorConstruction::SetAbsorberMaterial ( G4String  materialChoice)

Definition at line 297 of file F01DetectorConstruction.cc.

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

Referenced by F01DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void F01DetectorConstruction::SetAbsorberRadius ( G4double  val)

Definition at line 347 of file F01DetectorConstruction.cc.

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

Referenced by F01DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void F01DetectorConstruction::SetAbsorberThickness ( G4double  val)

Definition at line 337 of file F01DetectorConstruction.cc.

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

Referenced by F01DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void F01DetectorConstruction::SetAbsorberZpos ( G4double  val)

Definition at line 375 of file F01DetectorConstruction.cc.

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

Referenced by F01DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void F01DetectorConstruction::SetWorldMaterial ( G4String  materialChoice)

Definition at line 317 of file F01DetectorConstruction.cc.

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

Referenced by F01DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void F01DetectorConstruction::SetWorldSizeR ( G4double  val)

Definition at line 366 of file F01DetectorConstruction.cc.

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

Referenced by F01DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void F01DetectorConstruction::SetWorldSizeZ ( G4double  val)

Definition at line 357 of file F01DetectorConstruction.cc.

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

Referenced by F01DetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4Material* F01DetectorConstruction::fAbsorberMaterial
private
G4double F01DetectorConstruction::fAbsorberRadius
private
G4Cache<F01CalorimeterSD*> F01DetectorConstruction::fCalorimeterSD
private

Definition at line 101 of file F01DetectorConstruction.hh.

Referenced by ConstructSDandField().

F01DetectorMessenger* F01DetectorConstruction::fDetectorMessenger
private
G4Cache<F01FieldSetup*> F01DetectorConstruction::fEmFieldSetup
private

Definition at line 102 of file F01DetectorConstruction.hh.

Referenced by ConstructSDandField().

G4LogicalVolume* F01DetectorConstruction::fLogicAbsorber
private
G4LogicalVolume* F01DetectorConstruction::fLogicWorld
private

Definition at line 105 of file F01DetectorConstruction.hh.

Referenced by ConstructCalorimeter(), and SetWorldMaterial().

G4VPhysicalVolume* F01DetectorConstruction::fPhysiAbsorber
private

Definition at line 110 of file F01DetectorConstruction.hh.

Referenced by ConstructCalorimeter(), and GetAbsorber().

G4VPhysicalVolume* F01DetectorConstruction::fPhysiWorld
private

Definition at line 106 of file F01DetectorConstruction.hh.

Referenced by ConstructCalorimeter(), and GetPhysiWorld().

G4Tubs* F01DetectorConstruction::fSolidAbsorber
private

Definition at line 108 of file F01DetectorConstruction.hh.

Referenced by ConstructCalorimeter().

G4Tubs* F01DetectorConstruction::fSolidWorld
private

Definition at line 104 of file F01DetectorConstruction.hh.

Referenced by ConstructCalorimeter().

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

Definition at line 117 of file F01DetectorConstruction.hh.

Referenced by ComputeCalorParameters(), and GetZEndAbs().

G4double F01DetectorConstruction::fZStartAbs
private

Definition at line 117 of file F01DetectorConstruction.hh.

Referenced by ComputeCalorParameters(), and GetZStartAbs().


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