Definition at line 9 of file CandCommonVertexFitter.cc.
References cms::cuda::assert(), c, BPhysicsValidation_cfi::daughters, HCALHighEnergyHPDFilter_cfi::energy, reco::Candidate::energy(), Exception, ntuplemaker::fill, L1TowerCalibrationProducer_cfi::fit, edm::errors::InvalidReference, EgHLTOffHistBins_cfi::mass, reco::Candidate::mass(), AlCaHLTBitMon_ParallelJobs::p, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, reco::RecoCandidate::recoTrackType, L1EGammaClusterEmuProducer_cfi::scale, reco::Candidate::setP4(), reco::Candidate::setVertex(), mathSSE::sqrt(), HLT_2022v11_cff::track, tracks, findQualityFiles::v, bphysicsOniaDQM_cfi::vertex, and extraflags_cff::vtx.
12 <<
"B-Field was not set up CandCommonVertexFitter.\n" 13 <<
"the following method must be called before fitting a candidate:\n" 14 <<
" CandCommonVertexFitter:.set( const MagneticField * )" << endl;
15 vector<TransientTrack>
tracks;
17 vector<RecoCandidate::TrackType> trackTypes;
25 vector<TransientTrack>::const_iterator trackIt =
tracks.begin(), tracksEnd =
tracks.end();
26 vector<Candidate *>::const_iterator daughterIt =
daughters.begin();
27 vector<RecoCandidate::TrackType>::const_iterator trackTypeIt = trackTypes.begin();
29 for (; trackIt != tracksEnd; ++trackIt, ++daughterIt, ++trackTypeIt) {
35 if (*trackTypeIt == RecoCandidate::recoTrackType) {
53 c.setCovariance(
cov_);
const MagneticField * bField_
virtual double energy() const =0
energy
virtual void setP4(const LorentzVector &p4)=0
set 4-momentum
virtual double mass() const =0
mass
reco::Vertex::CovarianceMatrix CovarianceMatrix
void fill(std::vector< reco::TransientTrack > &, std::vector< reco::Candidate *> &, std::vector< reco::RecoCandidate::TrackType > &, reco::Candidate &) const
CovarianceMatrix cov_
covariance matrix (3x3)
virtual void setVertex(const Point &vertex)=0
set vertex
auto const & tracks
cannot be loose
double ndof_
number of degrees of freedom
math::XYZTLorentzVector LorentzVector
Lorentz vector.
math::XYZPoint Point
point in the space
virtual bool fit(TransientVertex &, const std::vector< reco::TransientTrack > &) const =0