#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... | |
const MultiTrajectoryStateMode * | mtsMode_ |
PFGeometry | pfGeometry_ |
Definition at line 37 of file PFTrackTransformer.h.
PFTrackTransformer::PFTrackTransformer | ( | const math::XYZVector & | B | ) |
Definition at line 34 of file PFTrackTransformer.cc.
References onlyprop_.
PFTrackTransformer::~PFTrackTransformer | ( | ) |
Definition at line 40 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 46 of file PFTrackTransformer.cc.
References funct::abs(), reco::PFTrack::addPoint(), reco::PFRecTrack::algoType(), alongMomentum, B_, PFGeometry::BeamPipe, reco::TrackBase::charge(), Trajectory::direction(), BaseParticlePropagator::getSuccess(), reco::PFRecTrack::KF_ELCAND, LogDebug, PV3DBase< T, PVType, FrameType >::mag(), Trajectory::measurements(), RawParticle::momentum(), onlyprop_, reco::Track::outerMomentum(), reco::Track::outerPosition(), PFGeometry::outerRadius(), PFGeometry::outerZ(), AlCaHLTBitMon_ParallelJobs::p, reco::TrackBase::p(), pfGeometry_, BaseParticlePropagator::propagate(), PT, reco::TrackBase::pt(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), RawParticle::setCharge(), BaseParticlePropagator::setPropagationConditions(), mathSSE::sqrt(), findQualityFiles::v, RawParticle::vertex(), reco::TrackBase::vertex(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by PFDisplacedTrackerVertexProducer::produce(), PFNuclearProducer::produce(), LightPFTrackProducer::produce(), PFConversionProducer::produce(), and PFV0Producer::produce().
bool PFTrackTransformer::addPointsAndBrems | ( | reco::GsfPFRecTrack & | pftrack, |
const reco::Track & | track, | ||
const Trajectory & | traj, | ||
const bool & | GetMode | ||
) | const |
Definition at line 229 of file PFTrackTransformer.cc.
References funct::abs(), reco::GsfPFRecTrack::addBrem(), reco::PFTrack::addPoint(), alongMomentum, B_, PFGeometry::BeamPipe, reco::PFTrack::calculatePositionREP(), reco::TrackBase::charge(), PFGsfHelper::computeP(), Trajectory::direction(), PFGsfHelper::fittedDP(), BaseParticlePropagator::getSuccess(), PV3DBase< T, PVType, FrameType >::mag(), Trajectory::measurements(), RawParticle::momentum(), PFGeometry::outerRadius(), PFGeometry::outerZ(), AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::perp(), pfGeometry_, BaseParticlePropagator::propagate(), BaseParticlePropagator::propagateToEcalEntrance(), BaseParticlePropagator::propagateToHcalEntrance(), BaseParticlePropagator::propagateToHcalExit(), BaseParticlePropagator::propagateToHOLayer(), BaseParticlePropagator::propagateToPreshowerLayer1(), BaseParticlePropagator::propagateToPreshowerLayer2(), PT, reco::TrackBase::pt(), RawParticle::setCharge(), BaseParticlePropagator::setMagneticField(), BaseParticlePropagator::setPropagationConditions(), PFGsfHelper::sigmafittedDP(), mathSSE::sqrt(), findQualityFiles::v, RawParticle::vertex(), reco::TrackBase::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 573 of file PFTrackTransformer.cc.
References funct::abs(), reco::GsfPFRecTrack::addBrem(), reco::PFTrack::addPoint(), B_, PFGeometry::BeamPipe, reco::PFTrack::calculatePositionREP(), reco::TrackBase::charge(), BaseParticlePropagator::getSuccess(), reco::GsfTrack::gsfExtra(), MultiTrajectoryStateTransform::innerStateOnSurface(), TrajectoryStateOnSurface::isValid(), PV3DBase< T, PVType, FrameType >::mag(), RawParticle::momentum(), MultiTrajectoryStateMode::momentumFromModeCartesian(), mtsMode_, PFGeometry::outerRadius(), MultiTrajectoryStateTransform::outerStateOnSurface(), PFGeometry::outerZ(), pfGeometry_, reco::GsfTrack::pMode(), position, MultiTrajectoryStateMode::positionFromModeCartesian(), BaseParticlePropagator::propagate(), BaseParticlePropagator::propagateToEcalEntrance(), BaseParticlePropagator::propagateToHcalEntrance(), BaseParticlePropagator::propagateToHcalExit(), BaseParticlePropagator::propagateToHOLayer(), BaseParticlePropagator::propagateToPreshowerLayer1(), BaseParticlePropagator::propagateToPreshowerLayer2(), reco::GsfTrack::ptMode(), reco::GsfTrack::ptModeError(), reco::GsfTrack::pxMode(), reco::GsfTrack::pyMode(), reco::GsfTrack::pzMode(), RawParticle::setCharge(), BaseParticlePropagator::setMagneticField(), BaseParticlePropagator::setPropagationConditions(), mathSSE::sqrt(), RawParticle::vertex(), reco::TrackBase::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 61 of file PFTrackTransformer.h.
References onlyprop_.
Referenced by PFDisplacedTrackerVertexProducer::beginRun(), PFNuclearProducer::beginRun(), LightPFTrackProducer::beginRun(), PFConversionProducer::beginRun(), and PFV0Producer::beginRun().
|
private |
B field.
Definition at line 68 of file PFTrackTransformer.h.
Referenced by addPoints(), and addPointsAndBrems().
|
private |
Definition at line 69 of file PFTrackTransformer.h.
Referenced by addPointsAndBrems().
bool PFTrackTransformer::onlyprop_ |
Definition at line 64 of file PFTrackTransformer.h.
Referenced by addPoints(), OnlyProp(), and PFTrackTransformer().
|
private |
Definition at line 70 of file PFTrackTransformer.h.
Referenced by addPoints(), and addPointsAndBrems().