#include <ClosestApproachInRPhi.h>
Public Member Functions | |
bool | calculate (const FreeTrajectoryState &sta, const FreeTrajectoryState &stb) override |
bool | calculate (const TrajectoryStateOnSurface &sta, const TrajectoryStateOnSurface &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 26 of file ClosestApproachInRPhi.h.
|
inline |
|
inlineoverride |
Definition at line 31 of file ClosestApproachInRPhi.h.
|
overridevirtual |
Implements ClosestApproachOnHelices.
Definition at line 23 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().
|
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(), BPHPlusMinusVertex::computeApp(), V0Fitter::fitAll(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), HLTMuonTrimuonL3Filter::hltFilter(), ConversionProducer::preselectTrackPair(), and Onia2MuMuPAT::produce().
|
staticprivate |
temporary code, to be replaced by call to curvature() when bug is fixed.
end of temporary code
Definition at line 169 of file ClosestApproachInRPhi.cc.
References funct::abs(), ALCARECOTkAlJpsiMuMu_cff::charge, position, alignCSCRings::r, PV3DBase< T, PVType, FrameType >::transverse(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
inlineoverridevirtual |
Clone method
Implements ClosestApproachOnHelices.
Definition at line 57 of file ClosestApproachInRPhi.h.
References ClosestApproachInRPhi().
|
private |
Definition at line 62 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 46 of file ClosestApproachInRPhi.cc.
References Exception.
Referenced by V0Fitter::fitAll(), and ConversionProducer::preselectTrackPair().
|
overridevirtual |
distance between the two points of closest approach in 3D
Implements ClosestApproachOnHelices.
Definition at line 54 of file ClosestApproachInRPhi.cc.
References Exception.
Referenced by BPHMonitor::analyze(), HLTMuonDimuonL3Filter::applyDiMuonSelection(), V0Fitter::fitAll(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), HLTMuonTrimuonL3Filter::hltFilter(), and Onia2MuMuPAT::produce().
|
staticprivate |
Definition at line 131 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 38 of file ClosestApproachInRPhi.cc.
References Exception.
|
inlineoverridevirtual |
Implements ClosestApproachOnHelices.
Definition at line 37 of file ClosestApproachInRPhi.h.
References status_.
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 121 of file ClosestApproachInRPhi.cc.
References Exception, and runTheMatrix::ret.
|
staticprivate |
Definition at line 197 of file ClosestApproachInRPhi.cc.
References funct::abs(), RemoveAddSevLevel::flag, Validation_hcalonly_cfi::sign, mathSSE::sqrt(), findQualityFiles::v, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
|
staticprivate |
Definition at line 276 of file ClosestApproachInRPhi.cc.
References funct::abs(), Phase1L1TJetProducer_cfi::cosPhi, PVValHelper::dz, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, 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 114 of file ClosestApproachInRPhi.h.
|
private |
Definition at line 113 of file ClosestApproachInRPhi.h.
|
private |
Definition at line 113 of file ClosestApproachInRPhi.h.
|
private |
Definition at line 112 of file ClosestApproachInRPhi.h.
|
private |
Definition at line 112 of file ClosestApproachInRPhi.h.
|
private |
Definition at line 115 of file ClosestApproachInRPhi.h.
Referenced by ClosestApproachInRPhi(), and status().