1 #ifndef SteppingHelixPropagator_SteppingHelixPropagator_h
2 #define SteppingHelixPropagator_SteppingHelixPropagator_h
30 #include "CLHEP/Matrix/SymMatrix.h"
31 #include "CLHEP/Matrix/Matrix.h"
32 #include "CLHEP/Vector/ThreeVector.h"
44 typedef CLHEP::Hep3Vector
Point;
112 virtual std::pair<TrajectoryStateOnSurface, double>
116 virtual std::pair<TrajectoryStateOnSurface, double>
119 virtual std::pair<FreeTrajectoryState, double>
122 virtual std::pair<FreeTrajectoryState, double>
126 virtual std::pair<FreeTrajectoryState, double>
193 ecShiftPos_ = valPos; ecShiftNeg_ = valNeg;
204 Result propagate(SteppingHelixPropagator::DestType
type,
205 const double pars[6],
double epsilon = 1
e-3)
const;
209 void loadState(SteppingHelixPropagator::StateInfo& svCurrent,
217 void getNextState(
const SteppingHelixPropagator::StateInfo& svPrevious,
218 SteppingHelixPropagator::StateInfo& svNext,
221 double dS,
double dX0,
225 void setRep(SteppingHelixPropagator::Basis&
rep,
229 bool makeAtomStep(SteppingHelixPropagator::StateInfo& svCurrent,
230 SteppingHelixPropagator::StateInfo& svNext,
232 SteppingHelixPropagator::Fancy fancy)
const;
235 double getDeDx(
const SteppingHelixPropagator::StateInfo& sv,
236 double& dEdXPrime,
double& radX0,
MatBounds& rzLims)
const;
239 int cIndex_(
int ind)
const;
243 const double pars[6],
245 double fastSkipDist = 1e12)
const;
249 Result refToMagVolume(
const SteppingHelixPropagator::StateInfo& sv,
251 double& dist,
double& tanDist,
252 double fastSkipDist = 1e12,
bool expectNewMagVolume =
false,
double maxStep = 1e12)
const;
254 Result refToMatVolume(
const SteppingHelixPropagator::StateInfo& sv,
256 double& dist,
double& tanDist,
257 double fastSkipDist = 1e12)
const;
260 bool isYokeVolume(
const MagVolume* vol)
const;
264 typedef std::pair<TrajectoryStateOnSurface, double>
TsosPP;
265 typedef std::pair<FreeTrajectoryState, double>
FtsPP;
266 static const int MAX_STEPS = 10000;
267 static const int MAX_POINTS = 7;
void setUseMatVolumes(bool val)
Switch to using Material Volumes .. internally defined for now.
SteppingHelixStateInfo::VolumeBounds MatBounds
void setUseMagVolumes(bool val)
Switch to using MagneticField Volumes .. as in VolumeBasedMagneticField.
virtual SteppingHelixPropagator * clone() const
void setVBFPointer(const VolumeBasedMagneticField *val)
const MagneticField * field_
ROOT::Math::Plane3D::Vector Vector
bool applyRadX0Correction_
void applyRadX0Correction(bool applyRadX0Correction)
void setUseTuningForL2Speed(bool val)
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
void setReturnTangentPlane(bool val)
flag to return tangent plane for non-plane input
std::pair< FreeTrajectoryState, double > FtsPP
void setDebug(bool debug)
Switch debug printouts (to cout) .. very verbose.
void setNoErrorPropagation(bool noErrorPropagation)
Force no error propagation.
~SteppingHelixPropagator()
Destructor.
tuple SteppingHelixPropagator
std::pair< TrajectoryStateOnSurface, double > TsosPP
void setUseInTeslaFromMagField(bool val)
force getting field value from MagneticField, not the geometric one
virtual const MagneticField * magneticField() const
SteppingHelixStateInfo::Result Result
void setMaterialMode(bool noMaterial)
Switch for material effects mode: no material effects if true.
bool useInTeslaFromMagField_
void setSendLogWarning(bool val)
flag to send LogWarning on failures
SteppingHelixStateInfo StateInfo
bool useTuningForL2Speed_
void setEndcapShiftsInZPosNeg(double valPos, double valNeg)
set shifts in Z for endcap pieces (includes EE, HE, ME, YE)
const VolumeBasedMagneticField * vbField_
const AlgebraicSymMatrix55 unit55_
void setUseIsYokeFlag(bool val)
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepStd< double, 5, 5 > > AlgebraicMatrix55
Unlimited (trivial) bounds.