#include <TrajectoryStateClosestToBeamLine.h>
Public Types | |
typedef FreeTrajectoryState | FTS |
Public Member Functions | |
GlobalPoint const & | beamLinePCA () const |
reco::BeamSpot const & | beamSpot () |
bool | isValid () const |
FTS const & | trackStateAtPCA () const |
TrajectoryStateClosestToBeamLine () | |
TrajectoryStateClosestToBeamLine (const FTS &stateAtPCA, const GlobalPoint &pointOnBeamLine, const reco::BeamSpot &beamSpot) | |
Measurement1D | transverseImpactParameter () const |
~TrajectoryStateClosestToBeamLine () | |
Private Attributes | |
reco::BeamSpot | theBeamSpot |
FTS | theFTS |
GlobalPoint | thePointOnBeamLine |
bool | valid |
Trajectory state defined at the point of closest approach (PCA) of the track to the beamline. It gives also access to the point on the beamline which is the closest to the track.
Definition at line 15 of file TrajectoryStateClosestToBeamLine.h.
Definition at line 19 of file TrajectoryStateClosestToBeamLine.h.
|
inline |
Definition at line 21 of file TrajectoryStateClosestToBeamLine.h.
TrajectoryStateClosestToBeamLine::TrajectoryStateClosestToBeamLine | ( | const FTS & | stateAtPCA, |
const GlobalPoint & | pointOnBeamLine, | ||
const reco::BeamSpot & | beamSpot | ||
) |
Definition at line 4 of file TrajectoryStateClosestToBeamLine.cc.
|
inline |
Definition at line 27 of file TrajectoryStateClosestToBeamLine.h.
|
inline |
Point on the beamline which is the closest to the track
Definition at line 42 of file TrajectoryStateClosestToBeamLine.h.
References isValid(), and thePointOnBeamLine.
|
inline |
The beamline
Definition at line 57 of file TrajectoryStateClosestToBeamLine.h.
References isValid(), and theBeamSpot.
|
inline |
Definition at line 63 of file TrajectoryStateClosestToBeamLine.h.
References valid.
Referenced by beamLinePCA(), beamSpot(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), TrackProducerAlgorithm< reco::Track >::buildTrack(), V0Fitter::fitAll(), CosmicParametersDefinerForTP::momentum(), TrackFilterForPVFinding::operator()(), CosmicTrackingParticleSelector::operator()(), PrimaryVertexAnalyzer4PU::printRecTrks(), cms::HITrackVertexMaker::produceTracks(), MuonUpdatorAtVertex::propagate(), HICTrajectoryBuilder::qualityFilter(), MuonTrackingRegionBuilder::region(), TrackAlgoCompareUtil::SetTrackingParticleD0Dz(), trackStateAtPCA(), transverseImpactParameter(), and CosmicParametersDefinerForTP::vertex().
|
inline |
State of the track at the PCA to the beamline
Definition at line 33 of file TrajectoryStateClosestToBeamLine.h.
References isValid(), and theFTS.
Referenced by TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), PrimaryVertexAnalyzer4PU::fillTrackHistos(), CosmicParametersDefinerForTP::momentum(), CosmicTrackingParticleSelector::operator()(), TrackAssociatorByChi2::parametersAtClosestApproach(), cms::HITrackVertexMaker::produceTracks(), MuonUpdatorAtVertex::propagate(), HICTrajectoryBuilder::qualityFilter(), MuonTrackingRegionBuilder::region(), TrackAlgoCompareUtil::SetTrackingParticleD0Dz(), and CosmicParametersDefinerForTP::vertex().
Measurement1D TrajectoryStateClosestToBeamLine::transverseImpactParameter | ( | ) | const |
Transverse impact parameter of the track to the beamline. It is the transverse distance of the two PCAs.
Definition at line 10 of file TrajectoryStateClosestToBeamLine.cc.
References FreeTrajectoryState::cartesianError(), error, isValid(), CartesianTrajectoryError::matrix(), FreeTrajectoryState::position(), reco::BeamSpot::rotatedCovariance3D(), mathSSE::sqrt(), theBeamSpot, theFTS, thePointOnBeamLine, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by V0Fitter::fitAll(), HLTmmkFilter::hltFilter(), HLTmmkkFilter::hltFilter(), TrackFilterForPVFinding::operator()(), and PrimaryVertexAnalyzer4PU::printRecTrks().
|
private |
Definition at line 70 of file TrajectoryStateClosestToBeamLine.h.
Referenced by beamSpot(), and transverseImpactParameter().
|
private |
Definition at line 68 of file TrajectoryStateClosestToBeamLine.h.
Referenced by trackStateAtPCA(), and transverseImpactParameter().
|
private |
Definition at line 69 of file TrajectoryStateClosestToBeamLine.h.
Referenced by beamLinePCA(), and transverseImpactParameter().
|
private |
Definition at line 67 of file TrajectoryStateClosestToBeamLine.h.
Referenced by isValid().