#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 |
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 &y, double &beta) const |
bool | purge (vertex_t &, track_t &, double &, const double) const |
bool | split (const double beta, track_t &t, vertex_t &y, double threshold=1.) const |
void | splitAll (vertex_t &y) const |
double | update (double beta, track_t >racks, vertex_t &gvertices, bool useRho0, const double &rho0) const |
std::vector< TransientVertex > | vertices (const std::vector< reco::TransientTrack > &tracks, const int verbosity=0) const |
void | 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_ |
double | coolingFactor_ |
double | d0CutOff_ |
double | dtCutOff_ |
double | dzCutOff_ |
int | maxIterations_ |
double | mintrkweight_ |
double | tmerge_ |
double | uniquetrkweight_ |
bool | useTc_ |
bool | verbose_ |
double | vertexSize_ |
double | vertexSizeTime_ |
double | zdumpcenter_ |
double | zdumpwidth_ |
double | zmerge_ |
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 16 of file DAClusterizerInZT_vect.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, SiStripPI::max, and lumiCalc2::stopT.
double DAClusterizerInZT_vect::beta0 | ( | const double | betamax, |
track_t const & | tks, | ||
vertex_t const & | y | ||
) | const |
Definition at line 525 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, createfilelist::int, gen::k, cmsBatch::log, nt, DAClusterizerInZT_vect::track_t::pi_, funct::pow(), mathSSE::sqrt(), DAClusterizerInZT_vect::track_t::t_, DAClusterizerInZT_vect::vertex_t::t_, w, DAClusterizerInZT_vect::track_t::z_, and DAClusterizerInZT_vect::vertex_t::z_.
|
overridevirtual |
Implements TrackClusterizerInZ.
Definition at line 1023 of file DAClusterizerInZT_vect.cc.
References fastPrimaryVertexProducer_cfi::clusters, gather_cfg::cout, gen::k, MetAnalyzer::pv(), and electrons_cff::vertices.
void DAClusterizerInZT_vect::dump | ( | const double | beta, |
const vertex_t & | y, | ||
const track_t & | tks, | ||
const int | verbosity = 0 |
||
) | const |
Definition at line 1091 of file DAClusterizerInZT_vect.cc.
References a, b, pfBoostedDoubleSVAK8TagInfos_cfi::beta, gather_cfg::cout, TauDecayModes::dec, DAClusterizerInZT_vect::track_t::dt2_, DAClusterizerInZT_vect::track_t::dz2_, Measurement1D::error(), JetChargeProducer_cfi::exp, F(), alignBH_cfg::fixed, DAClusterizerInZT_vect::track_t::getSize(), DAClusterizerInZT_vect::vertex_t::getSize(), h, reco::TrackBase::highPurity, mps_fire::i, listHistos::IP, cmsBatch::log, reco::HitPattern::MISSING_OUTER_HITS, nt, AlCaHLTBitMon_ParallelJobs::p, DAClusterizerInZT_vect::track_t::pi_, GeomDetEnumerators::PixelBarrel, DAClusterizerInZT_vect::vertex_t::pk_, mathSSE::sqrt(), DAClusterizerInZT_vect::track_t::t_, DAClusterizerInZT_vect::vertex_t::t_, DAClusterizerInZT_vect::track_t::tt, Measurement1D::value(), DAClusterizerInZT_vect::track_t::z_, DAClusterizerInZT_vect::vertex_t::z_, and DAClusterizerInZT_vect::track_t::Z_sum_.
DAClusterizerInZT_vect::track_t DAClusterizerInZT_vect::fill | ( | const std::vector< reco::TransientTrack > & | tracks | ) | const |
Definition at line 107 of file DAClusterizerInZT_vect.cc.
References DAClusterizerInZT_vect::track_t::addItem(), TSGForRoadSearchIOpxl_cfi::atIP, 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(), LogTrace, min(), funct::pow(), AlignmentPI::t_z, and Measurement1D::value().
bool DAClusterizerInZT_vect::find_nearest | ( | double | z, |
double | t, | ||
vertex_t & | y, | ||
unsigned int & | k_min, | ||
double | dz, | ||
double | dt | ||
) | const |
Definition at line 354 of file DAClusterizerInZT_vect.cc.
References funct::abs(), delta, DAClusterizerInZT_vect::vertex_t::getSize(), gen::k, reco::ParticleMasses::k0, funct::pow(), DAClusterizerInZT_vect::vertex_t::t_, DAClusterizerInZT_vect::vertex_t::z, and DAClusterizerInZT_vect::vertex_t::z_.
double DAClusterizerInZT_vect::get_Tc | ( | const vertex_t & | y, |
int | k | ||
) | const |
Definition at line 587 of file DAClusterizerInZT_vect.cc.
References gen::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_.
bool DAClusterizerInZT_vect::merge | ( | vertex_t & | y, |
double & | beta | ||
) | const |
Definition at line 400 of file DAClusterizerInZT_vect.cc.
References gather_cfg::cout, delta, DAClusterizerInZT_vect::vertex_t::extractRaw(), alignBH_cfg::fixed, DAClusterizerInZT_vect::vertex_t::getSize(), DAClusterizerInZT_vect::vertex_t::pk_, funct::pow(), DAClusterizerInZT_vect::vertex_t::removeItem(), DAClusterizerInZT_vect::vertex_t::t_, DAClusterizerInZT_vect::vertex_t::z, and DAClusterizerInZT_vect::vertex_t::z_.
bool DAClusterizerInZT_vect::purge | ( | vertex_t & | y, |
track_t & | tks, | ||
double & | rho0, | ||
const double | beta | ||
) | const |
Definition at line 448 of file DAClusterizerInZT_vect.cc.
References constexpr, gather_cfg::cout, DAClusterizerInZT_vect::track_t::dt2_, DAClusterizerInZT_vect::track_t::dz2_, DAClusterizerInZT_vect::track_t::getSize(), DAClusterizerInZT_vect::vertex_t::getSize(), mps_fire::i, gen::k, reco::ParticleMasses::k0, nt, AlCaHLTBitMon_ParallelJobs::p, DAClusterizerInZT_vect::track_t::pi_, DAClusterizerInZT_vect::vertex_t::pk_, DAClusterizerInZT_vect::vertex_t::removeItem(), DAClusterizerInZT_vect::track_t::t_, DAClusterizerInZT_vect::vertex_t::t_, DAClusterizerInZT_vect::track_t::z_, DAClusterizerInZT_vect::vertex_t::z_, and DAClusterizerInZT_vect::track_t::Z_sum_.
bool DAClusterizerInZT_vect::split | ( | const double | beta, |
track_t & | t, | ||
vertex_t & | y, | ||
double | threshold = 1. |
||
) | const |
Definition at line 595 of file DAClusterizerInZT_vect.cc.
References funct::abs(), pfBoostedDoubleSVAK8TagInfos_cfi::beta, constexpr, funct::cos(), gather_cfg::cout, DAClusterizerInZT_vect::track_t::dt2_, DAClusterizerInZT_vect::track_t::dz2_, MillePedeFileConverter_cfg::e, alignBH_cfg::fixed, DAClusterizerInZT_vect::track_t::getSize(), DAClusterizerInZT_vect::vertex_t::getSize(), mps_fire::i, DAClusterizerInZT_vect::vertex_t::insertOrdered(), gen::k, nt, DAClusterizerInZT_vect::vertex_t::nut_, DAClusterizerInZT_vect::vertex_t::nuz_, AlCaHLTBitMon_ParallelJobs::p, p1, p2, DAClusterizerInZT_vect::track_t::pi_, DAClusterizerInZT_vect::vertex_t::pk_, funct::pow(), q1, DAClusterizerInZT_vect::vertex_t::removeItem(), edm::second(), funct::sin(), split, mathSSE::sqrt(), DAClusterizerInZT_vect::vertex_t::stt_, DAClusterizerInZT_vect::vertex_t::szt_, DAClusterizerInZT_vect::vertex_t::szz_, lumiQTWidget::t, DAClusterizerInZT_vect::track_t::t, DAClusterizerInZT_vect::track_t::t_, DAClusterizerInZT_vect::vertex_t::t_, DAClusterizerInZT_vect::track_t::z_, DAClusterizerInZT_vect::vertex_t::z_, and DAClusterizerInZT_vect::track_t::Z_sum_.
void DAClusterizerInZT_vect::splitAll | ( | vertex_t & | y | ) | const |
Definition at line 751 of file DAClusterizerInZT_vect.cc.
References DAClusterizerInZT_vect::vertex_t::addItem(), constexpr, gather_cfg::cout, DAClusterizerInZT_vect::vertex_t::debugOut(), MillePedeFileConverter_cfg::e, DAClusterizerInZT_vect::vertex_t::extractRaw(), DAClusterizerInZT_vect::vertex_t::getSize(), gen::k, DAClusterizerInZT_vect::vertex_t::pk, DAClusterizerInZT_vect::vertex_t::pk_, DAClusterizerInZT_vect::vertex_t::t, DAClusterizerInZT_vect::vertex_t::t_, DAClusterizerInZT_vect::vertex_t::z, and DAClusterizerInZT_vect::vertex_t::z_.
double DAClusterizerInZT_vect::update | ( | double | beta, |
track_t & | gtracks, | ||
vertex_t & | gvertices, | ||
bool | useRho0, | ||
const double & | rho0 | ||
) | const |
Definition at line 165 of file DAClusterizerInZT_vect.cc.
References pfBoostedDoubleSVAK8TagInfos_cfi::beta, gather_cfg::cout, delta, DAClusterizerInZT_vect::vertex_t::ei_, DAClusterizerInZT_vect::vertex_t::ei_cache_, DAClusterizerInZT_vect::track_t::getSize(), DAClusterizerInZT_vect::vertex_t::getSize(), edm::isNotFinite(), gen::k, nt, DAClusterizerInZT_vect::vertex_t::nut_, DAClusterizerInZT_vect::vertex_t::nuz_, DAClusterizerInZT_vect::track_t::pi_, funct::pow(), DAClusterizerInZT_vect::vertex_t::se_, DAClusterizerInZT_vect::vertex_t::stt_, DAClusterizerInZT_vect::vertex_t::swt_, DAClusterizerInZT_vect::vertex_t::swz_, DAClusterizerInZT_vect::vertex_t::szt_, DAClusterizerInZT_vect::vertex_t::szz_, DAClusterizerInZT_vect::track_t::t_, l1t::tracks, mitigatedMETSequence_cff::U, electrons_cff::vertices, w, and DAClusterizerInZT_vect::track_t::Z_sum_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
vector< TransientVertex > DAClusterizerInZT_vect::vertices | ( | const std::vector< reco::TransientTrack > & | tracks, |
const int | verbosity = 0 |
||
) | const |
Definition at line 815 of file DAClusterizerInZT_vect.cc.
References a, DAClusterizerInZT_vect::vertex_t::addItem(), pfBoostedDoubleSVAK8TagInfos_cfi::beta, fastPrimaryVertexProducer_cfi::clusters, gather_cfg::cout, DAClusterizerInZT_vect::track_t::dt2_, FrontierConditions_GlobalTag_cff::dump, DAClusterizerInZT_vect::track_t::dz2_, MillePedeFileConverter_cfg::e, DAClusterizerInZT_vect::track_t::extractRaw(), lumiContext::fill, DAClusterizerInZT_vect::track_t::getSize(), DAClusterizerInZT_vect::vertex_t::getSize(), mps_fire::i, edm::isNotFinite(), gen::k, MatrixUtil::merge(), min(), nt, AlCaHLTBitMon_ParallelJobs::p, DAClusterizerInZT_vect::track_t::pi_, DAClusterizerInZT_vect::vertex_t::pk_, split, mathSSE::sqrt(), DAClusterizerInZT_vect::track_t::t_, DAClusterizerInZT_vect::vertex_t::t_, electronIdCutBased_cfi::threshold, DAClusterizerInZT_vect::track_t::tt, update, findQualityFiles::v, DAClusterizerInZT_vect::track_t::z_, DAClusterizerInZT_vect::vertex_t::z_, and DAClusterizerInZT_vect::track_t::Z_sum_.
void DAClusterizerInZT_vect::zorder | ( | vertex_t & | y | ) | const |
|
private |
Definition at line 255 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 266 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 256 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 254 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 258 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 259 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 257 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 253 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 262 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 265 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 263 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 260 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 247 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 251 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 252 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 248 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 249 of file DAClusterizerInZT_vect.h.
|
private |
Definition at line 264 of file DAClusterizerInZT_vect.h.