#include <MagneticField.h>
Public Member Functions | |
virtual MagneticField * | clone () const |
virtual GlobalVector | inInverseGeV (const GlobalPoint &gp) const |
Field value ad specified global point, in 1/Gev. More... | |
virtual GlobalVector | inKGauss (const GlobalPoint &gp) const |
Field value ad specified global point, in KGauss. More... | |
virtual GlobalVector | inTesla (const GlobalPoint &gp) const =0 |
Field value ad specified global point, in Tesla. More... | |
virtual GlobalVector | inTeslaUnchecked (const GlobalPoint &gp) const |
virtual bool | isDefined (const GlobalPoint &gp) const |
True if the point is within the region where the concrete field. More... | |
MagneticField () | |
virtual int | nominalValue () const |
The nominal field value for this map in kGauss. More... | |
virtual | ~MagneticField () |
Base class for the different implementation of magnetic field engines.
Definition at line 16 of file MagneticField.h.
MagneticField::MagneticField | ( | ) |
Definition at line 10 of file MagneticField.cc.
|
virtual |
Definition at line 12 of file MagneticField.cc.
|
inlinevirtual |
Derived classes can implement cloning without ownership of the underlying engines.
Reimplemented in VolumeBasedMagneticField.
Definition at line 24 of file MagneticField.h.
|
virtual |
Field value ad specified global point, in 1/Gev.
Definition at line 19 of file MagneticField.cc.
References inTesla().
Referenced by PerigeeLinearizedTrackState::computeChargedJacobians(), PerigeeLinearizedTrackState::computeJacobians(), SingleTrackVertexConstraint::constrain(), TwoBodyDecayEstimator::constructMatrices(), TSCPBuilderNoMaterial::createFTSatTransverseImpactPointCharged(), KinematicPerigeeConversions::extendedPerigeeFromKinematicParameters(), PerigeeConversions::ftsToPerigeeParameters(), PerigeeConversions::jacobianCurvilinear2Perigee(), JacobianLocalToCurvilinear::JacobianLocalToCurvilinear(), PerigeeConversions::jacobianParameters2Cartesian(), PerigeeConversions::jacobianPerigee2Curvilinear(), KinematicPerigeeConversions::kinematicParametersFromExPerigee(), KinematicPerigeeConversions::momentumFromPerigee(), PerigeeConversions::momentumFromPerigee(), TrackKinematicStatePropagator::planeCrossing(), BasicSingleTrajectoryState::rescaleError(), and TwoTrackMinimumDistanceHelixHelix::updateCoeffs().
|
virtual |
Field value ad specified global point, in KGauss.
Definition at line 15 of file MagneticField.cc.
References inTesla().
Referenced by CSCDriftSim::getWireHit().
|
pure virtual |
Field value ad specified global point, in Tesla.
Implemented in OAE85lParametrizedMagneticField, VolumeBasedMagneticField, OAEParametrizedMagneticField, PolyFit2DParametrizedMagneticField, PolyFit3DParametrizedMagneticField, RKTestField, LocalMagneticField, and UniformMagneticField.
Referenced by SiStripLAProfileBooker::beginRun(), ConvBremSeedProducer::beginRun(), SiTrackerGaussianSmearingRecHitConverter::beginRun(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), ClosestApproachInRPhi::calculate(), TwoTrackMinimumDistanceLineLine::calculate(), TwoTrackMinimumDistance::calculate(), TangentApproachInRPhi::circleParameters(), PixelCPEBase::computeLorentzShifts(), shallow::drift(), StripCPE::driftDirection(), ECALPositionCalculator::ecalPhi(), HSCPTreeBuilder::filter(), sim::Field::GetFieldValue(), SteppingHelixPropagator::getNextState(), GlobalTrajectoryParameters::GlobalTrajectoryParameters(), ConversionFastHelix::helixStateAtVertex(), inInverseGeV(), inKGauss(), MagneticFieldMap::inTesla(), inTeslaUnchecked(), MagneticFieldMap::inTeslaZ(), JacobianCurvilinearToLocal::JacobianCurvilinearToLocal(), SteppingHelixPropagator::loadState(), PixelCPETemplateReco::localPosition(), PixelCPEGeneric::localPosition(), PixelCPEBase::lorentzShiftX(), PixelCPEBase::lorentzShiftY(), GlobalTrajectoryParameters::magneticFieldInInverseGeV(), SteppingHelixPropagator::makeAtomStep(), nominalValue(), FTSFromVertexToPointFactory::operator()(), SiStripElectronAlgo::projectPhiBand(), RoadSearchSeedFinderAlgorithm::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), SeedFromNuclearInteraction::stateWithError(), GlobalTrajectoryParameters::transverseCurvature(), MonopoleSteppingAction::update(), and RKTestFieldProvider::valueInTesla().
|
inlinevirtual |
Optional implementation that derived classes can implement to provide faster query by skipping the check to isDefined.
Reimplemented in OAE85lParametrizedMagneticField, VolumeBasedMagneticField, OAEParametrizedMagneticField, PolyFit2DParametrizedMagneticField, PolyFit3DParametrizedMagneticField, and UniformMagneticField.
Definition at line 46 of file MagneticField.h.
References inTesla().
Referenced by VolumeBasedMagneticField::inTesla(), and VolumeBasedMagneticField::inTeslaUnchecked().
|
inlinevirtual |
True if the point is within the region where the concrete field.
Reimplemented in VolumeBasedMagneticField, OAE85lParametrizedMagneticField, OAEParametrizedMagneticField, PolyFit2DParametrizedMagneticField, PolyFit3DParametrizedMagneticField, and UniformMagneticField.
Definition at line 40 of file MagneticField.h.
Referenced by VolumeBasedMagneticField::inTesla(), and VolumeBasedMagneticField::inTeslaUnchecked().
|
virtual |
The nominal field value for this map in kGauss.
Reimplemented in VolumeBasedMagneticField.
Definition at line 23 of file MagneticField.cc.
Referenced by VolumeBasedMagneticField::VolumeBasedMagneticField().