RecoVertex
GhostTrackFitter
interface
PositiveSideGhostTrackFitter.h
Go to the documentation of this file.
1
#ifndef RecoBTag_PositiveSideGhostTrackFitter_h
2
#define RecoBTag_PositiveSideGhostTrackFitter_h
3
4
#include <memory>
5
#include <vector>
6
7
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
8
9
#include "
RecoVertex/GhostTrackFitter/interface/GhostTrackFitter.h
"
10
11
namespace
reco
{
12
13
class
GhostTrackPredictioon;
14
class
GhostTrackState;
15
16
class
PositiveSideGhostTrackFitter
:
public
GhostTrackFitter::FitterImpl
{
17
public
:
18
PositiveSideGhostTrackFitter
(
const
GlobalPoint
&origin,
const
GhostTrackFitter::FitterImpl
&actualFitter)
19
:
origin_
(origin),
actualFitter_
(actualFitter.
clone
()) {}
20
~PositiveSideGhostTrackFitter
()
override
{}
21
22
PositiveSideGhostTrackFitter
(
const
PositiveSideGhostTrackFitter
&orig)
23
:
origin_
(orig.
origin_
),
actualFitter_
(orig.
actualFitter_
->
clone
()) {}
24
25
GhostTrackPrediction
fit
(
const
GhostTrackFitter::PredictionUpdater
&updater,
26
const
GhostTrackPrediction
&
prior
,
27
std::vector<GhostTrackState> &states,
28
double
&
ndof
,
29
double
&
chi2
)
override
;
30
31
private
:
32
FitterImpl *
clone
()
const override
{
return
new
PositiveSideGhostTrackFitter
(*
this
); }
33
34
GlobalPoint
origin_
;
35
std::unique_ptr<GhostTrackFitter::FitterImpl>
actualFitter_
;
36
};
37
38
}
// namespace reco
39
40
#endif // RecoBTag_PositiveSideGhostTrackFitter_h
reco::GhostTrackFitter::PredictionUpdater
Definition:
GhostTrackFitter.h:42
reco::PositiveSideGhostTrackFitter::PositiveSideGhostTrackFitter
PositiveSideGhostTrackFitter(const GlobalPoint &origin, const GhostTrackFitter::FitterImpl &actualFitter)
Definition:
PositiveSideGhostTrackFitter.h:18
GhostTrackFitter.h
reco::PositiveSideGhostTrackFitter::clone
FitterImpl * clone() const override
Definition:
PositiveSideGhostTrackFitter.h:32
reco::PositiveSideGhostTrackFitter::~PositiveSideGhostTrackFitter
~PositiveSideGhostTrackFitter() override
Definition:
PositiveSideGhostTrackFitter.h:20
reco::PositiveSideGhostTrackFitter
Definition:
PositiveSideGhostTrackFitter.h:16
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
hltPixelTracks_cff.chi2
chi2
Definition:
hltPixelTracks_cff.py:25
ndof
Definition:
HIMultiTrackSelector.h:49
reco::GhostTrackFitter::FitterImpl
Definition:
GhostTrackFitter.h:60
reco::PositiveSideGhostTrackFitter::origin_
GlobalPoint origin_
Definition:
PositiveSideGhostTrackFitter.h:34
reco::PositiveSideGhostTrackFitter::actualFitter_
std::unique_ptr< GhostTrackFitter::FitterImpl > actualFitter_
Definition:
PositiveSideGhostTrackFitter.h:35
reco::PositiveSideGhostTrackFitter::fit
GhostTrackPrediction fit(const GhostTrackFitter::PredictionUpdater &updater, const GhostTrackPrediction &prior, std::vector< GhostTrackState > &states, double &ndof, double &chi2) override
Definition:
PositiveSideGhostTrackFitter.cc:15
bookConverter.prior
prior
Definition:
bookConverter.py:146
reco::PositiveSideGhostTrackFitter::PositiveSideGhostTrackFitter
PositiveSideGhostTrackFitter(const PositiveSideGhostTrackFitter &orig)
Definition:
PositiveSideGhostTrackFitter.h:22
math::GlobalPoint
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
Definition:
Point3D.h:18
reco::GhostTrackPrediction
Definition:
GhostTrackPrediction.h:21
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.16