CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
InvariantMassFromVertex.h
Go to the documentation of this file.
1 #ifndef InvariantMassFromVertex_H
2 #define InvariantMassFromVertex_H
3 
4 // #include "RecoVertex/KinematicFitPrimitives/interface/RefCountedKinematicTree.h"
5 // #include "RecoVertex/KinematicFitPrimitives/interface/KinematicVertexFactory.h"
6 // #include "RecoVertex/KinematicFitPrimitives/interface/VirtualKinematicParticleFactory.h"
8 // #include "RecoVertex/KinematicFitPrimitives/interface/KinematicRefittedTrackState.h"
9 // #include "RecoVertex/KinematicFitPrimitives/interface/Matrices.h"
12 #include "Math/Vector4D.h"
14 
21 
22 public:
23  typedef ROOT::Math::PxPyPzMVector LorentzVector;
24 
26  const std::vector<double> & masses) const;
27 
29  const double mass) const;
30 
34  LorentzVector p4 (const CachingVertex<5>& vertex,
35  const std::vector<double> & masses) const;
36 
40  LorentzVector p4 (const CachingVertex<5>& vertex,
41  const double mass) const;
42 
43  GlobalVector momentum(const CachingVertex<5>& vertex) const;
44 
45 
46 private:
47 
51 
52  double uncertainty(const LorentzVector & p4, const CachingVertex<5>& vertex,
53  const std::vector<double> & masses) const;
54 };
55 
56 #endif
ROOT::Math::PxPyPzMVector LorentzVector
ReferenceCountingPointer< VertexTrack< 5 > > RefCountedVertexTrack
ReferenceCountingPointer< RefittedTrackState< 5 > > RefCountedRefittedTrackState
LorentzVector p4(const CachingVertex< 5 > &vertex, const std::vector< double > &masses) const
double uncertainty(const LorentzVector &p4, const CachingVertex< 5 > &vertex, const std::vector< double > &masses) const
GlobalVector momentum(const CachingVertex< 5 > &vertex) const
tuple mass
Definition: scaleCards.py:27
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState
Measurement1D invariantMass(const CachingVertex< 5 > &vertex, const std::vector< double > &masses) const