#include <PFTrackTransformer.h>
Public Member Functions | |
bool | addPoints (reco::PFRecTrack &pftrack, const reco::Track &track, const Trajectory &traj, bool msgwarning=true) const |
Add points to a PFTrack. return false if a TSOS is invalid. More... | |
bool | addPointsAndBrems (reco::GsfPFRecTrack &pftrack, const reco::Track &track, const Trajectory &traj, const bool &GetMode) const |
bool | addPointsAndBrems (reco::GsfPFRecTrack &pftrack, const reco::GsfTrack &track, const MultiTrajectoryStateTransform &mtjstate) const |
void | OnlyProp () |
PFTrackTransformer (const math::XYZVector &) | |
~PFTrackTransformer () | |
Public Attributes | |
bool | onlyprop_ |
Private Attributes | |
math::XYZVector | B_ |
B field. More... | |
PFGeometry | pfGeometry_ |
Static Private Attributes | |
static constexpr double | cos2ThetaV_Endcap_HiEnd_ = 0.99014 |
Definition at line 34 of file PFTrackTransformer.h.
PFTrackTransformer::PFTrackTransformer | ( | const math::XYZVector & | B | ) |
Definition at line 32 of file PFTrackTransformer.cc.
References onlyprop_.
PFTrackTransformer::~PFTrackTransformer | ( | ) |
Definition at line 38 of file PFTrackTransformer.cc.
bool PFTrackTransformer::addPoints | ( | reco::PFRecTrack & | pftrack, |
const reco::Track & | track, | ||
const Trajectory & | traj, | ||
bool | msgwarning = true |
||
) | const |
Add points to a PFTrack. return false if a TSOS is invalid.
Definition at line 40 of file PFTrackTransformer.cc.
References funct::abs(), reco::PFTrack::addPoint(), reco::PFRecTrack::algoType(), alongMomentum, B_, PFGeometry::BeamPipe, cos2ThetaV_Endcap_HiEnd_, Trajectory::direction(), reco::PFRecTrack::eta(), BaseParticlePropagator::getSuccess(), reco::PFRecTrack::KF_ELCAND, LogDebug, Trajectory::measurements(), RawParticle::momentum(), onlyprop_, PFGeometry::outerRadius(), PFGeometry::outerZ(), AlCaHLTBitMon_ParallelJobs::p, BaseParticlePropagator::particle(), pfGeometry_, BaseParticlePropagator::propagate(), PT, BaseParticlePropagator::setPropagationConditions(), mathSSE::sqrt(), HLT_2022v12_cff::track, findQualityFiles::v, and RawParticle::vertex().
Referenced by PFDisplacedTrackerVertexProducer::produce(), PFNuclearProducer::produce(), LightPFTrackProducer::produce(), PFV0Producer::produce(), and PFConversionProducer::produce().
bool PFTrackTransformer::addPointsAndBrems | ( | reco::GsfPFRecTrack & | pftrack, |
const reco::Track & | track, | ||
const Trajectory & | traj, | ||
const bool & | GetMode | ||
) | const |
Definition at line 234 of file PFTrackTransformer.cc.
References funct::abs(), reco::GsfPFRecTrack::addBrem(), reco::PFTrack::addPoint(), alongMomentum, B_, PFGeometry::BeamPipe, PFGsfHelper::computeP(), RawParticle::cos2ThetaV(), cos2ThetaV_Endcap_HiEnd_, Trajectory::direction(), RawParticle::eta(), PFGsfHelper::fittedDP(), BaseParticlePropagator::getSuccess(), Trajectory::measurements(), RawParticle::momentum(), PFGeometry::outerRadius(), PFGeometry::outerZ(), AlCaHLTBitMon_ParallelJobs::p, BaseParticlePropagator::particle(), pfGeometry_, BaseParticlePropagator::propagate(), BaseParticlePropagator::propagateToEcalEntrance(), BaseParticlePropagator::propagateToHcalEntrance(), BaseParticlePropagator::propagateToHcalExit(), BaseParticlePropagator::propagateToHOLayer(), BaseParticlePropagator::propagateToPreshowerLayer1(), BaseParticlePropagator::propagateToPreshowerLayer2(), PT, RawParticle::pt(), BaseParticlePropagator::setMagneticField(), BaseParticlePropagator::setPropagationConditions(), PFGsfHelper::sigmafittedDP(), mathSSE::sqrt(), HLT_2022v12_cff::track, findQualityFiles::v, RawParticle::vertex(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and RawParticle::Z().
bool PFTrackTransformer::addPointsAndBrems | ( | reco::GsfPFRecTrack & | pftrack, |
const reco::GsfTrack & | track, | ||
const MultiTrajectoryStateTransform & | mtjstate | ||
) | const |
Definition at line 554 of file PFTrackTransformer.cc.
References funct::abs(), reco::GsfPFRecTrack::addBrem(), reco::PFTrack::addPoint(), B_, PFGeometry::BeamPipe, RawParticle::cos2ThetaV(), cos2ThetaV_Endcap_HiEnd_, RawParticle::eta(), BaseParticlePropagator::getSuccess(), MultiTrajectoryStateTransform::innerStateOnSurface(), TrajectoryStateOnSurface::isValid(), PV3DBase< T, PVType, FrameType >::mag(), RawParticle::momentum(), multiTrajectoryStateMode::momentumFromModeCartesian(), PFGeometry::outerRadius(), MultiTrajectoryStateTransform::outerStateOnSurface(), PFGeometry::outerZ(), BaseParticlePropagator::particle(), pfGeometry_, position, multiTrajectoryStateMode::positionFromModeCartesian(), BaseParticlePropagator::propagate(), BaseParticlePropagator::propagateToEcalEntrance(), BaseParticlePropagator::propagateToHcalEntrance(), BaseParticlePropagator::propagateToHcalExit(), BaseParticlePropagator::propagateToHOLayer(), BaseParticlePropagator::propagateToPreshowerLayer1(), BaseParticlePropagator::propagateToPreshowerLayer2(), RawParticle::pt(), BaseParticlePropagator::setMagneticField(), BaseParticlePropagator::setPropagationConditions(), mathSSE::sqrt(), HLT_2022v12_cff::track, RawParticle::vertex(), x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), z, PV3DBase< T, PVType, FrameType >::z(), and RawParticle::Z().
|
inline |
Definition at line 54 of file PFTrackTransformer.h.
References onlyprop_.
Referenced by PFDisplacedTrackerVertexProducer::beginRun(), PFNuclearProducer::beginRun(), LightPFTrackProducer::beginRun(), PFV0Producer::beginRun(), and PFConversionProducer::beginRun().
|
private |
B field.
Definition at line 59 of file PFTrackTransformer.h.
Referenced by addPoints(), and addPointsAndBrems().
|
staticprivate |
Definition at line 61 of file PFTrackTransformer.h.
Referenced by addPoints(), and addPointsAndBrems().
bool PFTrackTransformer::onlyprop_ |
Definition at line 55 of file PFTrackTransformer.h.
Referenced by addPoints(), OnlyProp(), and PFTrackTransformer().
|
private |
Definition at line 60 of file PFTrackTransformer.h.
Referenced by addPoints(), and addPointsAndBrems().