#include <TrajectoryStateClosestToPoint.h>
Public Member Functions | |
void | calculateFTS () const |
TrackCharge | charge () const |
bool | hasError () const |
bool | isValid () const |
GlobalVector | momentum () const |
const PerigeeTrajectoryError & | perigeeError () const |
const PerigeeTrajectoryParameters & | perigeeParameters () const |
GlobalPoint | position () const |
double | pt () const |
const GlobalPoint & | referencePoint () const |
const FreeTrajectoryState & | theState () const |
TrajectoryStateClosestToPoint () | |
parameter dimension More... | |
TrajectoryStateClosestToPoint (const PerigeeTrajectoryParameters &perigeeParameters, double pt, const GlobalPoint &referencePoint, const MagneticField *field) | |
TrajectoryStateClosestToPoint (const PerigeeTrajectoryParameters &perigeeParameters, double pt, const PerigeeTrajectoryError &perigeeError, const GlobalPoint &referencePoint, const MagneticField *field) | |
TrajectoryStateClosestToPoint (const FTS &originalFTS, const GlobalPoint &referencePoint) | |
Private Types | |
typedef FreeTrajectoryState | FTS |
typedef TrajectoryStateOnSurface | TSOS |
Private Attributes | |
bool | errorIsAvailable |
const MagneticField * | theField |
FTS | theFTS |
bool | theFTSavailable |
PerigeeTrajectoryParameters | theParameters |
PerigeeTrajectoryError | thePerigeeError |
double | thePt |
GlobalPoint | theRefPoint |
bool | valid |
Friends | |
class | TrajectoryStateClosestToPointBuilder |
Trajectory state defined at a given point on the helix, which is the point of closest approach to the reference point. In addition to the FreeTrajectoryState at that point, it also gives the perigee parameters. This state can also be invalid, e.g. in case the propagation was not successful.
Definition at line 18 of file TrajectoryStateClosestToPoint.h.
|
private |
Definition at line 20 of file TrajectoryStateClosestToPoint.h.
|
private |
Definition at line 19 of file TrajectoryStateClosestToPoint.h.
|
inline |
parameter dimension
Definition at line 24 of file TrajectoryStateClosestToPoint.h.
|
inline |
Public constructor, which is used to convert perigee parameters to a FreeTrajectoryState. For the case where no error is provided.
Definition at line 31 of file TrajectoryStateClosestToPoint.h.
|
inline |
Public constructor, which is used to convert perigee parameters to a FreeTrajectoryState. For the case where an error is provided.
Definition at line 48 of file TrajectoryStateClosestToPoint.h.
TrajectoryStateClosestToPoint::TrajectoryStateClosestToPoint | ( | const FTS & | originalFTS, |
const GlobalPoint & | referencePoint | ||
) |
Use the appropriate TrajectoryStateClosestToPointBuilder to get access to this constructor
Definition at line 6 of file TrajectoryStateClosestToPoint.cc.
References errorIsAvailable, PerigeeConversions::ftsToPerigeeError(), PerigeeConversions::ftsToPerigeeParameters(), FreeTrajectoryState::hasError(), GlobalTrajectoryParameters::magneticField(), FreeTrajectoryState::parameters(), submitPVValidationJobs::params, referencePoint(), theField, theFTS, theParameters, thePerigeeError, thePt, and valid.
void TrajectoryStateClosestToPoint::calculateFTS | ( | ) | const |
Definition at line 24 of file TrajectoryStateClosestToPoint.cc.
References PerigeeTrajectoryParameters::charge(), PerigeeConversions::curvilinearError(), errorIsAvailable, isValid(), PerigeeConversions::momentumFromPerigee(), PerigeeConversions::positionFromPerigee(), theField, theFTS, theFTSavailable, theParameters, thePerigeeError, thePt, and theRefPoint.
Referenced by theState().
|
inline |
Definition at line 94 of file TrajectoryStateClosestToPoint.h.
References PerigeeTrajectoryParameters::charge(), and theParameters.
Referenced by TestOutliers::analyze().
|
inline |
tells whether the error of the perigee parameters is available.
Definition at line 106 of file TrajectoryStateClosestToPoint.h.
References errorIsAvailable.
Referenced by PerigeeLinearizedTrackState::hasError().
|
inline |
Tells whether the state is valid or not
Definition at line 111 of file TrajectoryStateClosestToPoint.h.
References valid.
Referenced by ntupleDataFormat._Object::_checkIsValid(), BPHMonitor::analyze(), L1MuonRecoTreeProducer::analyze(), HLTMuonDimuonL3Filter::applyDiMuonSelection(), calculateFTS(), PerigeeLinearizedTrackState::computeJacobians(), V0Fitter::fitAll(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), HLTMuonTrimuonL3Filter::hltFilter(), PerigeeLinearizedTrackState::predictedStateWeight(), Onia2MuMuPAT::produce(), MuonUpdatorAtVertex::propagateToNominalLine(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 92 of file TrajectoryStateClosestToPoint.h.
References PerigeeConversions::momentumFromPerigee(), theParameters, thePt, and theRefPoint.
Referenced by DisappearingMuonsSkimming::filter(), V0Fitter::fitAll(), TwoBodyDecayLinearizationPointFinder::getLinearizationPoint(), and MatcherUsingTracksAlgorithm::matchWithPropagation().
|
inline |
returns the error of the perigee parameters if it is available
Definition at line 84 of file TrajectoryStateClosestToPoint.h.
References thePerigeeError.
Referenced by PrimaryVertexValidation::analyze(), PerigeeRefittedTrackState::covariance(), VertexFitterResult::fill(), PerigeeLinearizedTrackState::predictedStateError(), PerigeeLinearizedTrackState::predictedStateMomentumError(), and PerigeeLinearizedTrackState::predictedStateWeight().
|
inline |
returns the perigee parameters at the p.c.a. to the reference point.
Definition at line 73 of file TrajectoryStateClosestToPoint.h.
References theParameters.
Referenced by PrimaryVertexValidation::analyze(), PerigeeLinearizedTrackState::computeChargedJacobians(), DisappearingMuonsSkimming::filter(), PerigeeRefittedTrackState::parameters(), PerigeeLinearizedTrackState::predictedStateMomentumParameters(), and PerigeeLinearizedTrackState::predictedStateParameters().
|
inline |
returns the state defined at the point of closest approach to the reference point.
Definition at line 90 of file TrajectoryStateClosestToPoint.h.
References PerigeeConversions::positionFromPerigee(), theParameters, and theRefPoint.
Referenced by PrimaryVertexValidation::analyze(), L1MuonRecoTreeProducer::analyze(), DisappearingMuonsSkimming::getECALIsolation(), and MatcherUsingTracksAlgorithm::matchWithPropagation().
|
inline |
returns the transverse momentum magnitude
Definition at line 78 of file TrajectoryStateClosestToPoint.h.
References thePt.
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), PerigeeLinearizedTrackState::computeChargedJacobians(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), datamodel.Object::p4(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), and Jet.Jet::setCorrP4().
|
inline |
returns the reference point which used to construct the state. It is thus the point with respect to which the impact parameters are defined.
Definition at line 67 of file TrajectoryStateClosestToPoint.h.
References theRefPoint.
Referenced by PerigeeRefittedTrackState::position(), and TrajectoryStateClosestToPoint().
|
inline |
Definition at line 96 of file TrajectoryStateClosestToPoint.h.
References calculateFTS(), theFTS, and theFTSavailable.
Referenced by ValidationMisalignedTracker::analyze(), BPHMonitor::analyze(), TestOutliers::analyze(), PrimaryVertexValidation::analyze(), HLTMuonDimuonL3Filter::applyDiMuonSelection(), pat::LeptonVertexSignificance::calculate(), BPHPlusMinusVertex::computeApp(), PerigeeLinearizedTrackState::computeChargedJacobians(), PerigeeLinearizedTrackState::computeJacobians(), PerigeeLinearizedTrackState::computeNeutralJacobians(), PerigeeRefittedTrackState::freeTrajectoryState(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), HLTMuonTrimuonL3Filter::hltFilter(), KinematicParticleFactoryFromTransientTrack::particle(), Onia2MuMuPAT::produce(), MuonUpdatorAtVertex::propagateToNominalLine(), TrackClassifier::reconstructionInformation(), and PerigeeRefittedTrackState::trajectoryStateOnSurface().
|
friend |
Definition at line 113 of file TrajectoryStateClosestToPoint.h.
|
private |
Definition at line 135 of file TrajectoryStateClosestToPoint.h.
Referenced by calculateFTS(), hasError(), and TrajectoryStateClosestToPoint().
|
private |
Definition at line 125 of file TrajectoryStateClosestToPoint.h.
Referenced by calculateFTS(), and TrajectoryStateClosestToPoint().
|
mutableprivate |
Definition at line 127 of file TrajectoryStateClosestToPoint.h.
Referenced by calculateFTS(), theState(), and TrajectoryStateClosestToPoint().
|
mutableprivate |
Definition at line 134 of file TrajectoryStateClosestToPoint.h.
Referenced by calculateFTS(), and theState().
|
private |
Definition at line 130 of file TrajectoryStateClosestToPoint.h.
Referenced by calculateFTS(), charge(), momentum(), perigeeParameters(), position(), and TrajectoryStateClosestToPoint().
|
private |
Definition at line 132 of file TrajectoryStateClosestToPoint.h.
Referenced by calculateFTS(), perigeeError(), and TrajectoryStateClosestToPoint().
|
private |
Definition at line 131 of file TrajectoryStateClosestToPoint.h.
Referenced by calculateFTS(), momentum(), pt(), and TrajectoryStateClosestToPoint().
|
private |
Definition at line 129 of file TrajectoryStateClosestToPoint.h.
Referenced by calculateFTS(), momentum(), position(), and referencePoint().
|
private |
Definition at line 133 of file TrajectoryStateClosestToPoint.h.
Referenced by isValid(), and TrajectoryStateClosestToPoint().