#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 |
std::vector< TransientVertex > | fill_vertices (double beta, double rho0, track_t &tracks, vertex_t &vertices) 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 override |
std::vector< TransientVertex > | vertices_in_blocks (const std::vector< reco::TransientTrack > &tracks) const |
std::vector< TransientVertex > | vertices_no_blocks (const std::vector< reco::TransientTrack > &tracks) 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 | block_size_ |
unsigned int | convergence_mode_ |
double | coolingFactor_ |
double | d0CutOff_ |
double | delta_highT_ |
double | delta_lowT_ |
double | dzCutOff_ |
unsigned int | maxIterations_ |
double | mintrkweight_ |
double | overlap_frac_ |
bool | runInBlocks_ |
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, HLT_2024v14_cff::Tmin, HLT_2024v14_cff::Tpurge, and HLT_2024v14_cff::Tstop.
double DAClusterizerInZ_vect::beta0 | ( | const double | betamax, |
track_t const & | tks, | ||
vertex_t const & | y | ||
) | const |
Definition at line 602 of file DAClusterizerInZ_vect.cc.
References a, b, gather_cfg::cout, PVValHelper::dx, DAClusterizerInZ_vect::track_t::dz2, DAClusterizerInZ_vect::track_t::getSize(), mps_fire::i, createfilelist::int, dqmdumpme::k, dqm-mbProfile::log, nt, funct::pow(), DAClusterizerInZ_vect::track_t::tkwt, w(), and DAClusterizerInZ_vect::track_t::zpca.
Definition at line 279 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, nt, and mitigatedMETSequence_cff::U.
|
overridevirtual |
Implements TrackClusterizerInZ.
Definition at line 1347 of file DAClusterizerInZ_vect.cc.
References funct::abs(), bsc_activity_cfg::clusters, gather_cfg::cout, mps_fire::i, dqmdumpme::k, eostools::move(), position, DiMuonV_cfg::tracks, and AlignmentTracksFromVertexSelector_cfi::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 1390 of file DAClusterizerInZ_vect.cc.
References a, b, HLT_2024v14_cff::beta, gather_cfg::cout, TauDecayModes::dec, DAClusterizerInZ_vect::track_t::dz2, F(), alignBH_cfg::fixed, DAClusterizerInZ_vect::track_t::getSize(), reco::TrackBase::highPurity, mps_fire::i, listHistos::IP, dqmiolumiharvest::j, DAClusterizerInZ_vect::track_t::kmax, DAClusterizerInZ_vect::track_t::kmin, dqm-mbProfile::log, reco::HitPattern::MISSING_OUTER_HITS, nt, AlCaHLTBitMon_ParallelJobs::p, GeomDetEnumerators::PixelBarrel, jetUpdater_cfi::sort, 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, verbosity, and DAClusterizerInZ_vect::track_t::zpca.
DAClusterizerInZ_vect::track_t DAClusterizerInZ_vect::fill | ( | const std::vector< reco::TransientTrack > & | tracks | ) | const |
Definition at line 177 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::track_t::addItemSorted(), HLT_2024v14_cff::atIP, pwdgSkimBPark_cfi::beamSpot, gather_cfg::cout, geometryDiff::epsilon, DAClusterizerInZ_vect::track_t::extractRaw(), DAClusterizerInZ_vect::track_t::getSize(), edm::isNotFinite(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, SiStripPI::min, DAClusterizerInZ_vect::track_t::osumtkwt, position, funct::pow(), AlignmentPI::t_z, and DiMuonV_cfg::tracks.
vector< TransientVertex > DAClusterizerInZ_vect::fill_vertices | ( | double | beta, |
double | rho0, | ||
track_t & | tracks, | ||
vertex_t & | vertices | ||
) | const |
Definition at line 1249 of file DAClusterizerInZ_vect.cc.
References HLT_2024v14_cff::beta, cms::cuda::bs, bsc_activity_cfg::clusters, DAClusterizerInZ_vect::track_t::dz2, MillePedeFileConverter_cfg::e, relativeConstraints::empty, submitPVResolutionJobs::err, DAClusterizerInZ_vect::track_t::getSize(), mps_fire::i, edm::isNotFinite(), dqmiolumiharvest::j, dqmdumpme::k, DAClusterizerInZ_vect::track_t::kmax, DAClusterizerInZ_vect::track_t::kmin, nt, AlCaHLTBitMon_ParallelJobs::p, funct::pow(), DAClusterizerInZ_vect::track_t::sum_Z, DAClusterizerInZ_vect::track_t::tt, findQualityFiles::v, w(), and DAClusterizerInZ_vect::track_t::zpca.
|
static |
Definition at line 1543 of file DAClusterizerInZ_vect.cc.
References submitPVResolutionJobs::desc.
Referenced by PrimaryVertexProducer::fillDescriptions(), PrimaryVertexValidation::fillDescriptions(), and DAClusterizerInZT_vect::fillPSetDescription().
Definition at line 472 of file DAClusterizerInZ_vect.cc.
References cms::cuda::assert(), HLT_2024v14_cff::beta, gather_cfg::cout, hlt_jetmet_dqm_QT_fromfile_cfg::critical, alignBH_cfg::fixed, edm::isFinite(), and dqmdumpme::k.
bool DAClusterizerInZ_vect::purge | ( | vertex_t & | y, |
track_t & | tks, | ||
double & | rho0, | ||
const double | beta | ||
) | const |
Definition at line 523 of file DAClusterizerInZ_vect.cc.
References cms::cuda::assert(), HLT_2024v14_cff::beta, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), gather_cfg::cout, DAClusterizerInZ_vect::track_t::dz2, HLT_2024v14_cff::eps, cms::cuda::for(), DAClusterizerInZ_vect::track_t::getSize(), mps_fire::i, dqmdumpme::k, reco::ParticleMasses::k0, DAClusterizerInZ_vect::track_t::kmax, DAClusterizerInZ_vect::track_t::kmin, nt, AlCaHLTBitMon_ParallelJobs::p, DAClusterizerInZ_vect::track_t::sum_Z, DAClusterizerInZ_vect::track_t::tkwt, and DAClusterizerInZ_vect::track_t::zpca.
void DAClusterizerInZ_vect::set_vtx_range | ( | double | beta, |
track_t & | gtracks, | ||
vertex_t & | gvertices | ||
) | const |
Definition at line 230 of file DAClusterizerInZ_vect.cc.
References HLT_2024v14_cff::beta, 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(), mitigatedMETSequence_cff::U, SiStripMonitorCluster_cfi::zmax, SiStripMonitorCluster_cfi::zmin, DAClusterizerInZ_vect::track_t::zpca, OfflinePixel3DPrimaryVertices_cfi::zrange, 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 653 of file DAClusterizerInZ_vect.cc.
References cms::cuda::assert(), HLT_2024v14_cff::beta, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), gather_cfg::cout, hlt_jetmet_dqm_QT_fromfile_cfg::critical, DAClusterizerInZ_vect::track_t::dz2, MillePedeFileConverter_cfg::e, geometryDiff::epsilon, alignBH_cfg::fixed, DAClusterizerInZ_vect::track_t::getSize(), mps_fire::i, edm::isFinite(), dqmdumpme::k, nt, AlCaHLTBitMon_ParallelJobs::p, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, edm::second(), submitPVValidationJobs::split(), mathSSE::sqrt(), DAClusterizerInZ_vect::track_t::sum_Z, submitPVValidationJobs::t, DiMuonV_cfg::threshold, DAClusterizerInZ_vect::track_t::tkwt, update, w(), w2, testProducerWithPsetDescEmpty_cfi::z2, and DAClusterizerInZ_vect::track_t::zpca.
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 424 of file DAClusterizerInZ_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 DAClusterizerInZ_vect::update | ( | double | beta, |
track_t & | gtracks, | ||
vertex_t & | gvertices, | ||
const double | rho0 = 0 , |
||
const bool | updateTc = false |
||
) | const |
Definition at line 288 of file DAClusterizerInZ_vect.cc.
References funct::abs(), HLT_2024v14_cff::beta, dumpMFGeometry_cfg::delta, DAClusterizerInZ_vect::vertex_t::exp, DAClusterizerInZ_vect::vertex_t::exp_arg, DAClusterizerInZ_vect::track_t::getSize(), DAClusterizerInZ_vect::vertex_t::getSize(), edm::isNotFinite(), dqmdumpme::k, DAClusterizerInZ_vect::track_t::kmax, DAClusterizerInZ_vect::track_t::kmin, SiStripPI::max, nt, DAClusterizerInZ_vect::track_t::osumtkwt, 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, 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 DAClusterizerInZ_vect::verify | ( | const vertex_t & | v, |
const track_t & | tks, | ||
unsigned int | nv = 999999 , |
||
unsigned int | nt = 999999 |
||
) | const |
Definition at line 115 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::track_t::getSize(), mps_fire::i, dqmdumpme::k, DAClusterizerInZ_vect::track_t::kmax, DAClusterizerInZ_vect::track_t::kmin, nt, DAClusterizerInZ_vect::track_t::sum_Z, DAClusterizerInZ_vect::track_t::sum_Z_vec, DAClusterizerInZ_vect::track_t::tkwt, DAClusterizerInZ_vect::track_t::tkwt_vec, DAClusterizerInZ_vect::track_t::tt, findQualityFiles::v, DAClusterizerInZ_vect::track_t::zpca, and DAClusterizerInZ_vect::track_t::zpca_vec.
|
overridevirtual |
Implements TrackClusterizerInZ.
Definition at line 1340 of file DAClusterizerInZ_vect.cc.
References DiMuonV_cfg::tracks.
vector< TransientVertex > DAClusterizerInZ_vect::vertices_in_blocks | ( | const std::vector< reco::TransientTrack > & | tracks | ) | const |
Definition at line 937 of file DAClusterizerInZ_vect.cc.
References a, funct::abs(), b, HLT_2024v14_cff::beta, groupFilesInBlocks::block, bsc_activity_cfg::clusters, gather_cfg::cout, GCP_Ntuples_cfg::dump, MillePedeFileConverter_cfg::e, relativeConstraints::empty, DAClusterizerInZ_vect::track_t::extractRaw(), ntuplemaker::fill, dqmdumpme::first, mps_fire::i, createfilelist::int, dqmdumpme::k, SiStripPI::max, merge(), SiStripPI::min, nt, AlCaHLTBitMon_ParallelJobs::p, position, jetUpdater_cfi::sort, submitPVValidationJobs::split(), mathSSE::sqrt(), DiMuonV_cfg::threshold, DiMuonV_cfg::tracks, mitigatedMETSequence_cff::U, update, findQualityFiles::v, SiStripMonitorCluster_cfi::zmax, SiStripMonitorCluster_cfi::zmin, and OfflinePixel3DPrimaryVertices_cfi::zrange.
vector< TransientVertex > DAClusterizerInZ_vect::vertices_no_blocks | ( | const std::vector< reco::TransientTrack > & | tracks | ) | const |
Definition at line 779 of file DAClusterizerInZ_vect.cc.
References a, HLT_2024v14_cff::beta, bsc_activity_cfg::clusters, gather_cfg::cout, GCP_Ntuples_cfg::dump, DAClusterizerInZ_vect::track_t::extractRaw(), ntuplemaker::fill, DAClusterizerInZ_vect::track_t::getSize(), merge(), SiStripPI::min, submitPVValidationJobs::split(), mathSSE::sqrt(), DiMuonV_cfg::threshold, DiMuonV_cfg::tracks, and update.
|
private |
Definition at line 211 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 220 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 212 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 230 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 222 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 210 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 214 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 223 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 224 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 213 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 209 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 216 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 231 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 229 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 226 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 218 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 217 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 208 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 205 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 206 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 219 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 227 of file DAClusterizerInZ_vect.h.