#include <DAClusterizerInZT.h>
Classes | |
struct | track_t |
struct | vertex_t |
Public Member Functions | |
double | beta0 (const double betamax, std::vector< track_t > &tks, std::vector< vertex_t > &y) const |
std::vector< std::vector< reco::TransientTrack > > | clusterize (const std::vector< reco::TransientTrack > &tracks) const |
DAClusterizerInZT (const edm::ParameterSet &conf) | |
void | dump (const double beta, const std::vector< vertex_t > &y, const std::vector< track_t > &tks, const int verbosity=0) const |
double | e_ik (const track_t &t, const vertex_t &k) const |
std::vector< track_t > | fill (const std::vector< reco::TransientTrack > &tracks) const |
bool | merge (std::vector< vertex_t > &, int) const |
bool | merge (std::vector< vertex_t > &, double &) const |
bool | purge (std::vector< vertex_t > &, std::vector< track_t > &, double &, const double) const |
bool | split (double beta, std::vector< track_t > &tks, std::vector< vertex_t > &y, double threshold) const |
void | splitAll (std::vector< vertex_t > &y) const |
double | update (double beta, std::vector< track_t > &tks, std::vector< vertex_t > &y, const double rho0=0.0) 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 | |
float | betamax_ |
float | betastop_ |
double | coolingFactor_ |
double | d0CutOff_ |
double | dtCutOff_ |
double | dzCutOff_ |
double | logCoolingFactor_ |
int | maxIterations_ |
bool | useTc_ |
bool | verbose_ |
float | vertexSize_ |
Description: separates event tracks into clusters along the beam line
Definition at line 18 of file DAClusterizerInZT.h.
DAClusterizerInZT::DAClusterizerInZT | ( | const edm::ParameterSet & | conf | ) |
Definition at line 395 of file DAClusterizerInZT.cc.
References betamax_, coolingFactor_, edm::ParameterSet::getParameter(), cmsBatch::log, logCoolingFactor_, mathSSE::sqrt(), OfflinePixel3DPrimaryVertices_cfi::Tmin, and useTc_.
double DAClusterizerInZT::beta0 | ( | const double | betamax, |
std::vector< track_t > & | tks, | ||
std::vector< vertex_t > & | y | ||
) | const |
Definition at line 245 of file DAClusterizerInZT.cc.
References a, b, dt, mps_fire::i, gen::k, cmsBatch::log, nt, funct::pow(), funct::sqr(), and w.
Referenced by vertices().
|
virtual |
Implements TrackClusterizerInZ.
Definition at line 656 of file DAClusterizerInZT.cc.
References funct::abs(), fastPrimaryVertexProducer_cfi::clusters, gather_cfg::cout, SoftLeptonByDistance_cfi::distance, mps_fire::i, gen::k, position, MetAnalyzer::pv(), ntuplemaker::time, verbose_, vertexSize_, and vertices().
void DAClusterizerInZT::dump | ( | const double | beta, |
const std::vector< vertex_t > & | y, | ||
const std::vector< track_t > & | tks, | ||
const int | verbosity = 0 |
||
) | const |
Definition at line 424 of file DAClusterizerInZT.cc.
References beta, betamax_, gather_cfg::cout, TauDecayModes::dec, e_ik(), Measurement1D::error(), JetChargeProducer_cfi::exp, F(), alignBH_cfg::fixed, reco::TrackBase::highPurity, mps_fire::i, listHistos::IP, gen::k, cmsBatch::log, reco::HitPattern::MISSING_OUTER_HITS, AlCaHLTBitMon_ParallelJobs::p, pi, GeomDetEnumerators::PixelBarrel, mathSSE::sqrt(), lumiQTWidget::t, groupFilesInBlocks::tt, and Measurement1D::value().
Referenced by vertices().
Definition at line 70 of file DAClusterizerInZT.cc.
References DAClusterizerInZT::track_t::dt2, DAClusterizerInZT::track_t::dz2, funct::sqr(), DAClusterizerInZT::track_t::t, DAClusterizerInZT::vertex_t::t, DAClusterizerInZT::track_t::z, and DAClusterizerInZT::vertex_t::z.
Referenced by dump(), and vertices().
vector< DAClusterizerInZT::track_t > DAClusterizerInZT::fill | ( | const std::vector< reco::TransientTrack > & | tracks | ) | const |
Definition at line 25 of file DAClusterizerInZT.cc.
References funct::abs(), reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), DAClusterizerInZT::track_t::dt2, DAClusterizerInZT::track_t::dtz, DAClusterizerInZT::track_t::dz2, geometryDiff::epsilon, Measurement1D::error(), JetChargeProducer_cfi::exp, listHistos::IP, edm::isFinite(), DAClusterizerInZT::track_t::pi, funct::sqr(), DAClusterizerInZT::track_t::t, lumiQTWidget::t, DAClusterizerInZT::track_t::tt, Measurement1D::value(), DAClusterizerInZT::track_t::z, and DAClusterizerInZT::track_t::zi.
Referenced by vertices().
bool DAClusterizerInZT::merge | ( | std::vector< vertex_t > & | y, |
int | nt | ||
) | const |
Definition at line 149 of file DAClusterizerInZT.cc.
References funct::abs(), geometryDiff::epsilon, gen::k, and lumiQTWidget::t.
Referenced by vertices().
bool DAClusterizerInZT::merge | ( | std::vector< vertex_t > & | y, |
double & | beta | ||
) | const |
Definition at line 175 of file DAClusterizerInZT.cc.
References funct::abs(), geometryDiff::epsilon, gen::k, funct::sqr(), and lumiQTWidget::t.
bool DAClusterizerInZT::purge | ( | std::vector< vertex_t > & | y, |
std::vector< track_t > & | tks, | ||
double & | rho0, | ||
const double | beta | ||
) | const |
Definition at line 210 of file DAClusterizerInZT.cc.
References gather_cfg::cout, JetChargeProducer_cfi::exp, mps_fire::i, gen::k, reco::ParticleMasses::k0, nt, AlCaHLTBitMon_ParallelJobs::p, and pi.
Referenced by vertices().
bool DAClusterizerInZT::split | ( | double | beta, |
std::vector< track_t > & | tks, | ||
std::vector< vertex_t > & | y, | ||
double | threshold | ||
) | const |
Definition at line 289 of file DAClusterizerInZT.cc.
References funct::abs(), geometryDiff::epsilon, JetChargeProducer_cfi::exp, mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, p1, p2, DAClusterizerInZT::vertex_t::pk, edm::second(), split, DAClusterizerInZT::vertex_t::t, reco::t2, w, w2, and DAClusterizerInZT::vertex_t::z.
Referenced by vertices().
void DAClusterizerInZT::splitAll | ( | std::vector< vertex_t > & | y | ) | const |
Definition at line 360 of file DAClusterizerInZT.cc.
References constexpr, geometryDiff::epsilon, gen::k, DAClusterizerInZT::vertex_t::pk, DAClusterizerInZT::vertex_t::t, and DAClusterizerInZT::vertex_t::z.
Referenced by vertices().
double DAClusterizerInZT::update | ( | double | beta, |
std::vector< track_t > & | tks, | ||
std::vector< vertex_t > & | y, | ||
const double | rho0 = 0.0 |
||
) | const |
Definition at line 79 of file DAClusterizerInZT.cc.
References gather_cfg::cout, delta, JetChargeProducer_cfi::exp, mps_fire::i, gen::k, nt, funct::sqr(), and w.
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(), Vispa.Gui.PortConnection.PointToPointConnection::updateConnection(), and vertices().
vector< TransientVertex > DAClusterizerInZT::vertices | ( | const std::vector< reco::TransientTrack > & | tracks, |
const int | verbosity = 0 |
||
) | const |
Definition at line 508 of file DAClusterizerInZT.cc.
References beta, beta0(), betamax_, betastop_, fastPrimaryVertexProducer_cfi::clusters, coolingFactor_, gather_cfg::cout, dump(), dzCutOff_, MillePedeFileConverter_cfg::e, e_ik(), JetChargeProducer_cfi::exp, fill(), mps_fire::i, gen::k, maxIterations_, RecoTauDiscriminantConfiguration::mean, merge(), nt, AlCaHLTBitMon_ParallelJobs::p, pi, DAClusterizerInZT::vertex_t::pk, purge(), split(), splitAll(), mathSSE::sqrt(), DAClusterizerInZT::vertex_t::t, ntuplemaker::time, groupFilesInBlocks::tt, update(), useTc_, findQualityFiles::v, verbose_, y, and DAClusterizerInZT::vertex_t::z.
Referenced by clusterize().
|
private |
Definition at line 95 of file DAClusterizerInZT.h.
Referenced by DAClusterizerInZT(), dump(), and vertices().
|
private |
Definition at line 96 of file DAClusterizerInZT.h.
Referenced by vertices().
|
private |
Definition at line 93 of file DAClusterizerInZT.h.
Referenced by DAClusterizerInZT(), and vertices().
|
private |
Definition at line 98 of file DAClusterizerInZT.h.
|
private |
Definition at line 99 of file DAClusterizerInZT.h.
|
private |
Definition at line 97 of file DAClusterizerInZT.h.
Referenced by vertices().
|
private |
Definition at line 94 of file DAClusterizerInZT.h.
Referenced by DAClusterizerInZT().
|
private |
Definition at line 92 of file DAClusterizerInZT.h.
Referenced by vertices().
|
private |
Definition at line 90 of file DAClusterizerInZT.h.
Referenced by DAClusterizerInZT(), and vertices().
|
private |
Definition at line 89 of file DAClusterizerInZT.h.
Referenced by clusterize(), and vertices().
|
private |
Definition at line 91 of file DAClusterizerInZT.h.
Referenced by clusterize().