LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "MagneticField.h"
Public Member Functions | |
MagneticField (fhicl::ParameterSet const &pset, art::ActivityRegistry ®) | |
~MagneticField () | |
void | reconfigure (fhicl::ParameterSet const &pset) |
std::vector< MagneticFieldDescription > const & | Fields () const |
size_t | NumFields () const |
MagFieldMode_t const & | UseField (size_t f) const |
std::string const & | MagnetizedVolume (size_t f) const |
G4ThreeVector const | FieldAtPoint (G4ThreeVector const &p=G4ThreeVector(0)) const |
G4ThreeVector const | UniformFieldInVolume (std::string const &volName) const |
Private Attributes | |
std::vector< MagneticFieldDescription > | fFieldDescriptions |
Descriptions of the fields. More... | |
Definition at line 47 of file MagneticField.h.
MagneticField::MagneticField | ( | fhicl::ParameterSet const & | pset, |
art::ActivityRegistry & | reg | ||
) |
Definition at line 35 of file MagneticField_service.cc.
References reconfigure().
|
inline |
Definition at line 50 of file MagneticField.h.
G4ThreeVector const MagneticField::FieldAtPoint | ( | G4ThreeVector const & | p = G4ThreeVector(0) | ) | const |
Definition at line 81 of file MagneticField_service.cc.
References fFieldDescriptions.
|
inline |
Definition at line 54 of file MagneticField.h.
Referenced by g4b::DetectorConstruction::Construct().
|
inline |
Definition at line 57 of file MagneticField.h.
References f.
|
inline |
Definition at line 55 of file MagneticField.h.
void MagneticField::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 41 of file MagneticField_service.cc.
References fFieldDescriptions, fhicl::ParameterSet::get(), and mag::kNoBFieldMode.
Referenced by MagneticField().
G4ThreeVector const MagneticField::UniformFieldInVolume | ( | std::string const & | volName | ) | const |
Definition at line 100 of file MagneticField_service.cc.
References DEFINE_ART_SERVICE, and fFieldDescriptions.
|
inline |
Definition at line 56 of file MagneticField.h.
References f.
|
private |
Descriptions of the fields.
Definition at line 70 of file MagneticField.h.
Referenced by FieldAtPoint(), reconfigure(), and UniformFieldInVolume().