#include <SiTrackerMultiRecHitUpdator.h>
Public Types | |
typedef std::pair< LocalPoint, LocalError > | LocalParameters |
Private Member Functions | |
LocalParameters | calcParameters (const TrajectoryStateOnSurface &tsos, std::vector< std::pair< const TrackingRecHit *, float > > &aHitMap) const |
Private Attributes | |
bool | debug_ |
const std::vector< double > | theAnnealingProgram |
const TransientTrackingRecHitBuilder * | theBuilder |
double | theChi2Cut |
TkClonerImpl | theHitCloner |
const TrackingRecHitPropagator * | theHitPropagator |
Builds a SiTrackerMultiRecHit out of a vector of TrackingRecHit or updates an existing SiTrackerMultiRecHit given a tsos.
Definition at line 27 of file SiTrackerMultiRecHitUpdator.h.
typedef std::pair<LocalPoint,LocalError> SiTrackerMultiRecHitUpdator::LocalParameters |
Definition at line 31 of file SiTrackerMultiRecHitUpdator.h.
SiTrackerMultiRecHitUpdator::SiTrackerMultiRecHitUpdator | ( | const TransientTrackingRecHitBuilder * | builder, |
const TrackingRecHitPropagator * | hitpropagator, | ||
const float | Chi2Cut, | ||
const std::vector< double > & | anAnnealingProgram, | ||
bool | debug | ||
) |
Definition at line 12 of file SiTrackerMultiRecHitUpdator.cc.
References theHitCloner.
|
inlinevirtual |
Definition at line 36 of file SiTrackerMultiRecHitUpdator.h.
|
inline |
Definition at line 67 of file SiTrackerMultiRecHitUpdator.h.
References theAnnealingProgram.
|
virtual |
Definition at line 26 of file SiTrackerMultiRecHitUpdator.cc.
References TransientTrackingRecHitBuilder::build(), getDQMSummary::iter, LogTrace, theBuilder, and update().
|
private |
Definition at line 237 of file SiTrackerMultiRecHitUpdator.cc.
References ComputeParameters2dim(), relativeConstraints::error, invertPosDefMatrix(), Parameters::parameters, and position.
Referenced by update().
std::pair< AlgebraicVector2, AlgebraicSymMatrix22 > SiTrackerMultiRecHitUpdator::ComputeParameters2dim | ( | const TrajectoryStateOnSurface & | tsos, |
const TransientTrackingRecHit & | aRecHit | ||
) | const |
Definition at line 266 of file SiTrackerMultiRecHitUpdator.cc.
References TrackingRecHit::dimension(), edm::hlt::Exception, and mergeVDriftHistosByStation::name.
Referenced by calcParameters().
std::pair<AlgebraicVector2,AlgebraicSymMatrix22> SiTrackerMultiRecHitUpdator::ComputeParameters2dim | ( | const TrajectoryStateOnSurface & | tsos, |
const TransientTrackingRecHit & | aRecHit | ||
) | const |
double SiTrackerMultiRecHitUpdator::ComputeWeight | ( | const TrajectoryStateOnSurface & | tsos, |
const TransientTrackingRecHit & | aRecHit, | ||
bool | CutWeight, | ||
double | annealing = 1. |
||
) | const |
Definition at line 154 of file SiTrackerMultiRecHitUpdator.cc.
References TrackingRecHit::dimension(), edm::hlt::Exception, and mergeVDriftHistosByStation::name.
Referenced by update().
double SiTrackerMultiRecHitUpdator::ComputeWeight | ( | const TrajectoryStateOnSurface & | tsos, |
const TransientTrackingRecHit & | aRecHit, | ||
bool | CutWeight, | ||
double | annealing = 1. |
||
) | const |
|
inline |
Definition at line 68 of file SiTrackerMultiRecHitUpdator.h.
References theAnnealingProgram.
Referenced by DAFTrackProducerAlgorithm::runWithCandidate().
|
virtual |
Definition at line 39 of file SiTrackerMultiRecHitUpdator.cc.
References edm::hlt::Exception, TrajectoryStateOnSurface::isValid(), LogTrace, TkClonerImpl::makeShared(), and theHitCloner.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), buildMultiRecHit(), 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(), relval_steps.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 DAFTrackProducerAlgorithm::updateHits().
TransientTrackingRecHit::RecHitPointer SiTrackerMultiRecHitUpdator::update | ( | TransientTrackingRecHit::ConstRecHitContainer & | tcomponents, |
const TrajectoryStateOnSurface & | tsos, | ||
double | annealing = 1. |
||
) | const |
Definition at line 63 of file SiTrackerMultiRecHitUpdator.cc.
References calcParameters(), cropTnPTrees::cloned, ComputeWeight(), counter, alignCSCRings::e, edm::hlt::Exception, first, TrajectoryStateOnSurface::isValid(), getDQMSummary::iter, LogTrace, TkClonerImpl::makeShared(), mergeVDriftHistosByStation::name, lumiCalc2::normmap, AlCaHLTBitMon_ParallelJobs::p, GloballyPositioned< T >::position(), TrackingRecHitPropagator::project(), edm::second(), TrajectoryStateOnSurface::surface(), theBuilder, theHitCloner, and theHitPropagator.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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().
|
private |
Definition at line 84 of file SiTrackerMultiRecHitUpdator.h.
|
private |
Definition at line 82 of file SiTrackerMultiRecHitUpdator.h.
Referenced by annealingProgram(), and getAnnealingProgram().
|
private |
Definition at line 79 of file SiTrackerMultiRecHitUpdator.h.
Referenced by buildMultiRecHit(), and update().
|
private |
Definition at line 81 of file SiTrackerMultiRecHitUpdator.h.
|
private |
Definition at line 83 of file SiTrackerMultiRecHitUpdator.h.
Referenced by SiTrackerMultiRecHitUpdator(), and update().
|
private |
Definition at line 80 of file SiTrackerMultiRecHitUpdator.h.
Referenced by update().