RecoBTag
BTagTools
interface
SignedImpactParameter3D.h
Go to the documentation of this file.
1
#ifndef _BTAGGER_SIGNEDIMPACTPARAMETER3D_H_
2
#define _BTAGGER_SIGNEDIMPACTPARAMETER3D_H_
3
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
4
#include "
DataFormats/GeometryCommonDetAlgo/interface/Measurement1D.h
"
5
#include "
TrackingTools/TransientTrack/interface/TransientTrack.h
"
6
#include "
DataFormats/VertexReco/interface/Vertex.h
"
7
#include "
DataFormats/GeometryVector/interface/GlobalVector.h
"
8
#include <utility>
13
class
SignedImpactParameter3D
{
14
public
:
15
// construct
16
17
SignedImpactParameter3D
(){};
18
19
std::pair<bool, Measurement1D>
apply
(
const
reco::TransientTrack
&,
20
const
GlobalVector
&direction,
21
const
reco::Vertex
&
vertex
)
const
;
22
23
int
id
()
const
{
return
2; }
24
30
static
std::pair<double, Measurement1D>
distanceWithJetAxis
(
const
reco::TransientTrack
&transientTrack,
31
const
GlobalVector
&direction,
32
const
reco::Vertex
&
vertex
);
33
34
private
:
35
static
GlobalVector
distance
(
const
TrajectoryStateOnSurface
&,
const
reco::Vertex
&,
const
GlobalVector
&);
36
37
static
TrajectoryStateOnSurface
closestApproachToJet
(
const
FreeTrajectoryState
&,
38
const
reco::Vertex
&,
39
const
GlobalVector
&,
40
const
MagneticField
*);
41
};
42
43
#endif
Vector3DBase
Definition:
Vector3DBase.h:8
TrajectoryStateOnSurface.h
SignedImpactParameter3D
Definition:
SignedImpactParameter3D.h:13
SignedImpactParameter3D::SignedImpactParameter3D
SignedImpactParameter3D()
Definition:
SignedImpactParameter3D.h:17
SignedImpactParameter3D::closestApproachToJet
static TrajectoryStateOnSurface closestApproachToJet(const FreeTrajectoryState &, const reco::Vertex &, const GlobalVector &, const MagneticField *)
Definition:
SignedImpactParameter3D.cc:79
Measurement1D.h
TransientTrack.h
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
SignedImpactParameter3D::id
int id() const
Definition:
SignedImpactParameter3D.h:23
SignedImpactParameter3D::apply
std::pair< bool, Measurement1D > apply(const reco::TransientTrack &, const GlobalVector &direction, const reco::Vertex &vertex) const
Definition:
SignedImpactParameter3D.cc:17
Vertex.h
bphysicsOniaDQM_cfi.vertex
vertex
Definition:
bphysicsOniaDQM_cfi.py:7
reco::TransientTrack
Definition:
TransientTrack.h:19
FreeTrajectoryState
Definition:
FreeTrajectoryState.h:27
SignedImpactParameter3D::distanceWithJetAxis
static std::pair< double, Measurement1D > distanceWithJetAxis(const reco::TransientTrack &transientTrack, const GlobalVector &direction, const reco::Vertex &vertex)
Definition:
SignedImpactParameter3D.cc:108
GlobalVector.h
SignedImpactParameter3D::distance
static GlobalVector distance(const TrajectoryStateOnSurface &, const reco::Vertex &, const GlobalVector &)
Definition:
SignedImpactParameter3D.cc:94
MagneticField
Definition:
MagneticField.h:19
reco::Vertex
Definition:
Vertex.h:35
Generated for CMSSW Reference Manual by
1.8.16