#include <DAClusterizerInZ_vect.h>
Classes | |
struct | track_t |
struct | vertex_t |
Public Member Functions | |
double | beta0 (const double betamax, track_t const &tks, vertex_t const &y) const |
void | clear_vtx_range (track_t >racks, vertex_t &gvertices) const |
std::vector< std::vector < reco::TransientTrack > > | clusterize (const std::vector< reco::TransientTrack > &tracks) const override |
DAClusterizerInZ_vect (const edm::ParameterSet &conf) | |
void | dump (const double beta, const vertex_t &y, const track_t &tks, const int verbosity=0, const double rho0=0.) const |
track_t | fill (const std::vector< reco::TransientTrack > &tracks) const |
bool | merge (vertex_t &y, track_t &tks, double &beta) const |
bool | purge (vertex_t &, track_t &, double &, const double) const |
void | set_vtx_range (double beta, track_t >racks, vertex_t &gvertices) const |
bool | split (const double beta, track_t &t, vertex_t &y, double threshold=1.) const |
unsigned int | thermalize (double beta, track_t >racks, vertex_t &gvertices, const double delta_max, const double rho0=0.) const |
double | update (double beta, track_t >racks, vertex_t &gvertices, const double rho0=0, const bool updateTc=false) const |
void | verify (const vertex_t &v, const track_t &tks, unsigned int nv=999999, unsigned int nt=999999) const |
std::vector< TransientVertex > | vertices (const std::vector< reco::TransientTrack > &tracks) const |
Public Member Functions inherited from TrackClusterizerInZ | |
TrackClusterizerInZ () | |
TrackClusterizerInZ (const edm::ParameterSet &conf) | |
virtual | ~TrackClusterizerInZ () |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Private Attributes | |
double | betamax_ |
double | betapurge_ |
double | betastop_ |
unsigned int | convergence_mode_ |
double | coolingFactor_ |
double | d0CutOff_ |
double | delta_highT_ |
double | delta_lowT_ |
double | dzCutOff_ |
unsigned int | maxIterations_ |
double | mintrkweight_ |
double | sel_zrange_ |
double | uniquetrkminp_ |
double | uniquetrkweight_ |
double | vertexSize_ |
double | zdumpcenter_ |
double | zdumpwidth_ |
double | zmerge_ |
const double | zrange_min_ = 0.1 |
Description: separates event tracks into clusters along the beam line
Version which auto-vectorizes with gcc 4.6 or newer
Definition at line 21 of file DAClusterizerInZ_vect.h.
DAClusterizerInZ_vect::DAClusterizerInZ_vect | ( | const edm::ParameterSet & | conf | ) |
Definition at line 20 of file DAClusterizerInZ_vect.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), SiStripPI::max, and builder_last_value_cfg::Tmin.
double DAClusterizerInZ_vect::beta0 | ( | const double | betamax, |
track_t const & | tks, | ||
vertex_t const & | y | ||
) | const |
Definition at line 590 of file DAClusterizerInZ_vect.cc.
References a, b, gather_cfg::cout, PVValHelper::dx, DAClusterizerInZ_vect::track_t::dz2, DAClusterizerInZ_vect::track_t::getSize(), DAClusterizerInZ_vect::vertex_t::getSize(), mps_fire::i, isotrackApplyRegressor::k, log, nt, funct::pow(), DAClusterizerInZ_vect::track_t::tkwt, w(), DAClusterizerInZ_vect::track_t::zpca, and DAClusterizerInZ_vect::vertex_t::zvtx.
Definition at line 269 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::track_t::getSize(), DAClusterizerInZ_vect::vertex_t::getSize(), DAClusterizerInZ_vect::track_t::kmax, DAClusterizerInZ_vect::track_t::kmin, and nt.
|
overridevirtual |
Implements TrackClusterizerInZ.
Definition at line 974 of file DAClusterizerInZ_vect.cc.
References funct::abs(), HLT_FULL_cff::clusters, gather_cfg::cout, mps_fire::i, isotrackApplyRegressor::k, eostools::move(), position, MetAnalyzer::pv(), and beam_dqm_sourceclient-live_cfg::vertices.
void DAClusterizerInZ_vect::dump | ( | const double | beta, |
const vertex_t & | y, | ||
const track_t & | tks, | ||
const int | verbosity = 0 , |
||
const double | rho0 = 0. |
||
) | const |
Definition at line 1017 of file DAClusterizerInZ_vect.cc.
References a, b, HLT_FULL_cff::beta, gather_cfg::cout, TauDecayModes::dec, DAClusterizerInZ_vect::track_t::dz2, Measurement1D::error(), F(), DAClusterizerInZ_vect::track_t::getSize(), DAClusterizerInZ_vect::vertex_t::getSize(), reco::TrackBase::highPurity, mps_fire::i, listHistos::IP, dqmiolumiharvest::j, DAClusterizerInZ_vect::track_t::kmax, DAClusterizerInZ_vect::track_t::kmin, log, reco::HitPattern::MISSING_OUTER_HITS, nt, AlCaHLTBitMon_ParallelJobs::p, GeomDetEnumerators::PixelBarrel, DAClusterizerInZ_vect::vertex_t::rho, mathSSE::sqrt(), DAClusterizerInZ_vect::track_t::sum_Z, DAClusterizerInZ_vect::vertex_t::sw, DAClusterizerInZ_vect::vertex_t::swE, DAClusterizerInZ_vect::track_t::tkwt, DAClusterizerInZ_vect::track_t::tt, update, Measurement1D::value(), DAClusterizerInZ_vect::track_t::zpca, and DAClusterizerInZ_vect::vertex_t::zvtx.
DAClusterizerInZ_vect::track_t DAClusterizerInZ_vect::fill | ( | const std::vector< reco::TransientTrack > & | tracks | ) | const |
Definition at line 170 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::track_t::addItemSorted(), beam_dqm_sourceclient-live_cfg::beamSpot, relval_steps::beamspot, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), gather_cfg::cout, geometryDiff::epsilon, Measurement1D::error(), DAClusterizerInZ_vect::track_t::extractRaw(), DAClusterizerInZ_vect::track_t::getSize(), edm::isNotFinite(), SiStripPI::min, DAClusterizerInZ_vect::track_t::osumtkwt, position, funct::pow(), AlignmentPI::t_z, and Measurement1D::value().
|
static |
Definition at line 1170 of file DAClusterizerInZ_vect.cc.
References edm::ParameterSetDescription::add(), and edm::ParameterSetDescription::addUntracked().
Referenced by PrimaryVertexValidation::fillDescriptions(), and DAClusterizerInZT_vect::fillPSetDescription().
Definition at line 462 of file DAClusterizerInZ_vect.cc.
References cms::cuda::assert(), gather_cfg::cout, hlt_jetmet_dqm_QT_fromfile_cfg::critical, DAClusterizerInZ_vect::vertex_t::extractRaw(), DAClusterizerInZ_vect::vertex_t::getSize(), isotrackApplyRegressor::k, DAClusterizerInZ_vect::vertex_t::removeItem(), DAClusterizerInZ_vect::vertex_t::rho, DAClusterizerInZ_vect::vertex_t::sw, and DAClusterizerInZ_vect::vertex_t::zvtx.
bool DAClusterizerInZ_vect::purge | ( | vertex_t & | y, |
track_t & | tks, | ||
double & | rho0, | ||
const double | beta | ||
) | const |
Definition at line 511 of file DAClusterizerInZ_vect.cc.
References cms::cuda::assert(), gather_cfg::cout, DAClusterizerInZ_vect::track_t::dz2, gpuVertexFinder::eps, for(), DAClusterizerInZ_vect::track_t::getSize(), DAClusterizerInZ_vect::vertex_t::getSize(), mps_fire::i, isotrackApplyRegressor::k, reco::ParticleMasses::k0, DAClusterizerInZ_vect::track_t::kmax, DAClusterizerInZ_vect::track_t::kmin, nt, AlCaHLTBitMon_ParallelJobs::p, DAClusterizerInZ_vect::vertex_t::removeItem(), DAClusterizerInZ_vect::vertex_t::rho, DAClusterizerInZ_vect::track_t::sum_Z, DAClusterizerInZ_vect::track_t::tkwt, DAClusterizerInZ_vect::track_t::zpca, and DAClusterizerInZ_vect::vertex_t::zvtx.
void DAClusterizerInZ_vect::set_vtx_range | ( | double | beta, |
track_t & | gtracks, | ||
vertex_t & | gvertices | ||
) | const |
Definition at line 220 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::track_t::dz2, DAClusterizerInZ_vect::track_t::getSize(), DAClusterizerInZ_vect::vertex_t::getSize(), DAClusterizerInZ_vect::track_t::kmax, DAClusterizerInZ_vect::track_t::kmin, SiStripPI::max, SiStripPI::min, nt, mathSSE::sqrt(), DAClusterizerInZ_vect::track_t::zpca, and DAClusterizerInZ_vect::vertex_t::zvtx.
bool DAClusterizerInZ_vect::split | ( | const double | beta, |
track_t & | t, | ||
vertex_t & | y, | ||
double | threshold = 1. |
||
) | const |
Definition at line 641 of file DAClusterizerInZ_vect.cc.
References cms::cuda::assert(), gather_cfg::cout, hlt_jetmet_dqm_QT_fromfile_cfg::critical, DAClusterizerInZ_vect::track_t::dz2, alignCSCRings::e, geometryDiff::epsilon, DAClusterizerInZ_vect::vertex_t::extractRaw(), DAClusterizerInZ_vect::track_t::getSize(), DAClusterizerInZ_vect::vertex_t::getSize(), mps_fire::i, DAClusterizerInZ_vect::vertex_t::insertItem(), isotrackApplyRegressor::k, nt, AlCaHLTBitMon_ParallelJobs::p, fireworks::p1, fireworks::p2, DAClusterizerInZ_vect::vertex_t::rho, edm::second(), submitPVValidationJobs::split(), mathSSE::sqrt(), DAClusterizerInZ_vect::track_t::sum_Z, DAClusterizerInZ_vect::vertex_t::sw, DAClusterizerInZ_vect::vertex_t::swE, submitPVValidationJobs::t, DAClusterizerInZ_vect::track_t::tkwt, update, w(), w2, DAClusterizerInZ_vect::track_t::zpca, and DAClusterizerInZ_vect::vertex_t::zvtx.
unsigned int DAClusterizerInZ_vect::thermalize | ( | double | beta, |
track_t & | gtracks, | ||
vertex_t & | gvertices, | ||
const double | delta_max, | ||
const double | rho0 = 0. |
||
) | const |
Definition at line 414 of file DAClusterizerInZ_vect.cc.
References funct::abs(), gather_cfg::cout, CommonMethods::delta(), remoteMonitoring_LASER_era2018_cfg::dump, DAClusterizerInZ_vect::vertex_t::getSize(), isotrackApplyRegressor::k, SiStripPI::max, mathSSE::sqrt(), update, and DAClusterizerInZ_vect::vertex_t::zvtx_vec.
double DAClusterizerInZ_vect::update | ( | double | beta, |
track_t & | gtracks, | ||
vertex_t & | gvertices, | ||
const double | rho0 = 0 , |
||
const bool | updateTc = false |
||
) | const |
Definition at line 278 of file DAClusterizerInZ_vect.cc.
References funct::abs(), HLT_FULL_cff::beta, CommonMethods::delta(), DAClusterizerInZ_vect::vertex_t::exp, DAClusterizerInZ_vect::vertex_t::exp_arg, DAClusterizerInZ_vect::track_t::getSize(), DAClusterizerInZ_vect::vertex_t::getSize(), edm::isNotFinite(), isotrackApplyRegressor::k, DAClusterizerInZ_vect::track_t::kmax, DAClusterizerInZ_vect::track_t::kmin, SiStripPI::max, nt, DAClusterizerInZ_vect::track_t::osumtkwt, DAClusterizerInZ_vect::vertex_t::rho, DAClusterizerInZ_vect::vertex_t::se, DAClusterizerInZ_vect::track_t::sum_Z, DAClusterizerInZ_vect::vertex_t::sw, DAClusterizerInZ_vect::vertex_t::swE, DAClusterizerInZ_vect::vertex_t::swz, tracks, beam_dqm_sourceclient-live_cfg::vertices, and w().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
void DAClusterizerInZ_vect::verify | ( | const vertex_t & | v, |
const track_t & | tks, | ||
unsigned int | nv = 999999 , |
||
unsigned int | nt = 999999 |
||
) | const |
Definition at line 108 of file DAClusterizerInZ_vect.cc.
References cms::cuda::assert(), gather_cfg::cout, DAClusterizerInZ_vect::track_t::dz2, DAClusterizerInZ_vect::track_t::dz2_vec, DAClusterizerInZ_vect::vertex_t::exp_arg, DAClusterizerInZ_vect::vertex_t::exp_arg_vec, DAClusterizerInZ_vect::vertex_t::exp_vec, DAClusterizerInZ_vect::track_t::getSize(), DAClusterizerInZ_vect::vertex_t::getSize(), mps_fire::i, isotrackApplyRegressor::k, DAClusterizerInZ_vect::track_t::kmax, DAClusterizerInZ_vect::track_t::kmin, nt, DAClusterizerInZ_vect::vertex_t::rho, DAClusterizerInZ_vect::vertex_t::rho_vec, DAClusterizerInZ_vect::vertex_t::se, DAClusterizerInZ_vect::vertex_t::se_vec, DAClusterizerInZ_vect::track_t::sum_Z, DAClusterizerInZ_vect::track_t::sum_Z_vec, DAClusterizerInZ_vect::vertex_t::sw, DAClusterizerInZ_vect::vertex_t::sw_vec, DAClusterizerInZ_vect::vertex_t::swE, DAClusterizerInZ_vect::vertex_t::swE_vec, DAClusterizerInZ_vect::vertex_t::swz, DAClusterizerInZ_vect::vertex_t::swz_vec, DAClusterizerInZ_vect::track_t::tkwt, DAClusterizerInZ_vect::track_t::tkwt_vec, DAClusterizerInZ_vect::track_t::tt, DAClusterizerInZ_vect::track_t::zpca, DAClusterizerInZ_vect::track_t::zpca_vec, DAClusterizerInZ_vect::vertex_t::zvtx, and DAClusterizerInZ_vect::vertex_t::zvtx_vec.
vector< TransientVertex > DAClusterizerInZ_vect::vertices | ( | const std::vector< reco::TransientTrack > & | tracks | ) | const |
Definition at line 763 of file DAClusterizerInZ_vect.cc.
References a, DAClusterizerInZ_vect::vertex_t::addItem(), HLT_FULL_cff::beta, HLT_FULL_cff::clusters, gather_cfg::cout, remoteMonitoring_LASER_era2018_cfg::dump, DAClusterizerInZ_vect::track_t::dz2, alignCSCRings::e, relativeConstraints::empty, DAClusterizerInZ_vect::vertex_t::exp, DAClusterizerInZ_vect::vertex_t::exp_arg, DAClusterizerInZ_vect::track_t::extractRaw(), PVValHelper::fill(), DAClusterizerInZ_vect::track_t::getSize(), DAClusterizerInZ_vect::vertex_t::getSize(), mps_fire::i, edm::isNotFinite(), isotrackApplyRegressor::k, DAClusterizerInZ_vect::track_t::kmax, DAClusterizerInZ_vect::track_t::kmin, MatrixUtil::merge(), SiStripPI::min, nt, AlCaHLTBitMon_ParallelJobs::p, DAClusterizerInZ_vect::vertex_t::rho, submitPVValidationJobs::split(), mathSSE::sqrt(), DAClusterizerInZ_vect::track_t::sum_Z, dtDQMClient_cfg::threshold, DAClusterizerInZ_vect::track_t::tt, update, findQualityFiles::v, DAClusterizerInZ_vect::track_t::zpca, and DAClusterizerInZ_vect::vertex_t::zvtx.
|
private |
Definition at line 208 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 217 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 209 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 219 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 207 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 211 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 220 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 221 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 210 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 206 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 213 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 223 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 215 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 214 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 205 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 202 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 203 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 216 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 224 of file DAClusterizerInZ_vect.h.