Geant4  10.01.p02
B3DetectorConstruction Class Reference

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

#include <B3DetectorConstruction.hh>

+ Inheritance diagram for B3DetectorConstruction:
+ Collaboration diagram for B3DetectorConstruction:

Public Member Functions

 B3DetectorConstruction ()
 
virtual ~B3DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
- 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 ()
 

Private Attributes

G4bool fCheckOverlaps
 

Additional Inherited Members

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

Detailed Description

Detector construction class to define materials and geometry.

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

Definition at line 45 of file B3DetectorConstruction.hh.

Constructor & Destructor Documentation

B3DetectorConstruction::B3DetectorConstruction ( )

Definition at line 51 of file B3DetectorConstruction.cc.

References DefineMaterials().

+ Here is the call graph for this function:

B3DetectorConstruction::~B3DetectorConstruction ( )
virtual

Definition at line 60 of file B3DetectorConstruction.cc.

Member Function Documentation

G4VPhysicalVolume * B3DetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 83 of file B3DetectorConstruction.cc.

References cm, deg, fCheckOverlaps, G4NistManager::FindOrBuildMaterial(), G4cout, G4endl, G4Material::GetMaterialTable(), G4NistManager::Instance(), G4VisAttributes::Invisible, mm, position, and G4LogicalVolume::SetVisAttributes().

+ Here is the call graph for this function:

void B3DetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

Definition at line 253 of file B3DetectorConstruction.cc.

References G4SDManager::GetSDMpointer(), G4MultiFunctionalDetector::RegisterPrimitive(), G4VUserDetectorConstruction::SetSensitiveDetector(), and G4SDManager::SetVerboseLevel().

+ Here is the call graph for this function:

void B3DetectorConstruction::DefineMaterials ( )
private

Definition at line 65 of file B3DetectorConstruction.cc.

References G4Material::AddElement(), cm3, G4NistManager::FindOrBuildElement(), g, G4NistManager::Instance(), and Si.

Referenced by B3DetectorConstruction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4bool B3DetectorConstruction::fCheckOverlaps
private

Definition at line 58 of file B3DetectorConstruction.hh.

Referenced by Construct().


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