#include <DAClusterizerInZ.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 |
DAClusterizerInZ (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 | Eik (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 | update (double beta, std::vector< track_t > &tks, std::vector< vertex_t > &y, double &) 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
Definition at line 21 of file DAClusterizerInZ.h.
DAClusterizerInZ::DAClusterizerInZ | ( | const edm::ParameterSet & | conf | ) |
Definition at line 455 of file DAClusterizerInZ.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and OfflinePixel3DPrimaryVertices_cfi::Tmin.
double DAClusterizerInZ::beta0 | ( | const double | betamax, |
std::vector< track_t > & | tks, | ||
std::vector< vertex_t > & | y | ||
) | const |
Definition at line 301 of file DAClusterizerInZ.cc.
References a, b, mps_fire::i, gen::k, cmsBatch::log, nt, funct::pow(), and w.
|
virtual |
Implements TrackClusterizerInZ.
Definition at line 701 of file DAClusterizerInZ.cc.
References fastPrimaryVertexProducer_cfi::clusters, gather_cfg::cout, mps_fire::i, gen::k, position, MetAnalyzer::pv(), and primaryVertexAssociation_cfi::vertices.
void DAClusterizerInZ::dump | ( | const double | beta, |
const std::vector< vertex_t > & | y, | ||
const std::vector< track_t > & | tks, | ||
const int | verbosity = 0 |
||
) | const |
Definition at line 489 of file DAClusterizerInZ.cc.
References beta, gather_cfg::cout, TauDecayModes::dec, 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, Measurement1D::value(), and DOFs::Z.
Definition at line 52 of file DAClusterizerInZ.cc.
References DAClusterizerInZ::track_t::dz2, funct::pow(), DAClusterizerInZ::track_t::z, and DAClusterizerInZ::vertex_t::z.
vector< DAClusterizerInZ::track_t > DAClusterizerInZ::fill | ( | const std::vector< reco::TransientTrack > & | tracks | ) | const |
Definition at line 20 of file DAClusterizerInZ.cc.
References ecalDrivenElectronSeedsParameters_cff::beamSpot, hiMultiTrackSelector_cfi::beamspot, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthY(), funct::cos(), DAClusterizerInZ::track_t::dz2, Measurement1D::error(), JetChargeProducer_cfi::exp, listHistos::IP, DAClusterizerInZ::track_t::pi, position, funct::pow(), funct::sin(), lumiQTWidget::t, funct::tan(), DAClusterizerInZ::track_t::tt, Measurement1D::value(), DAClusterizerInZ::track_t::z, and DAClusterizerInZ::track_t::Z.
bool DAClusterizerInZ::merge | ( | std::vector< vertex_t > & | y, |
int | nt | ||
) | const |
bool DAClusterizerInZ::merge | ( | std::vector< vertex_t > & | y, |
double & | beta | ||
) | const |
Definition at line 228 of file DAClusterizerInZ.cc.
References gen::k, and funct::pow().
bool DAClusterizerInZ::purge | ( | std::vector< vertex_t > & | y, |
std::vector< track_t > & | tks, | ||
double & | rho0, | ||
const double | beta | ||
) | const |
Definition at line 263 of file DAClusterizerInZ.cc.
References gather_cfg::cout, JetChargeProducer_cfi::exp, mps_fire::i, gen::k, reco::ParticleMasses::k0, nt, AlCaHLTBitMon_ParallelJobs::p, pi, and DOFs::Z.
bool DAClusterizerInZ::split | ( | double | beta, |
std::vector< track_t > & | tks, | ||
std::vector< vertex_t > & | y, | ||
double | threshold | ||
) | const |
Definition at line 347 of file DAClusterizerInZ.cc.
References MillePedeFileConverter_cfg::e, geometryDiff::epsilon, JetChargeProducer_cfi::exp, mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, p1, p2, DAClusterizerInZ::vertex_t::pk, edm::second(), split, w, w2, DAClusterizerInZ::vertex_t::z, and DOFs::Z.
void DAClusterizerInZ::splitAll | ( | std::vector< vertex_t > & | y | ) | const |
Definition at line 422 of file DAClusterizerInZ.cc.
References MillePedeFileConverter_cfg::e, geometryDiff::epsilon, gen::k, DAClusterizerInZ::vertex_t::pk, and DAClusterizerInZ::vertex_t::z.
double DAClusterizerInZ::update | ( | double | beta, |
std::vector< track_t > & | tks, | ||
std::vector< vertex_t > & | y | ||
) | const |
Definition at line 59 of file DAClusterizerInZ.cc.
References gather_cfg::cout, delta, JetChargeProducer_cfi::exp, mps_fire::i, gen::k, nt, funct::pow(), w, and DOFs::Z.
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().
double DAClusterizerInZ::update | ( | double | beta, |
std::vector< track_t > & | tks, | ||
std::vector< vertex_t > & | y, | ||
double & | rho0 | ||
) | const |
Definition at line 133 of file DAClusterizerInZ.cc.
References gather_cfg::cout, delta, JetChargeProducer_cfi::exp, mps_fire::i, gen::k, nt, funct::pow(), w, and DOFs::Z.
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::vertices | ( | const std::vector< reco::TransientTrack > & | tracks, |
const int | verbosity = 0 |
||
) | const |
Definition at line 567 of file DAClusterizerInZ.cc.
References beta, fastPrimaryVertexProducer_cfi::clusters, gather_cfg::cout, FrontierConditions_GlobalTag_cff::dump, MillePedeFileConverter_cfg::e, JetChargeProducer_cfi::exp, lumiContext::fill, mps_fire::i, gen::k, MatrixUtil::merge(), nt, AlCaHLTBitMon_ParallelJobs::p, pi, DAClusterizerInZ::vertex_t::pk, split, groupFilesInBlocks::tt, update, findQualityFiles::v, DAClusterizerInZ::vertex_t::z, and DOFs::Z.
|
private |
Definition at line 107 of file DAClusterizerInZ.h.
|
private |
Definition at line 108 of file DAClusterizerInZ.h.
|
private |
Definition at line 106 of file DAClusterizerInZ.h.
|
private |
Definition at line 110 of file DAClusterizerInZ.h.
|
private |
Definition at line 109 of file DAClusterizerInZ.h.
|
private |
Definition at line 105 of file DAClusterizerInZ.h.
|
private |
Definition at line 103 of file DAClusterizerInZ.h.
|
private |
Definition at line 102 of file DAClusterizerInZ.h.
|
private |
Definition at line 104 of file DAClusterizerInZ.h.