#include <SiTrackerMultiRecHitUpdator.h>
Public Types | |
typedef std::pair< LocalPoint, LocalError > | LocalParameters |
Public Member Functions | |
const std::vector< double > & | annealingProgram () const |
virtual TransientTrackingRecHit::RecHitPointer | buildMultiRecHit (const std::vector< const TrackingRecHit * > &rhv, const TrajectoryStateOnSurface &tsos, MeasurementDetWithData &measDet, float annealing=1.) const |
double | ComputeWeight (const TrajectoryStateOnSurface &tsos, const TransientTrackingRecHit &aRecHit, bool CutWeight, double annealing=1.) const |
template<unsigned int N> | |
double | ComputeWeight (const TrajectoryStateOnSurface &tsos, const TransientTrackingRecHit &aRecHit, bool CutWeight, double annealing=1.) const |
const std::vector< double > & | getAnnealingProgram () const |
const TransientTrackingRecHitBuilder * | getBuilder () const |
SiTrackerMultiRecHitUpdator (const TransientTrackingRecHitBuilder *builder, const TrackingRecHitPropagator *hitpropagator, const float Chi2Cut1D, const float Chi2Cut2D, const std::vector< double > &anAnnealingProgram, bool debug) | |
virtual TransientTrackingRecHit::RecHitPointer | update (TransientTrackingRecHit::ConstRecHitPointer original, const TrajectoryStateOnSurface &tsos, MeasurementDetWithData &measDet, double annealing=1.) const |
TransientTrackingRecHit::RecHitPointer | update (TransientTrackingRecHit::ConstRecHitContainer &tcomponents, const TrajectoryStateOnSurface &tsos, MeasurementDetWithData &measDet, double annealing=1.) const |
virtual | ~SiTrackerMultiRecHitUpdator () |
Private Member Functions | |
LocalParameters | calcParameters (const TrajectoryStateOnSurface &tsos, std::vector< std::pair< const TrackingRecHit *, float > > &aHitMap) const |
template<unsigned int N> | |
LocalParameters | calcParameters (const TrajectoryStateOnSurface &tsos, std::vector< std::pair< const TrackingRecHit *, float > > &aHitMap) const |
bool | TIDorTEChit (const TrackingRecHit *const &hit) const |
Private Attributes | |
bool | debug_ |
const std::vector< double > | theAnnealingProgram |
const TransientTrackingRecHitBuilder * | theBuilder |
double | theChi2Cut1D |
double | theChi2Cut2D |
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 | Chi2Cut1D, | ||
const float | Chi2Cut2D, | ||
const std::vector< double > & | anAnnealingProgram, | ||
bool | debug | ||
) |
Definition at line 19 of file SiTrackerMultiRecHitUpdator.cc.
References theHitCloner.
|
inlinevirtual |
Definition at line 37 of file SiTrackerMultiRecHitUpdator.h.
|
inline |
Definition at line 65 of file SiTrackerMultiRecHitUpdator.h.
References theAnnealingProgram.
|
virtual |
Definition at line 35 of file SiTrackerMultiRecHitUpdator.cc.
References TransientTrackingRecHitBuilder::build(), LogTrace, theBuilder, and update().
|
private |
Definition at line 291 of file SiTrackerMultiRecHitUpdator.cc.
References Exception, plotBeamSpotDB::first, LogTrace, and mergeVDriftHistosByStation::name.
Referenced by update().
|
private |
double SiTrackerMultiRecHitUpdator::ComputeWeight | ( | const TrajectoryStateOnSurface & | tsos, |
const TransientTrackingRecHit & | aRecHit, | ||
bool | CutWeight, | ||
double | annealing = 1. |
||
) | const |
Definition at line 191 of file SiTrackerMultiRecHitUpdator.cc.
References TrackingRecHit::dimension(), 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 66 of file SiTrackerMultiRecHitUpdator.h.
References theAnnealingProgram.
Referenced by DAFTrackProducerAlgorithm::runWithCandidate().
|
inline |
Definition at line 68 of file SiTrackerMultiRecHitUpdator.h.
References theBuilder.
Referenced by SimpleDAFHitCollector::SimpleDAFHitCollector().
|
private |
Definition at line 380 of file SiTrackerMultiRecHitUpdator.cc.
References DetId::det(), TrackingRecHit::geographicalId(), DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TID, and DetId::Tracker.
|
virtual |
Definition at line 52 of file SiTrackerMultiRecHitUpdator.cc.
References Exception, TrajectoryStateOnSurface::isValid(), LogTrace, TkClonerImpl::makeShared(), and theHitCloner.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.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(), 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 DAFTrackProducerAlgorithm::updateHits().
TransientTrackingRecHit::RecHitPointer SiTrackerMultiRecHitUpdator::update | ( | TransientTrackingRecHit::ConstRecHitContainer & | tcomponents, |
const TrajectoryStateOnSurface & | tsos, | ||
MeasurementDetWithData & | measDet, | ||
double | annealing = 1. |
||
) | const |
Definition at line 77 of file SiTrackerMultiRecHitUpdator.cc.
References calcParameters(), cropTnPTrees::cloned, ComputeWeight(), counter, alignCSCRings::e, Exception, plotBeamSpotDB::first, MeasurementDet::geomDet(), align::invalid, TrajectoryStateOnSurface::isValid(), LogTrace, TkClonerImpl::makeShared(), MeasurementDetWithData::mdet(), TrackingRecHit::missing, 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__(), 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().
|
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 78 of file SiTrackerMultiRecHitUpdator.h.
Referenced by buildMultiRecHit(), getBuilder(), and update().
|
private |
Definition at line 80 of file SiTrackerMultiRecHitUpdator.h.
|
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 79 of file SiTrackerMultiRecHitUpdator.h.
Referenced by update().