1 #ifndef SteppingHelixPropagator_SteppingHelixPropagator_h 2 #define SteppingHelixPropagator_SteppingHelixPropagator_h 26 #include "CLHEP/Matrix/SymMatrix.h" 27 #include "CLHEP/Matrix/Matrix.h" 28 #include "CLHEP/Vector/ThreeVector.h" 39 typedef CLHEP::Hep3Vector
Point;
89 const Plane& pDest)
const override;
93 const Cylinder& cDest)
const override;
186 const double pars[6],
231 const double pars[6],
235 double fastSkipDist = 1e12)
const;
243 double fastSkipDist = 1e12,
244 bool expectNewMagVolume =
false,
245 double maxStep = 1e12)
const;
251 double fastSkipDist = 1e12)
const;
257 typedef std::pair<TrajectoryStateOnSurface, double>
TsosPP;
258 typedef std::pair<FreeTrajectoryState, double>
FtsPP;
StateInfo StateArray[MAX_POINTS+1]
void setIState(const SteppingHelixStateInfo &sStart, StateArray &svBuff, int &nPoints) const
(Internals) Init starting point
void setUseTuningForL2Speed(bool val)
void setDebug(bool debug)
Switch debug printouts (to cout) .. very verbose.
const MagneticField * magneticField() const override
void getNextState(const SteppingHelixPropagator::StateInfo &svPrevious, SteppingHelixPropagator::StateInfo &svNext, double dP, const SteppingHelixPropagator::Vector &tau, const SteppingHelixPropagator::Vector &drVec, double dS, double dX0, const AlgebraicMatrix55 &dCovCurv) const
void setVBFPointer(const VolumeBasedMagneticField *val)
SteppingHelixPropagator * clone() const override
bool applyRadX0Correction_
bool makeAtomStep(SteppingHelixPropagator::StateInfo &svCurrent, SteppingHelixPropagator::StateInfo &svNext, double dS, PropagationDirection dir, SteppingHelixPropagator::Fancy fancy) const
main stepping function: compute next state vector after a step of length dS
static const int MAX_STEPS
SteppingHelixStateInfo::VolumeBounds MatBounds
SteppingHelixStateInfo StateInfo
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepStd< double, 5, 5 > > AlgebraicMatrix55
std::pair< TrajectoryStateOnSurface, double > TsosPP
void initStateArraySHPSpecific(StateArray &svBuf, bool flagsOnly) const
(Internals) set defaults needed for states used inside propagate methods
std::pair< FreeTrajectoryState, double > FtsPP
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
bool useInTeslaFromMagField_
double getDeDx(const SteppingHelixPropagator::StateInfo &sv, double &dEdXPrime, double &radX0, MatBounds &rzLims) const
estimate average (in fact smth. close to MPV and median) energy loss per unit path length ...
Result refToDest(DestType dest, const SteppingHelixPropagator::StateInfo &sv, const double pars[6], double &dist, double &tanDist, PropagationDirection &refDirection, double fastSkipDist=1e12) const
(Internals) determine distance and direction from the current position to the plane ...
void loadState(SteppingHelixPropagator::StateInfo &svCurrent, const SteppingHelixPropagator::Vector &p3, const SteppingHelixPropagator::Point &r3, int charge, PropagationDirection dir, const AlgebraicSymMatrix55 &covCurv) const
void setUseMagVolumes(bool val)
Switch to using MagneticField Volumes .. as in VolumeBasedMagneticField.
SteppingHelixStateInfo::Result Result
void applyRadX0Correction(bool applyRadX0Correction)
SteppingHelixPropagator()
Constructors.
const VolumeBasedMagneticField * vbField_
virtual std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &, const Surface &) const final
~SteppingHelixPropagator() override
Destructor.
static const int MAX_POINTS
bool useTuningForL2Speed_
void setUseMatVolumes(bool val)
Switch to using Material Volumes .. internally defined for now.
void propagate(const SteppingHelixStateInfo &ftsStart, const Surface &sDest, SteppingHelixStateInfo &out) const
Propagate to Plane given a starting point.
bool isYokeVolume(const MagVolume *vol) const
check if it's a yoke/iron based on this MagVol internals
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
const AlgebraicSymMatrix55 unit55_
void setUseIsYokeFlag(bool val)
void setRep(SteppingHelixPropagator::Basis &rep, const SteppingHelixPropagator::Vector &tau) const
Set/compute basis vectors for local coordinates at current step (called by incrementState) ...
int cIndex_(int ind) const
(Internals) circular index for array of transients
void setReturnTangentPlane(bool val)
flag to return tangent plane for non-plane input
void setSendLogWarning(bool val)
flag to send LogWarning on failures
void setUseInTeslaFromMagField(bool val)
force getting field value from MagneticField, not the geometric one
std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &ftsStart, const Plane &pDest) const override
Result refToMagVolume(const SteppingHelixPropagator::StateInfo &sv, PropagationDirection dir, double &dist, double &tanDist, double fastSkipDist=1e12, bool expectNewMagVolume=false, double maxStep=1e12) const
Result refToMatVolume(const SteppingHelixPropagator::StateInfo &sv, PropagationDirection dir, double &dist, double &tanDist, double fastSkipDist=1e12) const
const MagneticField * field_
void setEndcapShiftsInZPosNeg(double valPos, double valNeg)
set shifts in Z for endcap pieces (includes EE, HE, ME, YE)
void setMaterialMode(bool noMaterial)
Switch for material effects mode: no material effects if true.
void setNoErrorPropagation(bool noErrorPropagation)
Force no error propagation.