#include <CandKinematicVertexFitter.h>
Public Types | |
typedef reco::Vertex::CovarianceMatrix | CovarianceMatrix |
Public Member Functions | |
CandKinematicVertexFitter (const edm::ParameterSet &cfg) | |
CandKinematicVertexFitter (const CandKinematicVertexFitter &o) | |
RefCountedKinematicParticle | currentParticle () const |
bool | fit (const std::vector< RefCountedKinematicParticle > &tracks) const |
void | set (const MagneticField *bField) |
void | set (const ParticleDataTable *pdt) |
void | set (reco::VertexCompositeCandidate &) const |
Private Member Functions | |
void | fill (std::vector< RefCountedKinematicParticle > &, std::vector< reco::Candidate * > &, std::vector< reco::RecoCandidate::TrackType > &, reco::Candidate &) const |
Private Attributes | |
const MagneticField * | bField_ |
double | chi2_ |
chi-sqared More... | |
CovarianceMatrix | cov_ |
covariance matrix (3x3) More... | |
KinematicParticleFactoryFromTransientTrack | factory_ |
particle factor More... | |
KinematicParticleVertexFitter | fitter_ |
fitter More... | |
boost::shared_ptr< std::vector < CandKinematicVertexFitter > > | fitters_ |
fitters used for recursive calls More... | |
double | ndof_ |
number of degrees of freedom More... | |
const ParticleDataTable * | pdt_ |
RefCountedKinematicTree | tree_ |
fit tree More... | |
Definition at line 23 of file CandKinematicVertexFitter.h.
Definition at line 25 of file CandKinematicVertexFitter.h.
|
inline |
Definition at line 26 of file CandKinematicVertexFitter.h.
|
inline |
Definition at line 29 of file CandKinematicVertexFitter.h.
|
inline |
Definition at line 36 of file CandKinematicVertexFitter.h.
References tree_.
|
private |
Definition at line 98 of file CandKinematicVertexFitter.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, cond::rpcobimon::current, ztail::d, AlCaHLTBitMon_QueryRunRegistry::data, reco::Candidate::daughter(), Exception, lumiContext::fill, KinematicParticleFitter::fit(), reco::Candidate::get(), edm::errors::InvalidReference, edm::Ref< C, T, F >::isNull(), j, reco::Candidate::mass(), reco::LeafCandidate::massConstraint(), python.rootplot.argparse::message, ndof, reco::RecoCandidate::noTrackType, reco::Candidate::numberOfDaughters(), reco::Candidate::pdgId(), reco::LeafCandidate::pdgId(), and reco::VertexCompositeCandidate::vertexChi2().
bool CandKinematicVertexFitter::fit | ( | const std::vector< RefCountedKinematicParticle > & | tracks | ) | const |
Definition at line 15 of file CandKinematicVertexFitter.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, and cppFunctionSkipper::exception.
|
inline |
Definition at line 32 of file CandKinematicVertexFitter.h.
References ecalTB2006H4_GenSimDigiReco_cfg::bField, and bField_.
Referenced by betterConfigParser.BetterConfigParser::getGeneral(), and reco::modules::CandKinematicVertexFitterEventSetupInit::init().
|
inline |
Definition at line 33 of file CandKinematicVertexFitter.h.
References pdt_.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
void CandKinematicVertexFitter::set | ( | reco::VertexCompositeCandidate & | c | ) | const |
Definition at line 31 of file CandKinematicVertexFitter.cc.
References assert(), GlobalErrorBase< T, ErrorWeightType >::cxx(), GlobalErrorBase< T, ErrorWeightType >::cyx(), GlobalErrorBase< T, ErrorWeightType >::cyy(), GlobalErrorBase< T, ErrorWeightType >::czx(), GlobalErrorBase< T, ErrorWeightType >::czy(), GlobalErrorBase< T, ErrorWeightType >::czz(), relval_parameters_module::energy, reco::Candidate::energy(), Exception, lumiContext::fill, reco::RecoCandidate::gsfTrackType, edm::errors::InvalidReference, reco::Candidate::longLived(), PV3DBase< T, PVType, FrameType >::mag(), AlCaHLTBitMon_ParallelJobs::p, p3, pileupReCalc_HLTpaths::scale, reco::VertexCompositeCandidate::setChi2AndNdof(), reco::VertexCompositeCandidate::setCovariance(), reco::Candidate::setP4(), reco::LeafCandidate::setP4(), reco::Candidate::setVertex(), reco::LeafCandidate::setVertex(), mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
private |
Definition at line 41 of file CandKinematicVertexFitter.h.
Referenced by set().
|
mutableprivate |
chi-sqared
Definition at line 54 of file CandKinematicVertexFitter.h.
|
mutableprivate |
covariance matrix (3x3)
Definition at line 58 of file CandKinematicVertexFitter.h.
|
private |
particle factor
Definition at line 52 of file CandKinematicVertexFitter.h.
|
private |
fitter
Definition at line 48 of file CandKinematicVertexFitter.h.
|
private |
fitters used for recursive calls
Definition at line 60 of file CandKinematicVertexFitter.h.
|
mutableprivate |
number of degrees of freedom
Definition at line 56 of file CandKinematicVertexFitter.h.
|
private |
Definition at line 42 of file CandKinematicVertexFitter.h.
Referenced by set().
|
mutableprivate |
fit tree
Definition at line 50 of file CandKinematicVertexFitter.h.
Referenced by currentParticle().