42 std::shared_ptr<Propagator>
67 if (useMagVolumes==
true && !useInTeslaFromMagField && !setVBFPointer && magfield->
nominalValue() == 0) {
69 if (vbfCPtr ==
nullptr ){
70 edm::LogWarning(
"SteppingHelixPropagator") <<
"Config specifies useMagVolumes==True but no VBF field available: SHP has no access to yoke material properties. Use setVBFPointer=true and VBFName cards to set a VBF field, otherwise set useMagVolumes==False." << std::endl;
72 edm::LogInfo(
"SteppingHelixPropagator") <<
"Config specifies useMagVolumes==true and VBF field available: Forcing useInTeslaFromMagField = True." <<std::endl;
73 useInTeslaFromMagField =
true;
T getParameter(std::string const &) const
void setUseTuningForL2Speed(bool val)
std::shared_ptr< Propagator > _propagator
void setDebug(bool debug)
Switch debug printouts (to cout) .. very verbose.
void setVBFPointer(const VolumeBasedMagneticField *val)
int nominalValue() const
The nominal field value for this map in kGauss.
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
const DepRecordT & getRecord() const
void setUseMagVolumes(bool val)
Switch to using MagneticField Volumes .. as in VolumeBasedMagneticField.
void applyRadX0Correction(bool applyRadX0Correction)
SteppingHelixPropagatorESProducer(const edm::ParameterSet &p)
void setUseMatVolumes(bool val)
Switch to using Material Volumes .. internally defined for now.
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void setUseIsYokeFlag(bool val)
std::shared_ptr< Propagator > produce(const TrackingComponentsRecord &)
~SteppingHelixPropagatorESProducer() override
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
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.