1 #ifndef TauTagTools_PFCandCommonVertexFitter_h 2 #define TauTagTools_PFCandCommonVertexFitter_h 21 namespace reco {
class VertexCompositeCandidate; }
33 void fill(std::vector<reco::TransientTrack> &,
34 std::vector<reco::Candidate *> &,
35 std::vector<reco::RecoCandidate::TrackType> &,
38 const std::vector<reco::TransientTrack> &)
const = 0;
43 template<
typename Fitter>
52 const std::vector<reco::TransientTrack> &
tracks)
const override {
54 vertex = fitter_.vertex(tracks);
56 std::cerr <<
">>> exception thrown by KalmanVertexFitter:\n" 58 <<
">>> candidate not fitted to common vertex" << std::endl;
bool fit(TransientVertex &vertex, const std::vector< reco::TransientTrack > &tracks) const override
virtual ~PFCandCommonVertexFitterBase()
math::Error< dimension >::type CovarianceMatrix
covariance error matrix (3x3)
PFCandCommonVertexFitterBase(const edm::ParameterSet &)
PFCandCommonVertexFitter(const edm::ParameterSet &cfg)
reco::Vertex::CovarianceMatrix CovarianceMatrix
const MagneticField * bField_