RecoVertex
VertexTools
interface
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"
7
#include "
RecoVertex/VertexPrimitives/interface/CachingVertex.h
"
8
// #include "RecoVertex/KinematicFitPrimitives/interface/KinematicRefittedTrackState.h"
9
// #include "RecoVertex/KinematicFitPrimitives/interface/Matrices.h"
10
#include "
DataFormats/GeometryCommonDetAlgo/interface/Measurement1D.h
"
11
#include "
DataFormats/Math/interface/LorentzVector.h
"
12
#include "Math/Vector4D.h"
13
#include "
DataFormats/CLHEP/interface/AlgebraicObjects.h
"
14
20
class
InvariantMassFromVertex
{
21
public
:
22
typedef
ROOT::Math::PxPyPzMVector
LorentzVector
;
23
24
Measurement1D
invariantMass
(
const
CachingVertex<5>
&
vertex
,
const
std::vector<double>&
masses
)
const
;
25
26
Measurement1D
invariantMass
(
const
CachingVertex<5>
&
vertex
,
const
double
mass
)
const
;
27
31
LorentzVector
p4
(
const
CachingVertex<5>
&
vertex
,
const
std::vector<double>&
masses
)
const
;
32
36
LorentzVector
p4
(
const
CachingVertex<5>
&
vertex
,
const
double
mass
)
const
;
37
38
GlobalVector
momentum
(
const
CachingVertex<5>
&
vertex
)
const
;
39
40
private
:
41
typedef
ReferenceCountingPointer<VertexTrack<5>
>
RefCountedVertexTrack
;
42
typedef
ReferenceCountingPointer<LinearizedTrackState<5>
>
RefCountedLinearizedTrackState
;
43
typedef
ReferenceCountingPointer<RefittedTrackState<5>
>
RefCountedRefittedTrackState
;
44
45
double
uncertainty
(
const
LorentzVector
&
p4
,
const
CachingVertex<5>
&
vertex
,
const
std::vector<double>&
masses
)
const
;
46
};
47
48
#endif
Vector3DBase
Definition:
Vector3DBase.h:8
InvariantMassFromVertex::LorentzVector
ROOT::Math::PxPyPzMVector LorentzVector
Definition:
InvariantMassFromVertex.h:22
Measurement1D
Definition:
Measurement1D.h:11
InvariantMassFromVertex::RefCountedRefittedTrackState
ReferenceCountingPointer< RefittedTrackState< 5 > > RefCountedRefittedTrackState
Definition:
InvariantMassFromVertex.h:43
AlgebraicObjects.h
CachingVertex< 5 >
InvariantMassFromVertex::p4
LorentzVector p4(const CachingVertex< 5 > &vertex, const std::vector< double > &masses) const
Definition:
InvariantMassFromVertex.cc:9
Measurement1D.h
InvariantMassFromVertex::uncertainty
double uncertainty(const LorentzVector &p4, const CachingVertex< 5 > &vertex, const std::vector< double > &masses) const
Definition:
InvariantMassFromVertex.cc:77
ReferenceCountingPointer
Definition:
ReferenceCounted.h:60
InvariantMassFromVertex::momentum
GlobalVector momentum(const CachingVertex< 5 > &vertex) const
Definition:
InvariantMassFromVertex.cc:35
InvariantMassFromVertex::RefCountedVertexTrack
ReferenceCountingPointer< VertexTrack< 5 > > RefCountedVertexTrack
Definition:
InvariantMassFromVertex.h:41
CachingVertex.h
InvariantMassFromVertex::invariantMass
Measurement1D invariantMass(const CachingVertex< 5 > &vertex, const std::vector< double > &masses) const
Definition:
InvariantMassFromVertex.cc:57
bphysicsOniaDQM_cfi.vertex
vertex
Definition:
bphysicsOniaDQM_cfi.py:7
LorentzVector.h
particleFlowDisplacedVertex_cfi.masses
masses
Definition:
particleFlowDisplacedVertex_cfi.py:80
InvariantMassFromVertex
Definition:
InvariantMassFromVertex.h:20
InvariantMassFromVertex::RefCountedLinearizedTrackState
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState
Definition:
InvariantMassFromVertex.h:42
EgHLTOffHistBins_cfi.mass
mass
Definition:
EgHLTOffHistBins_cfi.py:34
Generated for CMSSW Reference Manual by
1.8.16