#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 (math::XYZVector) | |
~PFTrackTransformer () | |
Public Attributes | |
bool | onlyprop_ |
Private Attributes | |
math::XYZVector | B_ |
B field. More... | |
const MultiTrajectoryStateMode * | mtsMode_ |
Definition at line 37 of file PFTrackTransformer.h.
PFTrackTransformer::PFTrackTransformer | ( | math::XYZVector | B | ) |
Definition at line 34 of file PFTrackTransformer.cc.
References onlyprop_.
PFTrackTransformer::~PFTrackTransformer | ( | ) |
Definition at line 41 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 47 of file PFTrackTransformer.cc.
References abs, reco::PFTrack::addPoint(), reco::PFRecTrack::algoType(), alongMomentum, B_, PFGeometry::BeamPipe, reco::TrackBase::charge(), Trajectory::direction(), reco::PFRecTrack::KF_ELCAND, LogDebug, PV3DBase< T, PVType, FrameType >::mag(), Trajectory::measurements(), onlyprop_, reco::Track::outerMomentum(), reco::Track::outerPosition(), PFGeometry::outerRadius(), PFGeometry::outerZ(), reco::TrackBase::p(), AlCaHLTBitMon_ParallelJobs::p, PT, reco::TrackBase::pt(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), dt_dqm_sourceclient_common_cff::reco, RawParticle::setCharge(), mathSSE::sqrt(), v, reco::TrackBase::vertex(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by LightPFTrackProducer::produce(), PFConversionProducer::produce(), PFNuclearProducer::produce(), PFDisplacedTrackerVertexProducer::produce(), PFV0Producer::produce(), and PFTrackProducer::produce().
bool PFTrackTransformer::addPointsAndBrems | ( | reco::GsfPFRecTrack & | pftrack, |
const reco::Track & | track, | ||
const Trajectory & | traj, | ||
const bool & | GetMode | ||
) | const |
Definition at line 232 of file PFTrackTransformer.cc.
References 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(), 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(), v, reco::TrackBase::vertex(), RawParticle::vertex(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and RawParticle::Z().
Referenced by PFElecTkProducer::produce().
bool PFTrackTransformer::addPointsAndBrems | ( | reco::GsfPFRecTrack & | pftrack, |
const reco::GsfTrack & | track, | ||
const MultiTrajectoryStateTransform & | mtjstate | ||
) | const |
Definition at line 576 of file PFTrackTransformer.cc.
References 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(), 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(), reco::TrackBase::vertex(), RawParticle::vertex(), PV3DBase< T, PVType, FrameType >::x(), vdt::x, detailsBasic3DVector::y, PV3DBase< T, PVType, FrameType >::y(), detailsBasic3DVector::z, PV3DBase< T, PVType, FrameType >::z(), and RawParticle::Z().
|
inline |
Definition at line 61 of file PFTrackTransformer.h.
References onlyprop_.
Referenced by LightPFTrackProducer::beginRun(), PFDisplacedTrackerVertexProducer::beginRun(), PFNuclearProducer::beginRun(), PFConversionProducer::beginRun(), PFV0Producer::beginRun(), PFTrackProducer::beginRun(), and GoodSeedProducer::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().