Geant4_10
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
F04ElementField Class Referenceabstract

#include <F04ElementField.hh>

Inheritance diagram for F04ElementField:
Inheritance graph
[legend]
Collaboration diagram for F04ElementField:
Collaboration graph
[legend]

Public Member Functions

 F04ElementField (const G4ThreeVector, G4LogicalVolume *)
 Constructor. More...
 
void Construct (G4VPhysicalVolume *currentWorld)
 the actual implementation constructs the F04ElementField More...
 
void UpdateWorld (G4VPhysicalVolume *currentWorld)
 
virtual ~F04ElementField ()
 Destructor. More...
 
void SetMaxStep (G4double stp)
 SetMaxStep(G4double) sets the max. step size. More...
 
G4double GetMaxStep ()
 GetMaxStep() returns the max. step size. More...
 
void SetColor (G4String c)
 SetColor(G4String) sets the color. More...
 
G4String GetColor ()
 GetColor() returns the color. More...
 
void SetGlobalPoint (const G4double point[4])
 
bool IsInBoundingBox (const G4double point[4]) const
 
virtual void AddFieldValue (const G4double point[4], G4double field[6]) const =0
 
virtual G4double GetLength ()=0
 
virtual G4double GetWidth ()=0
 
virtual G4double GetHeight ()=0
 

Static Public Member Functions

static G4VisAttributesGetVisAttribute (G4String color)
 GetVisAttribute() returns the appropriate G4VisAttributes. More...
 

Protected Attributes

G4LogicalVolumefVolume
 
G4AffineTransform fGlobal2local
 

Detailed Description

Definition at line 55 of file F04ElementField.hh.

Constructor & Destructor Documentation

F04ElementField::F04ElementField ( const G4ThreeVector  c,
G4LogicalVolume lv 
)

Constructor.

Definition at line 44 of file F04ElementField.cc.

Here is the call graph for this function:

virtual F04ElementField::~F04ElementField ( )
inlinevirtual

Destructor.

Definition at line 72 of file F04ElementField.hh.

Member Function Documentation

virtual void F04ElementField::AddFieldValue ( const G4double  point[4],
G4double  field[6] 
) const
pure virtual

AddFieldValue() will add the field value for this element to field[]. Implementations must be sure to verify that point[] is within the field region, and do nothing if not. point[] is in global coordinates and geant4 units; x,y,z,t. field[] is in geant4 units; Bx,By,Bz,Ex,Ey,Ez. For efficiency, the caller may (but need not) call IsInBoundingBox(point), and only call this function if that returns true.

Implemented in F04SimpleSolenoid, and F04FocusSolenoid.

Here is the caller graph for this function:

void F04ElementField::Construct ( G4VPhysicalVolume currentWorld)

the actual implementation constructs the F04ElementField

Definition at line 74 of file F04ElementField.cc.

Here is the call graph for this function:

G4String F04ElementField::GetColor ( )
inline

GetColor() returns the color.

Definition at line 93 of file F04ElementField.hh.

virtual G4double F04ElementField::GetHeight ( )
pure virtual

Implemented in F04SimpleSolenoid.

Here is the caller graph for this function:

virtual G4double F04ElementField::GetLength ( )
pure virtual

Implemented in F04SimpleSolenoid.

Here is the caller graph for this function:

G4double F04ElementField::GetMaxStep ( )
inline

GetMaxStep() returns the max. step size.

Definition at line 83 of file F04ElementField.hh.

G4VisAttributes * F04ElementField::GetVisAttribute ( G4String  color)
static

GetVisAttribute() returns the appropriate G4VisAttributes.

Definition at line 125 of file F04ElementField.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual G4double F04ElementField::GetWidth ( )
pure virtual

Implemented in F04SimpleSolenoid.

Here is the caller graph for this function:

bool F04ElementField::IsInBoundingBox ( const G4double  point[4]) const
inline

IsInBoundingBox() returns true if the point is within the global bounding box - global coordinates.

Definition at line 116 of file F04ElementField.hh.

Here is the caller graph for this function:

void F04ElementField::SetColor ( G4String  c)
inline

SetColor(G4String) sets the color.

Definition at line 86 of file F04ElementField.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

void F04ElementField::SetGlobalPoint ( const G4double  point[4])
inline

SetGlobalPoint() ensures that the point is within the global bounding box of this ElementField's global coordinates. Normally called 8 times for the corners of the local bounding box, after a local->global coordinate transform. If never called, the global bounding box is infinite. BEWARE: if called only once, the bounding box is just a point.

Definition at line 104 of file F04ElementField.hh.

Here is the caller graph for this function:

void F04ElementField::SetMaxStep ( G4double  stp)
inline

SetMaxStep(G4double) sets the max. step size.

Definition at line 75 of file F04ElementField.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

void F04ElementField::UpdateWorld ( G4VPhysicalVolume currentWorld)

Definition at line 82 of file F04ElementField.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

G4AffineTransform F04ElementField::fGlobal2local
protected

Definition at line 143 of file F04ElementField.hh.

G4LogicalVolume* F04ElementField::fVolume
protected

Definition at line 141 of file F04ElementField.hh.


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