#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 | evalF (const double beta, track_t const &tks, vertex_t const &v) 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 |
double | updateTc (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 |
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 | dzCutOff_ |
unsigned int | maxIterations_ |
double | mintrkweight_ |
double | sel_zrange_ |
double | uniquetrkweight_ |
bool | verbose_ |
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 20 of file DAClusterizerInZ_vect.h.
DAClusterizerInZ_vect::DAClusterizerInZ_vect | ( | const edm::ParameterSet & | conf | ) |
Definition at line 22 of file DAClusterizerInZ_vect.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), SiStripPI::max, HLT_FULL_cff::Tmin, HLT_FULL_cff::Tpurge, and HLT_FULL_cff::Tstop.
double DAClusterizerInZ_vect::beta0 | ( | const double | betamax, |
track_t const & | tks, | ||
vertex_t const & | y | ||
) | const |
Definition at line 713 of file DAClusterizerInZ_vect.cc.
References a, b, gather_cfg::cout, PVValHelper::dx, DAClusterizerInZ_vect::track_t::dz2_ptr, DAClusterizerInZ_vect::track_t::getSize(), mps_fire::i, createfilelist::int, dqmdumpme::k, dqm-mbProfile::log, nt, DAClusterizerInZ_vect::track_t::pi_ptr, funct::pow(), w, and DAClusterizerInZ_vect::track_t::z_ptr.
Definition at line 272 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 1084 of file DAClusterizerInZ_vect.cc.
References funct::abs(), bsc_activity_cfg::clusters, gather_cfg::cout, mps_fire::i, dqmdumpme::k, eostools::move(), position, MetAnalyzer::pv(), PDWG_EXOHSCP_cff::tracks, and pwdgSkimBPark_cfi::vertices.
void DAClusterizerInZ_vect::dump | ( | const double | beta, |
const vertex_t & | y, | ||
const track_t & | tks, | ||
const int | verbosity = 0 |
||
) | const |
Definition at line 1127 of file DAClusterizerInZ_vect.cc.
References a, b, zMuMuMuonUserData::beta, gather_cfg::cout, TauDecayModes::dec, DAClusterizerInZ_vect::track_t::dz2_ptr, 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, DAClusterizerInZ_vect::track_t::pi_ptr, GeomDetEnumerators::PixelBarrel, mathSSE::sqrt(), DAClusterizerInZ_vect::track_t::tt, HIPAlignmentAlgorithm_cfi::verbosity, DAClusterizerInZ_vect::track_t::z_ptr, and DAClusterizerInZ_vect::track_t::Z_sum_ptr.
double DAClusterizerInZ_vect::evalF | ( | const double | beta, |
track_t const & | tks, | ||
vertex_t const & | v | ||
) | const |
Definition at line 519 of file DAClusterizerInZ_vect.cc.
References zMuMuMuonUserData::beta, gather_cfg::cout, DAClusterizerInZ_vect::track_t::dz2, F(), DAClusterizerInZ_vect::track_t::getSize(), mps_fire::i, dqmdumpme::k, dqm-mbProfile::log, nt, DAClusterizerInZ_vect::track_t::pi, mitigatedMETSequence_cff::U, findQualityFiles::v, BeamSpotPI::Z, and DAClusterizerInZ_vect::track_t::z.
DAClusterizerInZ_vect::track_t DAClusterizerInZ_vect::fill | ( | const std::vector< reco::TransientTrack > & | tracks | ) | const |
Definition at line 178 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::track_t::addItemSorted(), HLT_FULL_cff::atIP, pwdgSkimBPark_cfi::beamSpot, gather_cfg::cout, geometryDiff::epsilon, DAClusterizerInZ_vect::track_t::extractRaw(), DAClusterizerInZ_vect::track_t::getSize(), edm::isNotFinite(), LogTrace, min(), position, funct::pow(), AlignmentPI::t_z, and PDWG_EXOHSCP_cff::tracks.
Definition at line 588 of file DAClusterizerInZ_vect.cc.
References cms::cuda::assert(), zMuMuMuonUserData::beta, gather_cfg::cout, hlt_jetmet_dqm_QT_fromfile_cfg::critical, alignBH_cfg::fixed, dqmdumpme::k, and funct::pow().
bool DAClusterizerInZ_vect::purge | ( | vertex_t & | y, |
track_t & | tks, | ||
double & | rho0, | ||
const double | beta | ||
) | const |
Definition at line 643 of file DAClusterizerInZ_vect.cc.
References cms::cuda::assert(), zMuMuMuonUserData::beta, gather_cfg::cout, DAClusterizerInZ_vect::track_t::dz2_ptr, DAClusterizerInZ_vect::track_t::getSize(), mps_fire::i, dqmdumpme::k, reco::ParticleMasses::k0, nt, AlCaHLTBitMon_ParallelJobs::p, DAClusterizerInZ_vect::track_t::pi_ptr, DAClusterizerInZ_vect::track_t::z_ptr, and DAClusterizerInZ_vect::track_t::Z_sum_ptr.
void DAClusterizerInZ_vect::set_vtx_range | ( | double | beta, |
track_t & | gtracks, | ||
vertex_t & | gvertices | ||
) | const |
Definition at line 223 of file DAClusterizerInZ_vect.cc.
References zMuMuMuonUserData::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, min(), nt, mathSSE::sqrt(), mitigatedMETSequence_cff::U, DAClusterizerInZ_vect::track_t::z, DAClusterizerInZ_vect::vertex_t::z_ptr, SiStripMonitorCluster_cfi::zmax, SiStripMonitorCluster_cfi::zmin, and TkClusParameters_cff::zrange.
bool DAClusterizerInZ_vect::split | ( | const double | beta, |
track_t & | t, | ||
vertex_t & | y, | ||
double | threshold = 1. |
||
) | const |
Definition at line 764 of file DAClusterizerInZ_vect.cc.
References cms::cuda::assert(), zMuMuMuonUserData::beta, gather_cfg::cout, hlt_jetmet_dqm_QT_fromfile_cfg::critical, DAClusterizerInZ_vect::track_t::dz2_ptr, MillePedeFileConverter_cfg::e, geometryDiff::epsilon, alignBH_cfg::fixed, DAClusterizerInZ_vect::track_t::getSize(), mps_fire::i, dqmdumpme::k, nt, AlCaHLTBitMon_ParallelJobs::p, p1, p2, DAClusterizerInZ_vect::track_t::pi_ptr, edm::second(), submitPVValidationJobs::split(), mathSSE::sqrt(), submitPVValidationJobs::t, remoteMonitoring_LED_IterMethod_cfg::threshold, w, w2, testProducerWithPsetDescEmpty_cfi::z2, DAClusterizerInZ_vect::track_t::z_ptr, and DAClusterizerInZ_vect::track_t::Z_sum_ptr.
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 540 of file DAClusterizerInZ_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 DAClusterizerInZ_vect::update | ( | double | beta, |
track_t & | gtracks, | ||
vertex_t & | gvertices, | ||
const double | rho0 = 0 |
||
) | const |
Definition at line 281 of file DAClusterizerInZ_vect.cc.
References funct::abs(), cms::cuda::assert(), zMuMuMuonUserData::beta, dumpMFGeometry_cfg::delta, DAClusterizerInZ_vect::vertex_t::ei_cache_ptr, DAClusterizerInZ_vect::vertex_t::ei_ptr, 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::pi_ptr, DAClusterizerInZ_vect::vertex_t::se_ptr, DAClusterizerInZ_vect::vertex_t::sw_ptr, DAClusterizerInZ_vect::vertex_t::swz_ptr, PDWG_EXOHSCP_cff::tracks, mitigatedMETSequence_cff::U, pwdgSkimBPark_cfi::vertices, w, DAClusterizerInZ_vect::track_t::Z_sum, and DAClusterizerInZ_vect::track_t::Z_sum_ptr.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
double DAClusterizerInZ_vect::updateTc | ( | double | beta, |
track_t & | gtracks, | ||
vertex_t & | gvertices, | ||
const double | rho0 = 0 |
||
) | const |
Definition at line 402 of file DAClusterizerInZ_vect.cc.
References funct::abs(), zMuMuMuonUserData::beta, dumpMFGeometry_cfg::delta, DAClusterizerInZ_vect::vertex_t::ei_cache_ptr, DAClusterizerInZ_vect::vertex_t::ei_ptr, 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::pi_ptr, DAClusterizerInZ_vect::vertex_t::se_ptr, DAClusterizerInZ_vect::vertex_t::sw_ptr, DAClusterizerInZ_vect::vertex_t::swE_ptr, DAClusterizerInZ_vect::vertex_t::swz_ptr, PDWG_EXOHSCP_cff::tracks, mitigatedMETSequence_cff::U, pwdgSkimBPark_cfi::vertices, w, and DAClusterizerInZ_vect::track_t::Z_sum_ptr.
void DAClusterizerInZ_vect::verify | ( | const vertex_t & | v, |
const track_t & | tks, | ||
unsigned int | nv = 999999 , |
||
unsigned int | nt = 999999 |
||
) | const |
Definition at line 113 of file DAClusterizerInZ_vect.cc.
References cms::cuda::assert(), gather_cfg::cout, DAClusterizerInZ_vect::track_t::dz2, DAClusterizerInZ_vect::track_t::dz2_ptr, 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::pi, DAClusterizerInZ_vect::track_t::pi_ptr, DAClusterizerInZ_vect::track_t::tt, findQualityFiles::v, DAClusterizerInZ_vect::track_t::z, DAClusterizerInZ_vect::track_t::z_ptr, DAClusterizerInZ_vect::track_t::Z_sum, and DAClusterizerInZ_vect::track_t::Z_sum_ptr.
vector< TransientVertex > DAClusterizerInZ_vect::vertices | ( | const std::vector< reco::TransientTrack > & | tracks, |
const int | verbosity = 0 |
||
) | const |
Definition at line 881 of file DAClusterizerInZ_vect.cc.
References a, zMuMuMuonUserData::beta, bsc_activity_cfg::clusters, gather_cfg::cout, FrontierConditions_GlobalTag_cff::dump, DAClusterizerInZ_vect::track_t::dz2_ptr, MillePedeFileConverter_cfg::e, DAClusterizerInZ_vect::track_t::extractRaw(), ntuplemaker::fill, cms::cuda::for(), DAClusterizerInZ_vect::track_t::getSize(), mps_fire::i, edm::isNotFinite(), dqmdumpme::k, MatrixUtil::merge(), min(), nt, AlCaHLTBitMon_ParallelJobs::p, DAClusterizerInZ_vect::track_t::pi_ptr, submitPVValidationJobs::split(), mathSSE::sqrt(), remoteMonitoring_LED_IterMethod_cfg::threshold, PDWG_EXOHSCP_cff::tracks, DAClusterizerInZ_vect::track_t::tt, update, findQualityFiles::v, DAClusterizerInZ_vect::track_t::z_ptr, and DAClusterizerInZ_vect::track_t::Z_sum_ptr.
|
private |
Definition at line 240 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 248 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 241 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 250 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 239 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 243 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 251 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 252 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 242 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 238 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 245 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 254 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 246 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 233 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 237 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 234 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 235 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 247 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 255 of file DAClusterizerInZ_vect.h.