#include <AdaptiveChisquarePrimaryVertexFitter.h>
Classes | |
struct | TrackInfo |
Public Types | |
using | Error3 = ROOT::Math::SMatrix< double, 3 > |
Public Member Functions | |
AdaptiveChisquarePrimaryVertexFitter (double chicutoff=2.5, double zcutoff=1.0, double mintrkweight=0.4, bool multivertexfit=false) | |
std::vector< TransientVertex > | fit (const std::vector< reco::TransientTrack > &, const std::vector< TransientVertex > &, const reco::BeamSpot &, const bool) override |
~AdaptiveChisquarePrimaryVertexFitter () override=default | |
Public Member Functions inherited from PrimaryVertexFitterBase | |
PrimaryVertexFitterBase (const edm::ParameterSet &conf) | |
PrimaryVertexFitterBase () | |
virtual | ~PrimaryVertexFitterBase ()=default |
Protected Member Functions | |
bool | clean () |
void | fill_trackinfo (const std::vector< reco::TransientTrack > &, const reco::BeamSpot &) |
void | fill_weights (const reco::BeamSpot &, const double beta=1.) |
Error3 | get_inverse_beam_covariance (const reco::BeamSpot &) |
TransientVertex | get_TransientVertex (const unsigned int, const std::vector< std::pair< unsigned int, float >> &, const std::vector< reco::TransientTrack > &, const float, const reco::BeamSpot &) |
void | make_vtx_trk_map (const double) |
TransientVertex | refit (const TransientVertex &, const reco::BeamSpot &, const bool) |
void | remove_vertex (unsigned int) |
double | track_in_vertex_chsq (const TrackInfo &, const double, const double, const double) |
double | update (const reco::BeamSpot &, float beam_weight, const bool fill_covariances=false) |
void | verify () |
std::vector< TransientVertex > | vertices (const std::vector< reco::TransientTrack > &, const std::vector< TransientVertex > &, const reco::BeamSpot &, const bool) |
Protected Attributes | |
double | chi_cutoff_ |
std::vector< Error3 > | covv_ |
double | min_trackweight_ |
double | multivertexfit_ |
std::vector< unsigned int > | tkfirstv_ |
std::vector< unsigned int > | tkmap_ |
std::vector< double > | tkweight_ |
std::vector< TrackInfo > | trackinfo_ |
std::vector< double > | xv_ |
std::vector< double > | yv_ |
double | z_cutoff_ |
std::vector< double > | zv_ |
Description: simultaneous chisquared fit of primary vertices
Definition at line 15 of file AdaptiveChisquarePrimaryVertexFitter.h.
using AdaptiveChisquarePrimaryVertexFitter::Error3 = ROOT::Math::SMatrix<double, 3> |
Definition at line 28 of file AdaptiveChisquarePrimaryVertexFitter.h.
AdaptiveChisquarePrimaryVertexFitter::AdaptiveChisquarePrimaryVertexFitter | ( | double | chicutoff = 2.5 , |
double | zcutoff = 1.0 , |
||
double | mintrkweight = 0.4 , |
||
bool | multivertexfit = false |
||
) |
Definition at line 8 of file AdaptiveChisquarePrimaryVertexFitter.cc.
References chi_cutoff_, min_trackweight_, multivertexfit_, and z_cutoff_.
|
overridedefault |
|
protected |
Definition at line 177 of file AdaptiveChisquarePrimaryVertexFitter.cc.
References funct::abs(), PVValHelper::dz, dqmiolumiharvest::j, dqmdumpme::k, SiStripPI::min, remove_vertex(), tkfirstv_, tkweight_, xv_, and zv_.
Referenced by vertices().
|
protected |
Definition at line 34 of file AdaptiveChisquarePrimaryVertexFitter.cc.
References AdaptiveChisquarePrimaryVertexFitter::TrackInfo::b1, AdaptiveChisquarePrimaryVertexFitter::TrackInfo::b2, AdaptiveChisquarePrimaryVertexFitter::TrackInfo::C, AdaptiveChisquarePrimaryVertexFitter::TrackInfo::dzError, PerigeeConversions::ftsToPerigeeError(), AdaptiveChisquarePrimaryVertexFitter::TrackInfo::g, AdaptiveChisquarePrimaryVertexFitter::TrackInfo::H1, AdaptiveChisquarePrimaryVertexFitter::TrackInfo::H2, dqmdumpme::k, MainPageGenerator::l, AdaptiveChisquarePrimaryVertexFitter::TrackInfo::S11, AdaptiveChisquarePrimaryVertexFitter::TrackInfo::S12, AdaptiveChisquarePrimaryVertexFitter::TrackInfo::S22, trackinfo_, DiMuonV_cfg::tracks, and AdaptiveChisquarePrimaryVertexFitter::TrackInfo::zpca.
Referenced by refit(), and vertices().
|
protected |
Definition at line 141 of file AdaptiveChisquarePrimaryVertexFitter.cc.
References cms::cuda::assert(), HLT_2024v13_cff::beta, chi_cutoff_, MillePedeFileConverter_cfg::e, mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, nt, tkfirstv_, tkmap_, tkweight_, track_in_vertex_chsq(), trackinfo_, xv_, yv_, and zv_.
Referenced by refit(), and vertices().
|
overridevirtual |
Implements PrimaryVertexFitterBase.
Definition at line 526 of file AdaptiveChisquarePrimaryVertexFitter.cc.
References bsc_activity_cfg::clusters, multivertexfit_, FSQDQM_cfi::pvs, refit(), DiMuonV_cfg::tracks, HLT_2024v13_cff::useBeamConstraint, and vertices().
Referenced by trackingPlots.Iteration::modules().
|
protected |
Definition at line 327 of file AdaptiveChisquarePrimaryVertexFitter.cc.
References funct::pow().
Referenced by get_TransientVertex(), and update().
|
protected |
Definition at line 343 of file AdaptiveChisquarePrimaryVertexFitter.cc.
References nano_mu_local_reco_cff::chi2, covv_, PVValHelper::dx, PVValHelper::dy, PVValHelper::dz, get_inverse_beam_covariance(), mps_fire::i, dqmdumpme::k, min_trackweight_, ntuplemaker::posError, track_in_vertex_chsq(), trackinfo_, DiMuonV_cfg::tracks, L1BJetProducer_cff::vtx, xv_, yv_, and zv_.
Referenced by refit(), and vertices().
|
protected |
Definition at line 93 of file AdaptiveChisquarePrimaryVertexFitter.cc.
References funct::abs(), mps_fire::i, dqmdumpme::k, nt, tkfirstv_, tkmap_, tkweight_, trackinfo_, xv_, yv_, z_cutoff_, OfflinePixel3DPrimaryVertices_cfi::zrange, and zv_.
Referenced by vertices().
|
protected |
Definition at line 474 of file AdaptiveChisquarePrimaryVertexFitter.cc.
References HLTObjectsMonitor_cfi::beamspot, covv_, dumpMFGeometry_cfg::delta, fill_trackinfo(), fill_weights(), get_TransientVertex(), mps_fire::i, nt, TransientVertex::originalTracks(), TransientVertex::position(), tkfirstv_, tkmap_, tkweight_, update(), HLT_2024v13_cff::useBeamConstraint, xv_, yv_, PV3DBase< T, PVType, FrameType >::z(), and zv_.
Referenced by fit().
|
protected |
Definition at line 220 of file AdaptiveChisquarePrimaryVertexFitter.cc.
References covv_, dqmdumpme::k, tkfirstv_, tkmap_, tkweight_, xv_, yv_, and zv_.
Referenced by clean().
|
protected |
Definition at line 21 of file AdaptiveChisquarePrimaryVertexFitter.cc.
References cms::cuda::assert(), AdaptiveChisquarePrimaryVertexFitter::TrackInfo::b1, AdaptiveChisquarePrimaryVertexFitter::TrackInfo::b2, AdaptiveChisquarePrimaryVertexFitter::TrackInfo::H1, AdaptiveChisquarePrimaryVertexFitter::TrackInfo::H2, AdaptiveChisquarePrimaryVertexFitter::TrackInfo::S11, AdaptiveChisquarePrimaryVertexFitter::TrackInfo::S12, and AdaptiveChisquarePrimaryVertexFitter::TrackInfo::S22.
Referenced by fill_weights(), and get_TransientVertex().
|
protected |
Definition at line 246 of file AdaptiveChisquarePrimaryVertexFitter.cc.
References funct::abs(), HltBtagPostValidation_cff::c, covv_, MillePedeFileConverter_cfg::e, get_inverse_beam_covariance(), mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, MainPageGenerator::l, SiStripPI::max, nt, tkfirstv_, tkmap_, tkweight_, trackinfo_, w(), xv_, yv_, and zv_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), MatrixUtil.Steps::overwrite(), refit(), and vertices().
|
inlineprotected |
Definition at line 31 of file AdaptiveChisquarePrimaryVertexFitter.h.
References cms::cuda::assert(), mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, nt, tkfirstv_, tkmap_, tkweight_, trackinfo_, xv_, yv_, and zv_.
|
protected |
Definition at line 384 of file AdaptiveChisquarePrimaryVertexFitter.cc.
References clean(), bsc_activity_cfg::clusters, covv_, dumpMFGeometry_cfg::delta, fill_trackinfo(), fill_weights(), get_TransientVertex(), mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, make_vtx_trk_map(), FSQDQM_cfi::pvs, tkfirstv_, tkmap_, tkweight_, trackinfo_, DiMuonV_cfg::tracks, update(), HLT_2024v13_cff::useBeamConstraint, xv_, yv_, and zv_.
Referenced by fit().
|
protected |
Definition at line 93 of file AdaptiveChisquarePrimaryVertexFitter.h.
Referenced by AdaptiveChisquarePrimaryVertexFitter(), and fill_weights().
|
protected |
Definition at line 87 of file AdaptiveChisquarePrimaryVertexFitter.h.
Referenced by get_TransientVertex(), refit(), remove_vertex(), update(), and vertices().
|
protected |
Definition at line 95 of file AdaptiveChisquarePrimaryVertexFitter.h.
Referenced by AdaptiveChisquarePrimaryVertexFitter(), and get_TransientVertex().
|
protected |
Definition at line 96 of file AdaptiveChisquarePrimaryVertexFitter.h.
Referenced by AdaptiveChisquarePrimaryVertexFitter(), and fit().
|
protected |
Definition at line 89 of file AdaptiveChisquarePrimaryVertexFitter.h.
Referenced by clean(), fill_weights(), make_vtx_trk_map(), refit(), remove_vertex(), update(), verify(), and vertices().
|
protected |
Definition at line 90 of file AdaptiveChisquarePrimaryVertexFitter.h.
Referenced by fill_weights(), make_vtx_trk_map(), refit(), remove_vertex(), update(), verify(), and vertices().
|
protected |
Definition at line 91 of file AdaptiveChisquarePrimaryVertexFitter.h.
Referenced by clean(), fill_weights(), make_vtx_trk_map(), refit(), remove_vertex(), update(), verify(), and vertices().
|
protected |
Definition at line 81 of file AdaptiveChisquarePrimaryVertexFitter.h.
Referenced by fill_trackinfo(), fill_weights(), get_TransientVertex(), make_vtx_trk_map(), update(), verify(), and vertices().
|
protected |
Definition at line 84 of file AdaptiveChisquarePrimaryVertexFitter.h.
Referenced by clean(), fill_weights(), get_TransientVertex(), make_vtx_trk_map(), refit(), remove_vertex(), update(), verify(), and vertices().
|
protected |
Definition at line 85 of file AdaptiveChisquarePrimaryVertexFitter.h.
Referenced by fill_weights(), get_TransientVertex(), make_vtx_trk_map(), refit(), remove_vertex(), update(), verify(), and vertices().
|
protected |
Definition at line 94 of file AdaptiveChisquarePrimaryVertexFitter.h.
Referenced by AdaptiveChisquarePrimaryVertexFitter(), and make_vtx_trk_map().
|
protected |
Definition at line 86 of file AdaptiveChisquarePrimaryVertexFitter.h.
Referenced by clean(), fill_weights(), get_TransientVertex(), make_vtx_trk_map(), refit(), remove_vertex(), update(), verify(), and vertices().