#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 override |
bool | zorder (vertex_t &y) const |
Public Member Functions inherited from TrackClusterizerInZ | |
TrackClusterizerInZ ()=default | |
TrackClusterizerInZ (const edm::ParameterSet &conf) | |
virtual | ~TrackClusterizerInZ ()=default |
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 26 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 HLT_2024v14_cff::minT.
double DAClusterizerInZT_vect::beta0 | ( | const double | betamax, |
track_t const & | tks, | ||
vertex_t const & | y | ||
) | const |
Definition at line 832 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(), mps_fire::i, createfilelist::int, dqmdumpme::k, dqm-mbProfile::log, nt, funct::pow(), mathSSE::sqrt(), DAClusterizerInZT_vect::track_t::tkwt, DAClusterizerInZT_vect::track_t::tpca, w(), and DAClusterizerInZT_vect::track_t::zpca.
Definition at line 344 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, nt, and mitigatedMETSequence_cff::U.
|
overridevirtual |
Implements TrackClusterizerInZ.
Definition at line 1356 of file DAClusterizerInZT_vect.cc.
References bsc_activity_cfg::clusters, gather_cfg::cout, dqmdumpme::k, DiMuonV_cfg::tracks, and AlignmentTracksFromVertexSelector_cfi::vertices.
void DAClusterizerInZT_vect::dump | ( | const double | beta, |
const vertex_t & | y, | ||
const track_t & | tks, | ||
const int | verbosity = 0 |
||
) | const |
Definition at line 1385 of file DAClusterizerInZT_vect.cc.
References a, b, HLT_2024v14_cff::beta, gather_cfg::cout, TauDecayModes::dec, DAClusterizerInZT_vect::track_t::dt2, DAClusterizerInZT_vect::track_t::dz2, F(), alignBH_cfg::fixed, DAClusterizerInZT_vect::track_t::getSize(), h, reco::TrackBase::highPurity, mps_fire::i, listHistos::IP, dqmiolumiharvest::j, DAClusterizerInZT_vect::track_t::kmax, DAClusterizerInZT_vect::track_t::kmin, dqm-mbProfile::log, reco::HitPattern::MISSING_OUTER_HITS, nt, AlCaHLTBitMon_ParallelJobs::p, GeomDetEnumerators::PixelBarrel, jetUpdater_cfi::sort, mathSSE::sqrt(), DAClusterizerInZT_vect::track_t::sum_Z, DAClusterizerInZT_vect::track_t::tkwt, DAClusterizerInZT_vect::track_t::tpca, DAClusterizerInZT_vect::track_t::tt, verbosity, and DAClusterizerInZT_vect::track_t::zpca.
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(), HLT_2024v14_cff::atIP, gather_cfg::cout, TransientTrackBuilder::defaultInvalidTrackTimeReso, geometryDiff::epsilon, 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 DiMuonV_cfg::tracks.
|
static |
Definition at line 1564 of file DAClusterizerInZT_vect.cc.
References submitPVResolutionJobs::desc, 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 595 of file DAClusterizerInZT_vect.cc.
References funct::abs(), dumpMFGeometry_cfg::delta, dt, PVValHelper::dz, dqmdumpme::k, reco::ParticleMasses::k0, and funct::pow().
double DAClusterizerInZT_vect::get_Tc | ( | const vertex_t & | y, |
int | k | ||
) | const |
Definition at line 899 of file DAClusterizerInZT_vect.cc.
References dqmdumpme::k, funct::pow(), and mathSSE::sqrt().
Definition at line 692 of file DAClusterizerInZT_vect.cc.
References cms::cuda::assert(), HLT_2024v14_cff::beta, gather_cfg::cout, dumpMFGeometry_cfg::delta, alignBH_cfg::fixed, and funct::pow().
bool DAClusterizerInZT_vect::purge | ( | vertex_t & | y, |
track_t & | tks, | ||
double & | rho0, | ||
const double | beta | ||
) | const |
Definition at line 750 of file DAClusterizerInZT_vect.cc.
References cms::cuda::assert(), HLT_2024v14_cff::beta, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), gather_cfg::cout, DAClusterizerInZT_vect::track_t::dt2, DAClusterizerInZT_vect::track_t::dz2, HLT_2024v14_cff::eps, cms::cuda::for(), DAClusterizerInZT_vect::track_t::getSize(), mps_fire::i, dqmdumpme::k, reco::ParticleMasses::k0, DAClusterizerInZT_vect::track_t::kmax, DAClusterizerInZT_vect::track_t::kmin, nt, AlCaHLTBitMon_ParallelJobs::p, DAClusterizerInZT_vect::track_t::sum_Z, DAClusterizerInZT_vect::track_t::tkwt, DAClusterizerInZT_vect::track_t::tpca, and DAClusterizerInZT_vect::track_t::zpca.
void DAClusterizerInZT_vect::set_vtx_range | ( | double | beta, |
track_t & | gtracks, | ||
vertex_t & | gvertices | ||
) | const |
Definition at line 287 of file DAClusterizerInZT_vect.cc.
References HLT_2024v14_cff::beta, 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(), mitigatedMETSequence_cff::U, SiStripMonitorCluster_cfi::zmax, SiStripMonitorCluster_cfi::zmin, DAClusterizerInZT_vect::track_t::zpca, OfflinePixel3DPrimaryVertices_cfi::zrange, 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 910 of file DAClusterizerInZT_vect.cc.
References funct::abs(), cms::cuda::assert(), HLT_2024v14_cff::beta, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), funct::cos(), gather_cfg::cout, hlt_jetmet_dqm_QT_fromfile_cfg::critical, DAClusterizerInZT_vect::track_t::dt2, DAClusterizerInZT_vect::track_t::dz2, MillePedeFileConverter_cfg::e, alignBH_cfg::fixed, DAClusterizerInZT_vect::track_t::getSize(), mps_fire::i, dqmdumpme::k, nt, AlCaHLTBitMon_ParallelJobs::p, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, funct::pow(), edm::second(), funct::sin(), submitPVValidationJobs::split(), mathSSE::sqrt(), DAClusterizerInZT_vect::track_t::sum_Z, submitPVValidationJobs::t, RandomServiceHelper::t1, RandomServiceHelper::t2, DiMuonV_cfg::threshold, DAClusterizerInZT_vect::track_t::tkwt, DAClusterizerInZT_vect::track_t::tpca, testProducerWithPsetDescEmpty_cfi::z2, and DAClusterizerInZT_vect::track_t::zpca.
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 641 of file DAClusterizerInZT_vect.cc.
References funct::abs(), HLT_2024v14_cff::beta, gather_cfg::cout, dumpMFGeometry_cfg::delta, GCP_Ntuples_cfg::dump, dqmdumpme::k, SiStripPI::max, mathSSE::sqrt(), update, and findQualityFiles::v.
double DAClusterizerInZT_vect::update | ( | double | beta, |
track_t & | gtracks, | ||
vertex_t & | gvertices, | ||
const double | rho0 = 0 , |
||
const bool | updateTc = false |
||
) | const |
Definition at line 353 of file DAClusterizerInZT_vect.cc.
References funct::abs(), cms::cuda::assert(), HLT_2024v14_cff::beta, gather_cfg::cout, dumpMFGeometry_cfg::delta, math::cholesky::dst, run3scouting_cff::dsz, DAClusterizerInZT_vect::vertex_t::exp, DAClusterizerInZT_vect::vertex_t::exp_arg, DAClusterizerInZT_vect::track_t::getSize(), DAClusterizerInZT_vect::vertex_t::getSize(), edm::isNotFinite(), dqmdumpme::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::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, DiMuonV_cfg::tracks, mitigatedMETSequence_cff::U, AlignmentTracksFromVertexSelector_cfi::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::track_t::getSize(), mps_fire::i, dqmdumpme::k, DAClusterizerInZT_vect::track_t::kmax, DAClusterizerInZT_vect::track_t::kmin, nt, DAClusterizerInZT_vect::track_t::sum_Z, DAClusterizerInZT_vect::track_t::sum_Z_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, findQualityFiles::v, DAClusterizerInZT_vect::track_t::zpca, and DAClusterizerInZT_vect::track_t::zpca_vec.
|
overridevirtual |
Implements TrackClusterizerInZ.
Definition at line 1114 of file DAClusterizerInZT_vect.cc.
References a, HLT_2024v14_cff::beta, bsc_activity_cfg::clusters, gather_cfg::cout, DAClusterizerInZT_vect::track_t::dt2, GCP_Ntuples_cfg::dump, DAClusterizerInZT_vect::track_t::dz2, MillePedeFileConverter_cfg::e, relativeConstraints::empty, DAClusterizerInZT_vect::track_t::extractRaw(), ntuplemaker::fill, DAClusterizerInZT_vect::track_t::getSize(), mps_fire::i, edm::isNotFinite(), dqmdumpme::k, DAClusterizerInZT_vect::track_t::kmax, DAClusterizerInZT_vect::track_t::kmin, merge(), SiStripPI::min, nt, AlCaHLTBitMon_ParallelJobs::p, submitPVValidationJobs::split(), mathSSE::sqrt(), DAClusterizerInZT_vect::track_t::sum_Z, DiMuonV_cfg::threshold, DAClusterizerInZT_vect::track_t::tpca, DiMuonV_cfg::tracks, DAClusterizerInZT_vect::track_t::tt, update, findQualityFiles::v, and DAClusterizerInZT_vect::track_t::zpca.
bool DAClusterizerInZT_vect::zorder | ( | vertex_t & | y | ) | const |
Definition at line 548 of file DAClusterizerInZT_vect.cc.
References cms::cuda::assert(), and dqmdumpme::k.
|
private |
Definition at line 302 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 314 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 303 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 316 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 301 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 305 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 317 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 318 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 306 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 304 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 300 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 309 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 320 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 307 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 313 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 311 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 310 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 298 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 299 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 295 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 296 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 312 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 321 of file DAClusterizerInZT_vect.h.