#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 |
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 int verbosity=0) const |
bool | zorder (vertex_t &y) const |
Public Member Functions inherited from TrackClusterizerInZ | |
TrackClusterizerInZ () | |
TrackClusterizerInZ (const edm::ParameterSet &conf) | |
virtual | ~TrackClusterizerInZ () |
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 | uniquetrkweight_ |
bool | verbose_ |
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 22 of file DAClusterizerInZT_vect.h.
DAClusterizerInZT_vect::DAClusterizerInZT_vect | ( | const edm::ParameterSet & | conf | ) |
Definition at line 22 of file DAClusterizerInZT_vect.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and SiStripPI::max.
double DAClusterizerInZT_vect::beta0 | ( | const double | betamax, |
track_t const & | tks, | ||
vertex_t const & | y | ||
) | const |
Definition at line 813 of file DAClusterizerInZT_vect.cc.
References gather_cfg::cout, dt, DAClusterizerInZT_vect::track_t::dt2_ptr, PVValHelper::dz, DAClusterizerInZT_vect::track_t::dz2_ptr, DAClusterizerInZT_vect::track_t::getSize(), mps_fire::i, createfilelist::int, dqmdumpme::k, dqm-mbProfile::log, nt, DAClusterizerInZT_vect::track_t::pi_ptr, funct::pow(), mathSSE::sqrt(), DAClusterizerInZT_vect::track_t::t_ptr, w, and DAClusterizerInZT_vect::track_t::z_ptr.
Definition at line 342 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 1330 of file DAClusterizerInZT_vect.cc.
References bsc_activity_cfg::clusters, gather_cfg::cout, dqmdumpme::k, MetAnalyzer::pv(), PDWG_EXOHSCP_cff::tracks, and pwdgSkimBPark_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 1359 of file DAClusterizerInZT_vect.cc.
References a, b, zMuMuMuonUserData::beta, gather_cfg::cout, TauDecayModes::dec, DAClusterizerInZT_vect::track_t::dt2_ptr, DAClusterizerInZT_vect::track_t::dz2_ptr, JetChargeProducer_cfi::exp, F(), alignBH_cfg::fixed, DAClusterizerInZT_vect::track_t::getSize(), 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, DAClusterizerInZT_vect::track_t::pi_ptr, GeomDetEnumerators::PixelBarrel, mathSSE::sqrt(), DAClusterizerInZT_vect::track_t::t_ptr, DAClusterizerInZT_vect::track_t::tt, HIPAlignmentAlgorithm_cfi::verbosity, DAClusterizerInZT_vect::track_t::z_ptr, and DAClusterizerInZT_vect::track_t::Z_sum_ptr.
DAClusterizerInZT_vect::track_t DAClusterizerInZT_vect::fill | ( | const std::vector< reco::TransientTrack > & | tracks | ) | const |
Definition at line 214 of file DAClusterizerInZT_vect.cc.
References funct::abs(), DAClusterizerInZT_vect::track_t::addItem(), HLT_2018_cff::atIP, gather_cfg::cout, geometryDiff::epsilon, DAClusterizerInZT_vect::track_t::extractRaw(), DAClusterizerInZT_vect::track_t::getSize(), edm::isNotFinite(), min(), funct::pow(), AlignmentPI::t_z, and PDWG_EXOHSCP_cff::tracks.
bool DAClusterizerInZT_vect::find_nearest | ( | double | z, |
double | t, | ||
vertex_t & | y, | ||
unsigned int & | k_min, | ||
double | dz, | ||
double | dt | ||
) | const |
Definition at line 586 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 880 of file DAClusterizerInZT_vect.cc.
References dqmdumpme::k, funct::pow(), and mathSSE::sqrt().
Definition at line 683 of file DAClusterizerInZT_vect.cc.
References cms::cuda::assert(), zMuMuMuonUserData::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 742 of file DAClusterizerInZT_vect.cc.
References cms::cuda::assert(), zMuMuMuonUserData::beta, gather_cfg::cout, DAClusterizerInZT_vect::track_t::dt2_ptr, DAClusterizerInZT_vect::track_t::dz2_ptr, DAClusterizerInZT_vect::track_t::getSize(), mps_fire::i, dqmdumpme::k, reco::ParticleMasses::k0, nt, AlCaHLTBitMon_ParallelJobs::p, DAClusterizerInZT_vect::track_t::pi_ptr, DAClusterizerInZT_vect::track_t::t_ptr, DAClusterizerInZT_vect::track_t::z_ptr, and DAClusterizerInZT_vect::track_t::Z_sum_ptr.
void DAClusterizerInZT_vect::set_vtx_range | ( | double | beta, |
track_t & | gtracks, | ||
vertex_t & | gvertices | ||
) | const |
Definition at line 285 of file DAClusterizerInZT_vect.cc.
References zMuMuMuonUserData::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, min(), nt, mathSSE::sqrt(), mitigatedMETSequence_cff::U, DAClusterizerInZT_vect::track_t::z_ptr, DAClusterizerInZT_vect::vertex_t::z_ptr, SiStripMonitorCluster_cfi::zmax, SiStripMonitorCluster_cfi::zmin, and TkClusParameters_cff::zrange.
bool DAClusterizerInZT_vect::split | ( | const double | beta, |
track_t & | t, | ||
vertex_t & | y, | ||
double | threshold = 1. |
||
) | const |
Definition at line 891 of file DAClusterizerInZT_vect.cc.
References funct::abs(), cms::cuda::assert(), zMuMuMuonUserData::beta, funct::cos(), gather_cfg::cout, hlt_jetmet_dqm_QT_fromfile_cfg::critical, DAClusterizerInZT_vect::track_t::dt2_ptr, DAClusterizerInZT_vect::track_t::dz2_ptr, MillePedeFileConverter_cfg::e, alignBH_cfg::fixed, DAClusterizerInZT_vect::track_t::getSize(), mps_fire::i, dqmdumpme::k, nt, AlCaHLTBitMon_ParallelJobs::p, p1, p2, DAClusterizerInZT_vect::track_t::pi_ptr, funct::pow(), q1, edm::second(), funct::sin(), cms::dd::split(), mathSSE::sqrt(), DAClusterizerInZT_vect::track_t::t, OrderedSet::t, RandomServiceHelper::t1, RandomServiceHelper::t2, DAClusterizerInZT_vect::track_t::t_ptr, remoteMonitoring_LED_IterMethod_cfg::threshold, testProducerWithPsetDescEmpty_cfi::z2, DAClusterizerInZT_vect::track_t::z_ptr, and DAClusterizerInZT_vect::track_t::Z_sum_ptr.
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 632 of file DAClusterizerInZT_vect.cc.
References funct::abs(), zMuMuMuonUserData::beta, gather_cfg::cout, dumpMFGeometry_cfg::delta, FrontierConditions_GlobalTag_cff::dump, dqmdumpme::k, SiStripPI::max, mathSSE::sqrt(), update, findQualityFiles::v, and HLTMuonOfflineAnalyzer_cfi::z0.
double DAClusterizerInZT_vect::update | ( | double | beta, |
track_t & | gtracks, | ||
vertex_t & | gvertices, | ||
const double | rho0 = 0 |
||
) | const |
Definition at line 351 of file DAClusterizerInZT_vect.cc.
References funct::abs(), cms::cuda::assert(), zMuMuMuonUserData::beta, gather_cfg::cout, dumpMFGeometry_cfg::delta, math::cholesky::dst, DAClusterizerInZT_vect::vertex_t::ei_cache_ptr, DAClusterizerInZT_vect::vertex_t::ei_ptr, 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_ptr, DAClusterizerInZT_vect::vertex_t::nuz_ptr, DAClusterizerInZT_vect::track_t::pi_ptr, DAClusterizerInZT_vect::vertex_t::se_ptr, DAClusterizerInZT_vect::vertex_t::stt_ptr, DAClusterizerInZT_vect::vertex_t::sumw_ptr, DAClusterizerInZT_vect::vertex_t::swt_ptr, DAClusterizerInZT_vect::vertex_t::swz_ptr, DAClusterizerInZT_vect::vertex_t::szt_ptr, DAClusterizerInZT_vect::vertex_t::szz_ptr, PDWG_EXOHSCP_cff::tracks, mitigatedMETSequence_cff::U, pwdgSkimBPark_cfi::vertices, w, DAClusterizerInZT_vect::track_t::Z_sum, and DAClusterizerInZT_vect::track_t::Z_sum_ptr.
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 121 of file DAClusterizerInZT_vect.cc.
References cms::cuda::assert(), gather_cfg::cout, DAClusterizerInZT_vect::track_t::dt2, DAClusterizerInZT_vect::track_t::dt2_ptr, DAClusterizerInZT_vect::track_t::dz2, DAClusterizerInZT_vect::track_t::dz2_ptr, 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::pi, DAClusterizerInZT_vect::track_t::pi_ptr, DAClusterizerInZT_vect::track_t::t, DAClusterizerInZT_vect::track_t::t_ptr, DAClusterizerInZT_vect::track_t::tt, findQualityFiles::v, DAClusterizerInZT_vect::track_t::z, DAClusterizerInZT_vect::track_t::z_ptr, DAClusterizerInZT_vect::track_t::Z_sum, and DAClusterizerInZT_vect::track_t::Z_sum_ptr.
vector< TransientVertex > DAClusterizerInZT_vect::vertices | ( | const std::vector< reco::TransientTrack > & | tracks, |
const int | verbosity = 0 |
||
) | const |
Definition at line 1096 of file DAClusterizerInZT_vect.cc.
References a, zMuMuMuonUserData::beta, bsc_activity_cfg::clusters, gather_cfg::cout, DAClusterizerInZT_vect::track_t::dt2_ptr, FrontierConditions_GlobalTag_cff::dump, DAClusterizerInZT_vect::track_t::dz2_ptr, MillePedeFileConverter_cfg::e, DAClusterizerInZT_vect::track_t::extractRaw(), ntuplemaker::fill, DAClusterizerInZT_vect::track_t::getSize(), mps_fire::i, edm::isNotFinite(), dqmdumpme::k, MatrixUtil::merge(), min(), nt, AlCaHLTBitMon_ParallelJobs::p, DAClusterizerInZT_vect::track_t::pi_ptr, cms::dd::split(), mathSSE::sqrt(), DAClusterizerInZT_vect::track_t::t_ptr, remoteMonitoring_LED_IterMethod_cfg::threshold, PDWG_EXOHSCP_cff::tracks, DAClusterizerInZT_vect::track_t::tt, update, findQualityFiles::v, DAClusterizerInZT_vect::track_t::z_ptr, and DAClusterizerInZT_vect::track_t::Z_sum_ptr.
bool DAClusterizerInZT_vect::zorder | ( | vertex_t & | y | ) | const |
Definition at line 538 of file DAClusterizerInZT_vect.cc.
References cms::cuda::assert(), and dqmdumpme::k.
|
private |
Definition at line 278 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 289 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 279 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 291 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 277 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 281 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 292 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 293 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 282 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 280 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 276 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 285 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 295 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 283 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 288 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 286 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 270 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 274 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 275 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 271 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 272 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 287 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 296 of file DAClusterizerInZT_vect.h.