1 #ifndef SteppingHelixPropagator_SteppingHelixPropagator_h
2 #define SteppingHelixPropagator_SteppingHelixPropagator_h
33 #include "CLHEP/Matrix/SymMatrix.h"
34 #include "CLHEP/Matrix/Matrix.h"
35 #include "CLHEP/Vector/ThreeVector.h"
47 typedef CLHEP::Hep3Vector
Point;
115 virtual std::pair<TrajectoryStateOnSurface, double>
119 virtual std::pair<TrajectoryStateOnSurface, double>
122 virtual std::pair<FreeTrajectoryState, double>
125 virtual std::pair<FreeTrajectoryState, double>
129 virtual std::pair<FreeTrajectoryState, double>
196 ecShiftPos_ = valPos; ecShiftNeg_ = valNeg;
207 Result propagate(SteppingHelixPropagator::DestType
type,
208 const double pars[6],
double epsilon = 1
e-3)
const;
212 void loadState(SteppingHelixPropagator::StateInfo& svCurrent,
220 void getNextState(
const SteppingHelixPropagator::StateInfo& svPrevious,
221 SteppingHelixPropagator::StateInfo& svNext,
224 double dS,
double dX0,
228 void setRep(SteppingHelixPropagator::Basis&
rep,
232 bool makeAtomStep(SteppingHelixPropagator::StateInfo& svCurrent,
233 SteppingHelixPropagator::StateInfo& svNext,
235 SteppingHelixPropagator::Fancy fancy)
const;
238 double getDeDx(
const SteppingHelixPropagator::StateInfo& sv,
239 double& dEdXPrime,
double& radX0,
MatBounds& rzLims)
const;
242 int cIndex_(
int ind)
const;
246 const double pars[6],
248 double fastSkipDist = 1e12)
const;
252 Result refToMagVolume(
const SteppingHelixPropagator::StateInfo& sv,
254 double& dist,
double& tanDist,
255 double fastSkipDist = 1e12,
bool expectNewMagVolume =
false,
double maxStep = 1e12)
const;
257 Result refToMatVolume(
const SteppingHelixPropagator::StateInfo& sv,
259 double& dist,
double& tanDist,
260 double fastSkipDist = 1e12)
const;
263 bool isYokeVolume(
const MagVolume* vol)
const;
267 typedef std::pair<TrajectoryStateOnSurface, double>
TsosPP;
268 typedef std::pair<FreeTrajectoryState, double>
FtsPP;
269 static const int MAX_STEPS = 10000;
270 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
AlgebraicMatrix55 dCCurvTransform_
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
AlgebraicMatrix55 covCurvRot_
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.