BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Public Member Functions | Private Attributes
BDSFieldMagMuonSpoiler Class Reference

Field of a Muon Spoiler. More...

#include <BDSFieldMagMuonSpoiler.hh>

Inheritance diagram for BDSFieldMagMuonSpoiler:
Inheritance graph
Collaboration diagram for BDSFieldMagMuonSpoiler:
Collaboration graph

Public Member Functions

 BDSFieldMagMuonSpoiler (BDSMagnetStrength const *strength, G4double const brho)
 
virtual G4ThreeVector GetField (const G4ThreeVector &position, const G4double t=0) const
 Access the field value. More...
 
- Public Member Functions inherited from BDSFieldMag
 BDSFieldMag ()
 
 BDSFieldMag (G4Transform3D transformIn)
 
virtual G4ThreeVector GetField (const G4ThreeVector &position, const G4double t=0) const =0
 
virtual void GetFieldValue (const G4double point[4], G4double *field) const
 
virtual G4ThreeVector GetFieldTransformed (const G4ThreeVector &position, const G4double t) const
 Get the field value after applying transform for local offset. More...
 
virtual void SetTransform (const G4Transform3D &transformIn)
 
G4bool FiniteStrength () const
 Accessor. More...
 

Private Attributes

G4double bField
 

Additional Inherited Members

- Protected Attributes inherited from BDSFieldMag
G4bool finiteStrength
 Flag to cache whether finite nor not. More...
 
G4Transform3D transform
 Transform to apply for the field relative to the local coordinates of the geometry. More...
 

Detailed Description

Field of a Muon Spoiler.

Definition at line 34 of file BDSFieldMagMuonSpoiler.hh.

Constructor & Destructor Documentation

◆ BDSFieldMagMuonSpoiler()

BDSFieldMagMuonSpoiler::BDSFieldMagMuonSpoiler ( BDSMagnetStrength const *  strength,
G4double const  brho 
)

Definition at line 29 of file BDSFieldMagMuonSpoiler.cc.

◆ ~BDSFieldMagMuonSpoiler()

virtual BDSFieldMagMuonSpoiler::~BDSFieldMagMuonSpoiler ( )
inlinevirtual

Definition at line 40 of file BDSFieldMagMuonSpoiler.hh.

Member Function Documentation

◆ GetField()

G4ThreeVector BDSFieldMagMuonSpoiler::GetField ( const G4ThreeVector &  position,
const G4double  t = 0 
) const
virtual

Access the field value.

Implements BDSFieldMag.

Definition at line 39 of file BDSFieldMagMuonSpoiler.cc.

Field Documentation

◆ bField

G4double BDSFieldMagMuonSpoiler::bField
private

Definition at line 47 of file BDSFieldMagMuonSpoiler.hh.


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