Geant4  10.00.p02
ExErrorDetectorConstruction Class Reference

Detector construction class. More...

#include <ExErrorDetectorConstruction.hh>

+ Inheritance diagram for ExErrorDetectorConstruction:
+ Collaboration diagram for ExErrorDetectorConstruction:

Public Member Functions

 ExErrorDetectorConstruction ()
 
 ~ExErrorDetectorConstruction ()
 
virtual G4VPhysicalVolume * Construct ()
 
void SetMagField (G4double)
 
- Public Member Functions inherited from G4VUserDetectorConstruction
 G4VUserDetectorConstruction ()
 
virtual ~G4VUserDetectorConstruction ()
 
virtual void ConstructSDandField ()
 
virtual void CloneSD ()
 
virtual void CloneF ()
 
void RegisterParallelWorld (G4VUserParallelWorld *)
 
G4int ConstructParallelGeometries ()
 
void ConstructParallelSD ()
 
G4int GetNumberOfParallelWorld () const
 
G4VUserParallelWorld * GetParallelWorld (G4int i) const
 

Private Attributes

G4double fXBEAM
 
G4double fXCDET
 
G4double fXECAL
 
G4double fXSOLN
 
G4double fXHCAL
 
G4double fXMUON
 
G4double fNdivECAL
 
G4double fNdivHCAL
 
G4double fYZLength
 
G4double fXHalfWorldLength
 
G4UserLimits * fUserLimits
 
ExErrorMagneticField * fMagField
 
ExErrorDetectorMessenger * fDetectorMessenger
 

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.

Creates a simplified typical HEP detector: An air beamline ( BEAM ) An air central detector ( CDET ) A copper calorimeter, divided in four ( ECAL ) An aluminium calorimeter, divided in ten ( HCAL ) An air muon detector ( MUON )

History: Created: May 2007

Author
P. Arce

Definition at line 60 of file ExErrorDetectorConstruction.hh.

Constructor & Destructor Documentation

ExErrorDetectorConstruction::ExErrorDetectorConstruction ( )

Definition at line 51 of file ExErrorDetectorConstruction.cc.

References fDetectorMessenger, fMagField, fUserLimits, and kilogauss.

ExErrorDetectorConstruction::~ExErrorDetectorConstruction ( )

Definition at line 68 of file ExErrorDetectorConstruction.cc.

References fDetectorMessenger, and fMagField.

Member Function Documentation

G4VPhysicalVolume * ExErrorDetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 75 of file ExErrorDetectorConstruction.cc.

References fe, G4NistManager::FindOrBuildMaterial(), fNdivECAL, fNdivHCAL, fXBEAM, fXCDET, fXECAL, fXHalfWorldLength, fXHCAL, fXMUON, fXSOLN, fYZLength, G4cout, G4endl, G4Material::GetMaterialTable(), G4NistManager::Instance(), kXAxis, and G4LogicalVolume::SetVisAttributes().

+ Here is the call graph for this function:

void ExErrorDetectorConstruction::SetMagField ( G4double  fieldValue)

Definition at line 240 of file ExErrorDetectorConstruction.cc.

References fMagField, and ExErrorMagneticField::SetFieldValue().

Referenced by ExErrorDetectorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

ExErrorDetectorMessenger* ExErrorDetectorConstruction::fDetectorMessenger
private
ExErrorMagneticField* ExErrorDetectorConstruction::fMagField
private
G4double ExErrorDetectorConstruction::fNdivECAL
private

Definition at line 78 of file ExErrorDetectorConstruction.hh.

Referenced by Construct().

G4double ExErrorDetectorConstruction::fNdivHCAL
private

Definition at line 79 of file ExErrorDetectorConstruction.hh.

Referenced by Construct().

G4UserLimits* ExErrorDetectorConstruction::fUserLimits
private

Definition at line 84 of file ExErrorDetectorConstruction.hh.

Referenced by ExErrorDetectorConstruction().

G4double ExErrorDetectorConstruction::fXBEAM
private

Definition at line 72 of file ExErrorDetectorConstruction.hh.

Referenced by Construct().

G4double ExErrorDetectorConstruction::fXCDET
private

Definition at line 73 of file ExErrorDetectorConstruction.hh.

Referenced by Construct().

G4double ExErrorDetectorConstruction::fXECAL
private

Definition at line 74 of file ExErrorDetectorConstruction.hh.

Referenced by Construct().

G4double ExErrorDetectorConstruction::fXHalfWorldLength
private

Definition at line 81 of file ExErrorDetectorConstruction.hh.

Referenced by Construct().

G4double ExErrorDetectorConstruction::fXHCAL
private

Definition at line 76 of file ExErrorDetectorConstruction.hh.

Referenced by Construct().

G4double ExErrorDetectorConstruction::fXMUON
private

Definition at line 77 of file ExErrorDetectorConstruction.hh.

Referenced by Construct().

G4double ExErrorDetectorConstruction::fXSOLN
private

Definition at line 75 of file ExErrorDetectorConstruction.hh.

Referenced by Construct().

G4double ExErrorDetectorConstruction::fYZLength
private

Definition at line 80 of file ExErrorDetectorConstruction.hh.

Referenced by Construct().


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