#include <ClosestApproachInRPhi.h>
Public Member Functions | |
bool | calculate (const TrajectoryStateOnSurface &sta, const TrajectoryStateOnSurface &stb) override |
bool | calculate (const FreeTrajectoryState &sta, const FreeTrajectoryState &stb) override |
ClosestApproachInRPhi * | clone () const override |
ClosestApproachInRPhi () | |
GlobalPoint | crossingPoint () const override |
float | distance () const override |
std::pair< GlobalPoint, GlobalPoint > | points () const override |
bool | status () const override |
std::pair< GlobalTrajectoryParameters, GlobalTrajectoryParameters > | trajectoryParameters () const |
~ClosestApproachInRPhi () override | |
Public Member Functions inherited from ClosestApproachOnHelices | |
ClosestApproachOnHelices () | |
virtual | ~ClosestApproachOnHelices () |
Private Member Functions | |
bool | compute (const TrackCharge &chargeA, const GlobalVector &momentumA, const GlobalPoint &positionA, const TrackCharge &chargeB, const GlobalVector &momentumB, const GlobalPoint &positionB) |
Static Private Member Functions | |
static void | circleParameters (const TrackCharge &charge, const GlobalVector &momemtum, const GlobalPoint &position, double &xc, double &yc, double &r, double bz) |
static GlobalTrajectoryParameters | newTrajectory (const GlobalPoint &newpt, const GlobalTrajectoryParameters &oldpar, double bz) |
static int | transverseCoord (double cxa, double cya, double ra, double cxb, double cyb, double rb, double &xg1, double &yg1, double &xg2, double &yg2) |
static double | zCoord (const GlobalVector &mom, const GlobalPoint &pos, double r, double xc, double yc, double xg, double yg) |
Private Attributes | |
double | bz |
GlobalTrajectoryParameters | paramA |
GlobalTrajectoryParameters | paramB |
GlobalPoint | posA |
GlobalPoint | posB |
bool | status_ |
Friends | |
int | test::ClosestApproachInRPhi_t::test () |
Definition at line 25 of file ClosestApproachInRPhi.h.
|
inline |
Definition at line 30 of file ClosestApproachInRPhi.h.
|
inlineoverride |
Definition at line 31 of file ClosestApproachInRPhi.h.
|
overridevirtual |
Implements ClosestApproachOnHelices.
Definition at line 8 of file ClosestApproachInRPhi.cc.
References TrajectoryStateOnSurface::charge(), bookConverter::compute(), TrajectoryStateOnSurface::freeState(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalParameters(), TrajectoryStateOnSurface::globalPosition(), MagneticField::inTesla(), GlobalTrajectoryParameters::magneticField(), FreeTrajectoryState::parameters(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by BPHMonitor::analyze(), HLTMuonDimuonL3Filter::applyDiMuonSelection(), NuclearVertexBuilder::closestApproach(), BPHPlusMinusVertex::computeApp(), V0Fitter::fitAll(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), HLTMuonTrimuonL3Filter::hltFilter(), ConversionProducer::preselectTrackPair(), and Onia2MuMuPAT::produce().
|
overridevirtual |
Implements ClosestApproachOnHelices.
Definition at line 26 of file ClosestApproachInRPhi.cc.
References FreeTrajectoryState::charge(), bookConverter::compute(), MagneticField::inTesla(), GlobalTrajectoryParameters::magneticField(), FreeTrajectoryState::momentum(), FreeTrajectoryState::parameters(), FreeTrajectoryState::position(), and PV3DBase< T, PVType, FrameType >::z().
|
staticprivate |
temporary code, to be replaced by call to curvature() when bug is fixed.
end of temporary code
Definition at line 174 of file ClosestApproachInRPhi.cc.
References funct::abs(), PV3DBase< T, PVType, FrameType >::transverse(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
inlineoverridevirtual |
Clone method
Implements ClosestApproachOnHelices.
Definition at line 60 of file ClosestApproachInRPhi.h.
References ALCARECOTkAlJpsiMuMu_cff::charge, bookConverter::compute(), dso_internal, position, and alignCSCRings::r.
|
private |
Definition at line 69 of file ClosestApproachInRPhi.cc.
References funct::abs(), and RemoveAddSevLevel::flag.
|
overridevirtual |
arithmetic mean of the two points of closest approach
Implements ClosestApproachOnHelices.
Definition at line 52 of file ClosestApproachInRPhi.cc.
References Exception.
Referenced by NuclearVertexBuilder::FillVertexWithCrossingPoint(), V0Fitter::fitAll(), NuclearVertexBuilder::isGoodSecondaryTrack(), and ConversionProducer::preselectTrackPair().
|
overridevirtual |
distance between the two points of closest approach in 3D
Implements ClosestApproachOnHelices.
Definition at line 61 of file ClosestApproachInRPhi.cc.
References Exception.
Referenced by BPHMonitor::analyze(), HLTMuonDimuonL3Filter::applyDiMuonSelection(), NuclearInteractionEDProducer::findAdditionalSecondaryTracks(), V0Fitter::fitAll(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), HLTMuonTrimuonL3Filter::hltFilter(), NuclearVertexBuilder::isGoodSecondaryTrack(), and Onia2MuMuPAT::produce().
|
staticprivate |
Definition at line 136 of file ClosestApproachInRPhi.cc.
References GlobalTrajectoryParameters::charge(), GlobalTrajectoryParameters::magneticField(), GlobalTrajectoryParameters::momentum(), GlobalTrajectoryParameters::position(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
overridevirtual |
Returns the two PCA on the trajectories.
Implements ClosestApproachOnHelices.
Definition at line 43 of file ClosestApproachInRPhi.cc.
References Exception.
|
inlineoverridevirtual |
Implements ClosestApproachOnHelices.
Definition at line 39 of file ClosestApproachInRPhi.h.
References SoftLeptonByDistance_cfi::distance, and hiPixelPairStep_cff::points.
Referenced by HLTMuonDimuonL3Filter::applyDiMuonSelection(), V0Fitter::fitAll(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), HLTMuonTrimuonL3Filter::hltFilter(), ConversionProducer::preselectTrackPair(), and Onia2MuMuPAT::produce().
pair< GlobalTrajectoryParameters, GlobalTrajectoryParameters > ClosestApproachInRPhi::trajectoryParameters | ( | ) | const |
Returns not only the points, but the full GlobalTrajectoryParemeters at the points of closest approach
Definition at line 125 of file ClosestApproachInRPhi.cc.
References Exception.
|
staticprivate |
Definition at line 205 of file ClosestApproachInRPhi.cc.
References funct::abs(), RemoveAddSevLevel::flag, Validation_hcalonly_cfi::sign, mathSSE::sqrt(), and findQualityFiles::v.
|
staticprivate |
Definition at line 272 of file ClosestApproachInRPhi.cc.
References funct::abs(), PVValHelper::dz, alignCSCRings::r, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::transverse(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
friend |
|
private |
Definition at line 108 of file ClosestApproachInRPhi.h.
|
private |
Definition at line 107 of file ClosestApproachInRPhi.h.
|
private |
Definition at line 107 of file ClosestApproachInRPhi.h.
|
private |
Definition at line 106 of file ClosestApproachInRPhi.h.
|
private |
Definition at line 106 of file ClosestApproachInRPhi.h.
|
private |
Definition at line 109 of file ClosestApproachInRPhi.h.