#include <InvariantMassFromVertex.h>
Public Types | |
typedef ROOT::Math::PxPyPzMVector | LorentzVector |
Public Member Functions | |
Measurement1D | invariantMass (const CachingVertex< 5 > &vertex, const std::vector< double > &masses) const |
Measurement1D | invariantMass (const CachingVertex< 5 > &vertex, const double mass) const |
GlobalVector | momentum (const CachingVertex< 5 > &vertex) const |
LorentzVector | p4 (const CachingVertex< 5 > &vertex, const std::vector< double > &masses) const |
LorentzVector | p4 (const CachingVertex< 5 > &vertex, const double mass) const |
Private Types | |
typedef ReferenceCountingPointer < LinearizedTrackState< 5 > > | RefCountedLinearizedTrackState |
typedef ReferenceCountingPointer < RefittedTrackState< 5 > > | RefCountedRefittedTrackState |
typedef ReferenceCountingPointer < VertexTrack< 5 > > | RefCountedVertexTrack |
Private Member Functions | |
double | uncertainty (const LorentzVector &p4, const CachingVertex< 5 > &vertex, const std::vector< double > &masses) const |
Class building a resulting output tree out of the information provided by KinematicParticleVertexFitter.
Definition at line 20 of file InvariantMassFromVertex.h.
typedef ROOT::Math::PxPyPzMVector InvariantMassFromVertex::LorentzVector |
Definition at line 23 of file InvariantMassFromVertex.h.
|
private |
Definition at line 49 of file InvariantMassFromVertex.h.
|
private |
Definition at line 50 of file InvariantMassFromVertex.h.
|
private |
Definition at line 48 of file InvariantMassFromVertex.h.
Measurement1D InvariantMassFromVertex::invariantMass | ( | const CachingVertex< 5 > & | vertex, |
const std::vector< double > & | masses | ||
) | const |
Definition at line 71 of file InvariantMassFromVertex.cc.
References LogDebug, p4(), CachingVertex< N >::tkToTkCovarianceIsAvailable(), CachingVertex< N >::tracks(), and uncertainty().
Referenced by invariantMass(), and Onia2MuMuPAT::produce().
Measurement1D InvariantMassFromVertex::invariantMass | ( | const CachingVertex< 5 > & | vertex, |
const double | mass | ||
) | const |
Definition at line 64 of file InvariantMassFromVertex.cc.
References invariantMass(), and CachingVertex< N >::tracks().
GlobalVector InvariantMassFromVertex::momentum | ( | const CachingVertex< 5 > & | vertex | ) | const |
Definition at line 42 of file InvariantMassFromVertex.cc.
References LogDebug, CachingVertex< N >::tkToTkCovarianceIsAvailable(), and CachingVertex< N >::tracks().
Referenced by p4().
InvariantMassFromVertex::LorentzVector InvariantMassFromVertex::p4 | ( | const CachingVertex< 5 > & | vertex, |
const std::vector< double > & | masses | ||
) | const |
four-momentum Lorentz vector
Definition at line 11 of file InvariantMassFromVertex.cc.
References LogDebug, momentum(), CachingVertex< N >::tkToTkCovarianceIsAvailable(), CachingVertex< N >::tracks(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by Tau.Tau::dxy_approx(), Tau.Tau::dz(), invariantMass(), Jet.Jet::jetID(), and p4().
InvariantMassFromVertex::LorentzVector InvariantMassFromVertex::p4 | ( | const CachingVertex< 5 > & | vertex, |
const double | mass | ||
) | const |
four-momentum Lorentz vector
Definition at line 5 of file InvariantMassFromVertex.cc.
References p4(), and CachingVertex< N >::tracks().
Referenced by Tau.Tau::dxy_approx(), Tau.Tau::dz(), and Jet.Jet::jetID().
|
private |
Definition at line 96 of file InvariantMassFromVertex.cc.
References a, funct::cos(), Exception, phi, CachingVertex< N >::position(), rho, funct::sin(), findQualityFiles::size, mathSSE::sqrt(), funct::tan(), theta(), CachingVertex< N >::tkToTkCovariance(), CachingVertex< N >::tracks(), and z.
Referenced by invariantMass().