Go to the documentation of this file. 1 #ifndef RecoCandUtils_CandCommonVertexFitter_h
2 #define RecoCandUtils_CandCommonVertexFitter_h
16 class VertexCompositeCandidate;
29 void fill(std::vector<reco::TransientTrack> &,
30 std::vector<reco::Candidate *> &,
31 std::vector<reco::RecoCandidate::TrackType> &,
33 virtual bool fit(
TransientVertex &,
const std::vector<reco::TransientTrack> &)
const = 0;
44 template <
typename Fitter>
53 std::cerr <<
">>> exception thrown by KalmanVertexFitter:\n"
55 <<
">>> candidate not fitted to common vertex" << std::endl;
double ndof_
number of degrees of freedom
math::Error< dimension >::type CovarianceMatrix
covariance error matrix (3x3)
void fill(std::vector< reco::TransientTrack > &, std::vector< reco::Candidate * > &, std::vector< reco::RecoCandidate::TrackType > &, reco::Candidate &) const
CandCommonVertexFitterBase(const edm::ParameterSet &)
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
CovarianceMatrix cov_
covariance matrix (3x3)
CandCommonVertexFitter(const edm::ParameterSet &cfg)
virtual bool fit(TransientVertex &, const std::vector< reco::TransientTrack > &) const =0
S make(const edm::ParameterSet &cfg)
virtual ~CandCommonVertexFitterBase()
reco::Vertex::CovarianceMatrix CovarianceMatrix
const MagneticField * bField_
bool fit(TransientVertex &vertex, const std::vector< reco::TransientTrack > &tracks) const override
void set(const MagneticField *bField)