#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 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 |
track_t | fill (const std::vector< reco::TransientTrack > &tracks) 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 |
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 | dzCutOff_ |
int | maxIterations_ |
double | mintrkweight_ |
double | uniquetrkweight_ |
bool | useTc_ |
bool | verbose_ |
double | vertexSize_ |
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 21 of file DAClusterizerInZ_vect.h.
DAClusterizerInZ_vect::DAClusterizerInZ_vect | ( | const edm::ParameterSet & | conf | ) |
Definition at line 15 of file DAClusterizerInZ_vect.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, SiStripPI::max, OfflinePixel3DPrimaryVertices_cfi::Tmin, OfflinePixel3DPrimaryVertices_cfi::Tpurge, and OfflinePixel3DPrimaryVertices_cfi::Tstop.
double DAClusterizerInZ_vect::beta0 | ( | const double | betamax, |
track_t const & | tks, | ||
vertex_t const & | y | ||
) | const |
Definition at line 377 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, gather_cfg::cout, PVValHelper::dx, DAClusterizerInZ_vect::track_t::GetSize(), DAClusterizerInZ_vect::vertex_t::GetSize(), mps_fire::i, createfilelist::int, gen::k, cmsBatch::log, nt, funct::pow(), and w.
|
overridevirtual |
Implements TrackClusterizerInZ.
Definition at line 750 of file DAClusterizerInZ_vect.cc.
References funct::abs(), fastPrimaryVertexProducer_cfi::clusters, gather_cfg::cout, mps_fire::i, gen::k, eostools::move(), position, MetAnalyzer::pv(), and electrons_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 798 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::track_t::_dz2, DAClusterizerInZ_vect::track_t::_pi, 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, a, b, pfBoostedDoubleSVAK8TagInfos_cfi::beta, gather_cfg::cout, TauDecayModes::dec, Measurement1D::error(), JetChargeProducer_cfi::exp, F(), alignBH_cfg::fixed, DAClusterizerInZ_vect::track_t::GetSize(), DAClusterizerInZ_vect::vertex_t::GetSize(), reco::TrackBase::highPurity, mps_fire::i, listHistos::IP, cmsBatch::log, reco::HitPattern::MISSING_OUTER_HITS, nt, AlCaHLTBitMon_ParallelJobs::p, GeomDetEnumerators::PixelBarrel, jetUpdater_cfi::sort, 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 96 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::track_t::AddItem(), TSGForRoadSearchIOpxl_cfi::atIP, ecalDrivenElectronSeedsParameters_cff::beamSpot, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), gather_cfg::cout, geometryDiff::epsilon, Measurement1D::error(), DAClusterizerInZ_vect::track_t::ExtractRaw(), DAClusterizerInZ_vect::track_t::GetSize(), edm::isNotFinite(), LogTrace, min(), position, funct::pow(), AlignmentPI::t_z, and Measurement1D::value().
bool DAClusterizerInZ_vect::merge | ( | vertex_t & | y, |
double & | beta | ||
) | const |
Definition at line 276 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, gather_cfg::cout, DAClusterizerInZ_vect::vertex_t::GetSize(), gen::k, funct::pow(), and DAClusterizerInZ_vect::vertex_t::RemoveItem().
bool DAClusterizerInZ_vect::purge | ( | vertex_t & | y, |
track_t & | tks, | ||
double & | rho0, | ||
const double | beta | ||
) | const |
Definition at line 325 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, gather_cfg::cout, DAClusterizerInZ_vect::track_t::GetSize(), DAClusterizerInZ_vect::vertex_t::GetSize(), mps_fire::i, gen::k, reco::ParticleMasses::k0, nt, AlCaHLTBitMon_ParallelJobs::p, and DAClusterizerInZ_vect::vertex_t::RemoveItem().
bool DAClusterizerInZ_vect::split | ( | const double | beta, |
track_t & | t, | ||
vertex_t & | y, | ||
double | threshold = 1. |
||
) | const |
Definition at line 426 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::track_t::_dz2, DAClusterizerInZ_vect::track_t::_pi, 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, gather_cfg::cout, MillePedeFileConverter_cfg::e, geometryDiff::epsilon, alignBH_cfg::fixed, DAClusterizerInZ_vect::track_t::GetSize(), DAClusterizerInZ_vect::vertex_t::GetSize(), mps_fire::i, DAClusterizerInZ_vect::vertex_t::InsertItem(), gen::k, nt, AlCaHLTBitMon_ParallelJobs::p, p1, p2, edm::second(), split, mathSSE::sqrt(), protons_cff::t, w, and w2.
void DAClusterizerInZ_vect::splitAll | ( | vertex_t & | y | ) | const |
Definition at line 523 of file DAClusterizerInZ_vect.cc.
References DAClusterizerInZ_vect::vertex_t::_pk, DAClusterizerInZ_vect::vertex_t::_z, DAClusterizerInZ_vect::vertex_t::AddItem(), gather_cfg::cout, DAClusterizerInZ_vect::vertex_t::DebugOut(), MillePedeFileConverter_cfg::e, geometryDiff::epsilon, DAClusterizerInZ_vect::vertex_t::ExtractRaw(), DAClusterizerInZ_vect::vertex_t::GetSize(), gen::k, 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, | ||
const double & | rho0 | ||
) | const |
Definition at line 140 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, pfBoostedDoubleSVAK8TagInfos_cfi::beta, gather_cfg::cout, delta, DAClusterizerInZ_vect::track_t::GetSize(), DAClusterizerInZ_vect::vertex_t::GetSize(), edm::isNotFinite(), gen::k, nt, funct::pow(), l1t::tracks, mitigatedMETSequence_cff::U, electrons_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 576 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, a, DAClusterizerInZ_vect::vertex_t::AddItem(), pfBoostedDoubleSVAK8TagInfos_cfi::beta, fastPrimaryVertexProducer_cfi::clusters, gather_cfg::cout, FrontierConditions_GlobalTag_cff::dump, MillePedeFileConverter_cfg::e, DAClusterizerInZ_vect::track_t::ExtractRaw(), lumiContext::fill, DAClusterizerInZ_vect::track_t::GetSize(), DAClusterizerInZ_vect::vertex_t::GetSize(), mps_fire::i, edm::isNotFinite(), gen::k, MatrixUtil::merge(), min(), nt, AlCaHLTBitMon_ParallelJobs::p, split, mathSSE::sqrt(), electronIdCutBased_cfi::threshold, DAClusterizerInZ_vect::track_t::tt, update, and findQualityFiles::v.
|
private |
Definition at line 203 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 212 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 204 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 202 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 206 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 205 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 201 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 209 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 210 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 207 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 196 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 200 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 197 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 198 of file DAClusterizerInZ_vect.h.
|
private |
Definition at line 211 of file DAClusterizerInZ_vect.h.