#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 |
std::vector< std::vector < reco::TransientTrack > > | clusterize (const std::vector< reco::TransientTrack > &tracks) const |
DAClusterizerInZ_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 | merge (vertex_t &) 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) const |
void | splitAll (vertex_t &y) const |
double | update (double beta, track_t >racks, vertex_t &gvertices, bool useRho0, double &rho0) 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 | dzCutOff_ |
int | maxIterations_ |
bool | useTc_ |
bool | verbose_ |
float | vertexSize_ |
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 15 of file DAClusterizerInZ_vect.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), LogDebug, and builder_last_value_cfg::Tmin.
double DAClusterizerInZ_vect::beta0 | ( | const double | betamax, |
track_t const & | tks, | ||
vertex_t const & | y | ||
) | const |
Definition at line 355 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::track_t::_dz2, DAClusterizerInZ_vect::track_t::_pi, DAClusterizerInZ_vect::track_t::_z, DAClusterizerInZ_vect::vertex_t::_z, a, b, DAClusterizerInZ_vect::track_t::GetSize(), DAClusterizerInZ_vect::vertex_t::GetSize(), i, relval_steps::k, create_public_lumi_plots::log, nt, funct::pow(), and w.
|
virtual |
Implements TrackClusterizerInZ.
Definition at line 660 of file DAClusterizerInZ_vect.cc.
References funct::abs(), HLT_25ns14e33_v1_cff::clusters, gather_cfg::cout, i, relval_steps::k, LogDebug, position, MetAnalyzer::pv(), and HLT_25ns14e33_v1_cff::vertices.
void DAClusterizerInZ_vect::dump | ( | const double | beta, |
const vertex_t & | y, | ||
const track_t & | tks, | ||
const int | verbosity = 0 |
||
) | const |
Definition at line 704 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::track_t::_dz2, DAClusterizerInZ_vect::track_t::_pi, DAClusterizerInZ_vect::vertex_t::_pk, DAClusterizerInZ_vect::track_t::_z, DAClusterizerInZ_vect::vertex_t::_z, DAClusterizerInZ_vect::track_t::_Z_sum, beta, TauDecayModes::dec, Measurement1D::error(), create_public_lumi_plots::exp, F(), DAClusterizerInZ_vect::track_t::GetSize(), DAClusterizerInZ_vect::vertex_t::GetSize(), reco::TrackBase::highPurity, i, listHistos::IP, create_public_lumi_plots::log, LogDebug, reco::HitPattern::MISSING_OUTER_HITS, nt, AlCaHLTBitMon_ParallelJobs::p, mathSSE::sqrt(), DAClusterizerInZ_vect::track_t::tt, and Measurement1D::value().
DAClusterizerInZ_vect::track_t DAClusterizerInZ_vect::fill | ( | const std::vector< reco::TransientTrack > & | tracks | ) | const |
Definition at line 63 of file DAClusterizerInZ_vect.cc.
References funct::abs(), DAClusterizerInZ_vect::track_t::AddItem(), SiPixelRawToDigiRegional_cfi::beamSpot, HLT_25ns14e33_v1_cff::beamspot, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), geometryDiff::epsilon, Measurement1D::error(), DAClusterizerInZ_vect::track_t::ExtractRaw(), DAClusterizerInZ_vect::track_t::GetSize(), edm::isNotFinite(), LogDebug, LogTrace, min(), position, funct::pow(), and Measurement1D::value().
bool DAClusterizerInZ_vect::merge | ( | vertex_t & | y | ) | const |
Definition at line 278 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::vertex_t::_pk, DAClusterizerInZ_vect::vertex_t::_z, funct::abs(), DAClusterizerInZ_vect::vertex_t::GetSize(), relval_steps::k, LogDebug, and DAClusterizerInZ_vect::vertex_t::RemoveItem().
bool DAClusterizerInZ_vect::merge | ( | vertex_t & | y, |
double & | beta | ||
) | const |
Definition at line 240 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::vertex_t::_pk, DAClusterizerInZ_vect::vertex_t::_sw, DAClusterizerInZ_vect::vertex_t::_swE, DAClusterizerInZ_vect::vertex_t::_z, DAClusterizerInZ_vect::vertex_t::GetSize(), relval_steps::k, funct::pow(), DAClusterizerInZ_vect::vertex_t::RemoveItem(), and rho.
bool DAClusterizerInZ_vect::purge | ( | vertex_t & | y, |
track_t & | tks, | ||
double & | rho0, | ||
const double | beta | ||
) | const |
Definition at line 306 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::track_t::_dz2, DAClusterizerInZ_vect::track_t::_pi, DAClusterizerInZ_vect::vertex_t::_pk, DAClusterizerInZ_vect::track_t::_z, DAClusterizerInZ_vect::vertex_t::_z, DAClusterizerInZ_vect::track_t::_Z_sum, DAClusterizerInZ_vect::track_t::GetSize(), DAClusterizerInZ_vect::vertex_t::GetSize(), i, relval_steps::k, reco::ParticleMasses::k0, LogDebug, nt, AlCaHLTBitMon_ParallelJobs::p, and DAClusterizerInZ_vect::vertex_t::RemoveItem().
Definition at line 396 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::track_t::_dz2, DAClusterizerInZ_vect::vertex_t::_pk, DAClusterizerInZ_vect::vertex_t::_sw, DAClusterizerInZ_vect::vertex_t::_swE, DAClusterizerInZ_vect::track_t::_z, DAClusterizerInZ_vect::vertex_t::_z, DAClusterizerInZ_vect::track_t::_Z_sum, hlt_jetmet_dqm_QT_fromfile_cfg::critical, alignCSCRings::e, geometryDiff::epsilon, DAClusterizerInZ_vect::track_t::GetSize(), DAClusterizerInZ_vect::vertex_t::GetSize(), i, DAClusterizerInZ_vect::vertex_t::InsertItem(), relval_steps::k, nt, AlCaHLTBitMon_ParallelJobs::p, p1, p2, edm::second(), split, w, and w2.
void DAClusterizerInZ_vect::splitAll | ( | vertex_t & | y | ) | const |
Definition at line 464 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::vertex_t::_pk, DAClusterizerInZ_vect::vertex_t::_z, DAClusterizerInZ_vect::vertex_t::AddItem(), DAClusterizerInZ_vect::vertex_t::DebugOut(), alignCSCRings::e, geometryDiff::epsilon, DAClusterizerInZ_vect::vertex_t::ExtractRaw(), DAClusterizerInZ_vect::vertex_t::GetSize(), relval_steps::k, LogDebug, DAClusterizerInZ_vect::vertex_t::pk, and DAClusterizerInZ_vect::vertex_t::z.
double DAClusterizerInZ_vect::update | ( | double | beta, |
track_t & | gtracks, | ||
vertex_t & | gvertices, | ||
bool | useRho0, | ||
double & | rho0 | ||
) | const |
Definition at line 108 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::vertex_t::_ei, DAClusterizerInZ_vect::vertex_t::_ei_cache, DAClusterizerInZ_vect::track_t::_pi, DAClusterizerInZ_vect::vertex_t::_se, DAClusterizerInZ_vect::vertex_t::_sw, DAClusterizerInZ_vect::vertex_t::_swE, DAClusterizerInZ_vect::vertex_t::_swz, DAClusterizerInZ_vect::track_t::_Z_sum, beta, delta, DAClusterizerInZ_vect::track_t::GetSize(), DAClusterizerInZ_vect::vertex_t::GetSize(), relval_steps::k, LogDebug, nt, funct::pow(), testEve_cfg::tracks, HLT_25ns14e33_v1_cff::vertices, 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(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
vector< TransientVertex > DAClusterizerInZ_vect::vertices | ( | const std::vector< reco::TransientTrack > & | tracks, |
const int | verbosity = 0 |
||
) | const |
Definition at line 517 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::track_t::_dz2, DAClusterizerInZ_vect::track_t::_pi, DAClusterizerInZ_vect::vertex_t::_pk, DAClusterizerInZ_vect::track_t::_z, DAClusterizerInZ_vect::vertex_t::_z, DAClusterizerInZ_vect::track_t::_Z_sum, DAClusterizerInZ_vect::vertex_t::AddItem(), beta, HLT_25ns14e33_v1_cff::clusters, hcal_timing_source_file_cfg::dump, alignCSCRings::e, DAClusterizerInZ_vect::track_t::ExtractRaw(), lumiContext::fill, DAClusterizerInZ_vect::track_t::GetSize(), DAClusterizerInZ_vect::vertex_t::GetSize(), i, edm::isNotFinite(), relval_steps::k, LogDebug, MatrixUtil::merge(), nt, AlCaHLTBitMon_ParallelJobs::p, split, DAClusterizerInZ_vect::track_t::tt, update, and findQualityFiles::v.
|
private |
Definition at line 202 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 203 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 201 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 205 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 204 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 200 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 206 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 198 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 199 of file DAClusterizerInZ_vect.h.