#include <DAClusterizerInZT_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 |
DAClusterizerInZT_vect (const edm::ParameterSet &conf) | |
void | dump (const double beta, const vertex_t &y, const track_t &tks, const int verbosity=0) const |
track_t | fill (const std::vector< reco::TransientTrack > &tracks) const |
bool | find_nearest (double z, double t, vertex_t &y, unsigned int &k_min, double dz, double dt) const |
double | get_Tc (const vertex_t &y, int k) const |
bool | merge (vertex_t &, track_t &, 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 |
bool | zorder (vertex_t &y) 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 | dtCutOff_ |
double | dzCutOff_ |
unsigned int | maxIterations_ |
double | mintrkweight_ |
double | sel_zrange_ |
double | t0Max_ |
double | tmerge_ |
double | uniquetrkminp_ |
double | uniquetrkweight_ |
double | vertexSize_ |
double | vertexSizeTime_ |
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 25 of file DAClusterizerInZT_vect.h.
DAClusterizerInZT_vect::DAClusterizerInZT_vect | ( | const edm::ParameterSet & | conf | ) |
Definition at line 21 of file DAClusterizerInZT_vect.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), SiStripPI::max, and gpuVertexFinder::minT.
double DAClusterizerInZT_vect::beta0 | ( | const double | betamax, |
track_t const & | tks, | ||
vertex_t const & | y | ||
) | const |
Definition at line 828 of file DAClusterizerInZT_vect.cc.
References gather_cfg::cout, dt, DAClusterizerInZT_vect::track_t::dt2, PVValHelper::dz, DAClusterizerInZT_vect::track_t::dz2, DAClusterizerInZT_vect::track_t::getSize(), DAClusterizerInZT_vect::vertex_t::getSize(), mps_fire::i, isotrackApplyRegressor::k, log, nt, funct::pow(), mathSSE::sqrt(), DAClusterizerInZT_vect::track_t::tkwt, DAClusterizerInZT_vect::track_t::tpca, DAClusterizerInZT_vect::vertex_t::tvtx, w(), DAClusterizerInZT_vect::track_t::zpca, and DAClusterizerInZT_vect::vertex_t::zvtx.
Definition at line 340 of file DAClusterizerInZT_vect.cc.
References DAClusterizerInZT_vect::track_t::getSize(), DAClusterizerInZT_vect::vertex_t::getSize(), DAClusterizerInZT_vect::track_t::kmax, DAClusterizerInZT_vect::track_t::kmin, and nt.
|
overridevirtual |
Implements TrackClusterizerInZ.
Definition at line 1353 of file DAClusterizerInZT_vect.cc.
References HLT_FULL_cff::clusters, gather_cfg::cout, isotrackApplyRegressor::k, MetAnalyzer::pv(), and beam_dqm_sourceclient-live_cfg::vertices.
void DAClusterizerInZT_vect::dump | ( | const double | beta, |
const vertex_t & | y, | ||
const track_t & | tks, | ||
const int | verbosity = 0 |
||
) | const |
Definition at line 1382 of file DAClusterizerInZT_vect.cc.
References a, b, HLT_FULL_cff::beta, gather_cfg::cout, TauDecayModes::dec, DAClusterizerInZT_vect::track_t::dt2, DAClusterizerInZT_vect::track_t::dz2, Measurement1D::error(), F(), DAClusterizerInZT_vect::track_t::getSize(), DAClusterizerInZT_vect::vertex_t::getSize(), h, reco::TrackBase::highPurity, mps_fire::i, listHistos::IP, dqmiolumiharvest::j, DAClusterizerInZT_vect::track_t::kmax, DAClusterizerInZT_vect::track_t::kmin, log, reco::HitPattern::MISSING_OUTER_HITS, nt, AlCaHLTBitMon_ParallelJobs::p, GeomDetEnumerators::PixelBarrel, DAClusterizerInZT_vect::vertex_t::rho, mathSSE::sqrt(), DAClusterizerInZT_vect::track_t::sum_Z, DAClusterizerInZT_vect::track_t::tkwt, DAClusterizerInZT_vect::track_t::tpca, DAClusterizerInZT_vect::track_t::tt, DAClusterizerInZT_vect::vertex_t::tvtx, Measurement1D::value(), DAClusterizerInZT_vect::track_t::zpca, and DAClusterizerInZT_vect::vertex_t::zvtx.
DAClusterizerInZT_vect::track_t DAClusterizerInZT_vect::fill | ( | const std::vector< reco::TransientTrack > & | tracks | ) | const |
Definition at line 206 of file DAClusterizerInZT_vect.cc.
References funct::abs(), DAClusterizerInZT_vect::track_t::addItem(), relval_steps::beamspot, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), gather_cfg::cout, geometryDiff::epsilon, Measurement1D::error(), DAClusterizerInZT_vect::track_t::extractRaw(), DAClusterizerInZT_vect::track_t::getSize(), edm::isNotFinite(), SiStripPI::min, DAClusterizerInZT_vect::track_t::osumtkwt, funct::pow(), AlignmentPI::t_z, and Measurement1D::value().
|
static |
Definition at line 1561 of file DAClusterizerInZT_vect.cc.
References edm::ParameterSetDescription::add(), and DAClusterizerInZ_vect::fillPSetDescription().
Referenced by PrimaryVertexProducer::fillDescriptions().
bool DAClusterizerInZT_vect::find_nearest | ( | double | z, |
double | t, | ||
vertex_t & | y, | ||
unsigned int & | k_min, | ||
double | dz, | ||
double | dt | ||
) | const |
Definition at line 591 of file DAClusterizerInZT_vect.cc.
References funct::abs(), CommonMethods::delta(), DAClusterizerInZT_vect::vertex_t::getSize(), isotrackApplyRegressor::k, reco::ParticleMasses::k0, funct::pow(), DAClusterizerInZT_vect::vertex_t::tvtx, and DAClusterizerInZT_vect::vertex_t::zvtx.
double DAClusterizerInZT_vect::get_Tc | ( | const vertex_t & | y, |
int | k | ||
) | const |
Definition at line 895 of file DAClusterizerInZT_vect.cc.
References isotrackApplyRegressor::k, DAClusterizerInZT_vect::vertex_t::nut, DAClusterizerInZT_vect::vertex_t::nuz, funct::pow(), mathSSE::sqrt(), DAClusterizerInZT_vect::vertex_t::stt, DAClusterizerInZT_vect::vertex_t::szt, and DAClusterizerInZT_vect::vertex_t::szz.
Definition at line 688 of file DAClusterizerInZT_vect.cc.
References cms::cuda::assert(), gather_cfg::cout, CommonMethods::delta(), DAClusterizerInZT_vect::vertex_t::extractRaw(), DAClusterizerInZT_vect::vertex_t::getSize(), relval_steps::k2, funct::pow(), DAClusterizerInZT_vect::vertex_t::removeItem(), DAClusterizerInZT_vect::vertex_t::rho, DAClusterizerInZT_vect::vertex_t::tvtx, and DAClusterizerInZT_vect::vertex_t::zvtx.
bool DAClusterizerInZT_vect::purge | ( | vertex_t & | y, |
track_t & | tks, | ||
double & | rho0, | ||
const double | beta | ||
) | const |
Definition at line 746 of file DAClusterizerInZT_vect.cc.
References cms::cuda::assert(), gather_cfg::cout, DAClusterizerInZT_vect::track_t::dt2, DAClusterizerInZT_vect::track_t::dz2, gpuVertexFinder::eps, for(), DAClusterizerInZT_vect::track_t::getSize(), DAClusterizerInZT_vect::vertex_t::getSize(), mps_fire::i, isotrackApplyRegressor::k, reco::ParticleMasses::k0, DAClusterizerInZT_vect::track_t::kmax, DAClusterizerInZT_vect::track_t::kmin, nt, AlCaHLTBitMon_ParallelJobs::p, DAClusterizerInZT_vect::vertex_t::removeItem(), DAClusterizerInZT_vect::vertex_t::rho, DAClusterizerInZT_vect::track_t::sum_Z, DAClusterizerInZT_vect::track_t::tkwt, DAClusterizerInZT_vect::track_t::tpca, DAClusterizerInZT_vect::vertex_t::tvtx, DAClusterizerInZT_vect::track_t::zpca, and DAClusterizerInZT_vect::vertex_t::zvtx.
void DAClusterizerInZT_vect::set_vtx_range | ( | double | beta, |
track_t & | gtracks, | ||
vertex_t & | gvertices | ||
) | const |
Definition at line 283 of file DAClusterizerInZT_vect.cc.
References gather_cfg::cout, DAClusterizerInZT_vect::track_t::dz2, DAClusterizerInZT_vect::track_t::getSize(), DAClusterizerInZT_vect::vertex_t::getSize(), DAClusterizerInZT_vect::track_t::kmax, DAClusterizerInZT_vect::track_t::kmin, SiStripPI::max, SiStripPI::min, nt, mathSSE::sqrt(), DAClusterizerInZT_vect::track_t::zpca, and DAClusterizerInZT_vect::vertex_t::zvtx.
bool DAClusterizerInZT_vect::split | ( | const double | beta, |
track_t & | t, | ||
vertex_t & | y, | ||
double | threshold = 1. |
||
) | const |
Definition at line 906 of file DAClusterizerInZT_vect.cc.
References funct::abs(), cms::cuda::assert(), HLT_FULL_cff::beta, funct::cos(), gather_cfg::cout, hlt_jetmet_dqm_QT_fromfile_cfg::critical, DAClusterizerInZT_vect::track_t::dt2, DAClusterizerInZT_vect::track_t::dz2, alignCSCRings::e, DAClusterizerInZT_vect::track_t::getSize(), DAClusterizerInZT_vect::vertex_t::getSize(), mps_fire::i, DAClusterizerInZT_vect::vertex_t::insertOrdered(), isotrackApplyRegressor::k, relval_steps::k2, nt, DAClusterizerInZT_vect::vertex_t::nut, DAClusterizerInZT_vect::vertex_t::nuz, AlCaHLTBitMon_ParallelJobs::p, fireworks::p1, fireworks::p2, funct::pow(), DAClusterizerInZT_vect::vertex_t::removeItem(), DAClusterizerInZT_vect::vertex_t::rho, edm::second(), funct::sin(), submitPVValidationJobs::split(), mathSSE::sqrt(), DAClusterizerInZT_vect::vertex_t::stt, DAClusterizerInZT_vect::track_t::sum_Z, DAClusterizerInZT_vect::vertex_t::szt, DAClusterizerInZT_vect::vertex_t::szz, submitPVValidationJobs::t, DAClusterizerInZT_vect::track_t::tkwt, DAClusterizerInZT_vect::track_t::tpca, DAClusterizerInZT_vect::vertex_t::tvtx, DAClusterizerInZT_vect::track_t::zpca, and DAClusterizerInZT_vect::vertex_t::zvtx.
unsigned int DAClusterizerInZT_vect::thermalize | ( | double | beta, |
track_t & | gtracks, | ||
vertex_t & | gvertices, | ||
const double | delta_max, | ||
const double | rho0 = 0. |
||
) | const |
Definition at line 637 of file DAClusterizerInZT_vect.cc.
References funct::abs(), gather_cfg::cout, CommonMethods::delta(), remoteMonitoring_LASER_era2018_cfg::dump, DAClusterizerInZT_vect::vertex_t::getSize(), isotrackApplyRegressor::k, SiStripPI::max, mathSSE::sqrt(), update, and DAClusterizerInZT_vect::vertex_t::zvtx_vec.
double DAClusterizerInZT_vect::update | ( | double | beta, |
track_t & | gtracks, | ||
vertex_t & | gvertices, | ||
const double | rho0 = 0 , |
||
const bool | updateTc = false |
||
) | const |
Definition at line 349 of file DAClusterizerInZT_vect.cc.
References funct::abs(), cms::cuda::assert(), HLT_FULL_cff::beta, gather_cfg::cout, CommonMethods::delta(), math::cholesky::dst, DAClusterizerInZT_vect::track_t::dt2, DAClusterizerInZT_vect::vertex_t::exp, DAClusterizerInZT_vect::vertex_t::exp_arg, DAClusterizerInZT_vect::track_t::getSize(), DAClusterizerInZT_vect::vertex_t::getSize(), edm::isNotFinite(), isotrackApplyRegressor::k, DAClusterizerInZT_vect::track_t::kmax, DAClusterizerInZT_vect::track_t::kmin, SiStripPI::max, nt, DAClusterizerInZT_vect::vertex_t::nut, DAClusterizerInZT_vect::vertex_t::nuz, DAClusterizerInZT_vect::track_t::osumtkwt, DAClusterizerInZT_vect::vertex_t::rho, DAClusterizerInZT_vect::vertex_t::se, DAClusterizerInZT_vect::vertex_t::stt, DAClusterizerInZT_vect::track_t::sum_Z, DAClusterizerInZT_vect::track_t::sum_Z_vec, DAClusterizerInZT_vect::vertex_t::swt, DAClusterizerInZT_vect::vertex_t::swz, DAClusterizerInZT_vect::vertex_t::szt, DAClusterizerInZT_vect::vertex_t::szz, DAClusterizerInZT_vect::track_t::tpca, 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 DAClusterizerInZT_vect::verify | ( | const vertex_t & | v, |
const track_t & | tks, | ||
unsigned int | nv = 999999 , |
||
unsigned int | nt = 999999 |
||
) | const |
Definition at line 116 of file DAClusterizerInZT_vect.cc.
References cms::cuda::assert(), gather_cfg::cout, DAClusterizerInZT_vect::track_t::dt2, DAClusterizerInZT_vect::track_t::dt2_vec, DAClusterizerInZT_vect::track_t::dz2, DAClusterizerInZT_vect::track_t::dz2_vec, DAClusterizerInZT_vect::vertex_t::exp_arg, DAClusterizerInZT_vect::vertex_t::exp_arg_vec, DAClusterizerInZT_vect::vertex_t::exp_vec, DAClusterizerInZT_vect::track_t::getSize(), DAClusterizerInZT_vect::vertex_t::getSize(), mps_fire::i, isotrackApplyRegressor::k, DAClusterizerInZT_vect::track_t::kmax, DAClusterizerInZT_vect::track_t::kmin, nt, DAClusterizerInZT_vect::vertex_t::nut, DAClusterizerInZT_vect::vertex_t::nut_vec, DAClusterizerInZT_vect::vertex_t::nuz, DAClusterizerInZT_vect::vertex_t::nuz_vec, DAClusterizerInZT_vect::vertex_t::rho, DAClusterizerInZT_vect::vertex_t::rho_vec, DAClusterizerInZT_vect::vertex_t::se, DAClusterizerInZT_vect::vertex_t::se_vec, DAClusterizerInZT_vect::vertex_t::stt, DAClusterizerInZT_vect::vertex_t::stt_vec, DAClusterizerInZT_vect::track_t::sum_Z, DAClusterizerInZT_vect::track_t::sum_Z_vec, DAClusterizerInZT_vect::vertex_t::swt, DAClusterizerInZT_vect::vertex_t::swt_vec, DAClusterizerInZT_vect::vertex_t::swz, DAClusterizerInZT_vect::vertex_t::swz_vec, DAClusterizerInZT_vect::vertex_t::szt, DAClusterizerInZT_vect::vertex_t::szt_vec, DAClusterizerInZT_vect::vertex_t::szz, DAClusterizerInZT_vect::vertex_t::szz_vec, DAClusterizerInZT_vect::track_t::tkwt, DAClusterizerInZT_vect::track_t::tkwt_vec, DAClusterizerInZT_vect::track_t::tpca, DAClusterizerInZT_vect::track_t::tpca_vec, DAClusterizerInZT_vect::track_t::tt, DAClusterizerInZT_vect::vertex_t::tvtx, DAClusterizerInZT_vect::vertex_t::tvtx_vec, DAClusterizerInZT_vect::track_t::zpca, DAClusterizerInZT_vect::track_t::zpca_vec, DAClusterizerInZT_vect::vertex_t::zvtx, and DAClusterizerInZT_vect::vertex_t::zvtx_vec.
vector< TransientVertex > DAClusterizerInZT_vect::vertices | ( | const std::vector< reco::TransientTrack > & | tracks | ) | const |
Definition at line 1110 of file DAClusterizerInZT_vect.cc.
References a, DAClusterizerInZT_vect::vertex_t::addItem(), HLT_FULL_cff::beta, HLT_FULL_cff::clusters, gather_cfg::cout, DAClusterizerInZT_vect::track_t::dt2, remoteMonitoring_LASER_era2018_cfg::dump, DAClusterizerInZT_vect::track_t::dz2, alignCSCRings::e, relativeConstraints::empty, DAClusterizerInZT_vect::vertex_t::exp, DAClusterizerInZT_vect::vertex_t::exp_arg, DAClusterizerInZT_vect::track_t::extractRaw(), PVValHelper::fill(), DAClusterizerInZT_vect::track_t::getSize(), DAClusterizerInZT_vect::vertex_t::getSize(), mps_fire::i, edm::isNotFinite(), isotrackApplyRegressor::k, DAClusterizerInZT_vect::track_t::kmax, DAClusterizerInZT_vect::track_t::kmin, MatrixUtil::merge(), SiStripPI::min, nt, AlCaHLTBitMon_ParallelJobs::p, DAClusterizerInZT_vect::vertex_t::rho, submitPVValidationJobs::split(), mathSSE::sqrt(), DAClusterizerInZT_vect::track_t::sum_Z, dtDQMClient_cfg::threshold, DAClusterizerInZT_vect::track_t::tpca, DAClusterizerInZT_vect::track_t::tt, DAClusterizerInZT_vect::vertex_t::tvtx, update, findQualityFiles::v, DAClusterizerInZT_vect::track_t::zpca, and DAClusterizerInZT_vect::vertex_t::zvtx.
bool DAClusterizerInZT_vect::zorder | ( | vertex_t & | y | ) | const |
Definition at line 544 of file DAClusterizerInZT_vect.cc.
References cms::cuda::assert(), DAClusterizerInZT_vect::vertex_t::extractRaw(), DAClusterizerInZT_vect::vertex_t::getSize(), isotrackApplyRegressor::k, DAClusterizerInZT_vect::vertex_t::rho, DAClusterizerInZT_vect::vertex_t::rho_vec, DAClusterizerInZT_vect::vertex_t::tvtx, DAClusterizerInZT_vect::vertex_t::tvtx_vec, DAClusterizerInZT_vect::vertex_t::zvtx, and DAClusterizerInZT_vect::vertex_t::zvtx_vec.
|
private |
Definition at line 301 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 313 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 302 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 315 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 300 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 304 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 316 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 317 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 305 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 303 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 299 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 308 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 319 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 306 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 312 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 310 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 309 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 297 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 298 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 294 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 295 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 311 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 320 of file DAClusterizerInZT_vect.h.