ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4MagneticFieldModel Class Reference

#include <geant4/tree/geant4-10.6-release/source/visualization/modeling/include/G4MagneticFieldModel.hh>

+ Inheritance diagram for G4MagneticFieldModel:
+ Collaboration diagram for G4MagneticFieldModel:

Public Member Functions

 G4MagneticFieldModel (G4int nDataPointsPerHalfExtent=3, Representation representation=Representation::fullArrow, G4int arrow3DLineSegmentsPerCircle=6, const G4VisExtent &extentForField=G4VisExtent(), const std::vector< G4PhysicalVolumesSearchScene::Findings > &pvFindings=std::vector< G4PhysicalVolumesSearchScene::Findings >())
 
virtual ~G4MagneticFieldModel ()
 
- Public Member Functions inherited from G4VFieldModel
 G4VFieldModel (const G4String &typeOfField, const G4String &symbol="", const G4VisExtent &extentForField=G4VisExtent(), const std::vector< G4PhysicalVolumesSearchScene::Findings > &pvFindings=std::vector< G4PhysicalVolumesSearchScene::Findings >(), G4int nDataPointsPerHalfScene=10, Representation representation=Representation::fullArrow, G4int arrow3DLineSegmentsPerCircle=6)
 
virtual ~G4VFieldModel ()
 
virtual void DescribeYourselfTo (G4VGraphicsScene &sceneHandler)
 
- Public Member Functions inherited from G4VModel
 G4VModel (const G4Transform3D &modelTransformation=G4Transform3D(), const G4ModelingParameters *=0)
 
virtual ~G4VModel ()
 
const G4ModelingParametersGetModelingParameters () const
 
const G4StringGetType () const
 
virtual G4String GetCurrentDescription () const
 
virtual G4String GetCurrentTag () const
 
const G4VisExtentGetExtent () const
 
const G4VisExtentGetTransformedExtent () const
 
const G4StringGetGlobalDescription () const
 
const G4StringGetGlobalTag () const
 
const G4Transform3DGetTransformation () const
 
void SetModelingParameters (const G4ModelingParameters *)
 
void SetExtent (const G4VisExtent &)
 
void SetType (const G4String &)
 
void SetGlobalDescription (const G4String &)
 
void SetGlobalTag (const G4String &)
 
void SetTransformation (const G4Transform3D &)
 
virtual G4bool Validate (G4bool warn=true)
 

Protected Member Functions

virtual void GetFieldAtLocation (const G4Field *field, const G4Point3D &position, G4double time, G4Point3D &result) const
 

Private Member Functions

 G4MagneticFieldModel (const G4MagneticFieldModel &)
 
G4MagneticFieldModeloperator= (const G4MagneticFieldModel &)
 

Additional Inherited Members

- Public Types inherited from G4VFieldModel
enum  Representation { fullArrow, lightArrow }
 
- Protected Attributes inherited from G4VModel
G4String fType
 
G4String fGlobalTag
 
G4String fGlobalDescription
 
G4VisExtent fExtent
 
G4Transform3D fTransform
 
const G4ModelingParametersfpMP
 

Detailed Description

Definition at line 42 of file G4MagneticFieldModel.hh.

View newest version in sPHENIX GitHub at line 42 of file G4MagneticFieldModel.hh

Constructor & Destructor Documentation

G4MagneticFieldModel::G4MagneticFieldModel ( G4int  nDataPointsPerHalfExtent = 3,
Representation  representation = Representation::fullArrow,
G4int  arrow3DLineSegmentsPerCircle = 6,
const G4VisExtent extentForField = G4VisExtent(),
const std::vector< G4PhysicalVolumesSearchScene::Findings > &  pvFindings = std::vector<G4PhysicalVolumesSearchScene::Findings>() 
)
inline

Definition at line 47 of file G4MagneticFieldModel.hh.

View newest version in sPHENIX GitHub at line 47 of file G4MagneticFieldModel.hh

virtual G4MagneticFieldModel::~G4MagneticFieldModel ( )
inlinevirtual

Definition at line 58 of file G4MagneticFieldModel.hh.

View newest version in sPHENIX GitHub at line 58 of file G4MagneticFieldModel.hh

G4MagneticFieldModel::G4MagneticFieldModel ( const G4MagneticFieldModel )
private

Member Function Documentation

void G4MagneticFieldModel::GetFieldAtLocation ( const G4Field field,
const G4Point3D position,
G4double  time,
G4Point3D result 
) const
protectedvirtual

Implements G4VFieldModel.

Definition at line 44 of file G4MagneticFieldModel.cc.

View newest version in sPHENIX GitHub at line 44 of file G4MagneticFieldModel.cc

References G4Field::GetFieldValue(), HepGeom::BasicVector3D< T >::set(), HepGeom::BasicVector3D< T >::x(), xyzt, HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().

+ Here is the call graph for this function:

G4MagneticFieldModel& G4MagneticFieldModel::operator= ( const G4MagneticFieldModel )
private

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