#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 17 of file SiTrackerMultiRecHitUpdator.cc.
References theHitCloner.
|
inlinevirtual |
Definition at line 37 of file SiTrackerMultiRecHitUpdator.h.
References buildMultiRecHit(), ComputeWeight(), definitions::original, and update().
|
inline |
Definition at line 65 of file SiTrackerMultiRecHitUpdator.h.
References theAnnealingProgram.
|
virtual |
Definition at line 33 of file SiTrackerMultiRecHitUpdator.cc.
References TransientTrackingRecHitBuilder::build(), LogTrace, theBuilder, and update().
Referenced by ~SiTrackerMultiRecHitUpdator().
|
private |
Definition at line 292 of file SiTrackerMultiRecHitUpdator.cc.
References Exception, plotBeamSpotDB::first, LogTrace, and dataset::name.
Referenced by getBuilder(), and update().
|
private |
Definition at line 308 of file SiTrackerMultiRecHitUpdator.cc.
References patCaloMETCorrections_cff::C, relativeConstraints::error, f, invertPosDefMatrix(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), LogTrace, LocalTrajectoryError::matrix(), SiStripPI::max, N, packedPFCandidateRefMixer_cfi::pf, position, alignCSCRings::r, alignCSCRings::s, TIDorTEChit(), LocalTrajectoryParameters::vector(), and x.
double SiTrackerMultiRecHitUpdator::ComputeWeight | ( | const TrajectoryStateOnSurface & | tsos, |
const TransientTrackingRecHit & | aRecHit, | ||
bool | CutWeight, | ||
double | annealing = 1. |
||
) | const |
Definition at line 192 of file SiTrackerMultiRecHitUpdator.cc.
References TrackingRecHit::dimension(), Exception, and dataset::name.
Referenced by update(), and ~SiTrackerMultiRecHitUpdator().
double SiTrackerMultiRecHitUpdator::ComputeWeight | ( | const TrajectoryStateOnSurface & | tsos, |
const TransientTrackingRecHit & | aRecHit, | ||
bool | CutWeight, | ||
double | annealing = 1. |
||
) | const |
Definition at line 208 of file SiTrackerMultiRecHitUpdator.cc.
References patCaloMETCorrections_cff::C, pfMuonSelector_cfi::Chi2, diffTreeTool::diff, JetChargeProducer_cfi::exp, TrackingRecHit::getKfComponents(), invertPosDefMatrix(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), LogTrace, LocalTrajectoryError::matrix(), N, packedPFCandidateRefMixer_cfi::pf, dttmaxenums::R, alignCSCRings::r, theChi2Cut1D, theChi2Cut2D, LocalTrajectoryParameters::vector(), and x.
|
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 calcParameters(), theBuilder, and TIDorTEChit().
Referenced by SimpleDAFHitCollector::SimpleDAFHitCollector().
|
private |
Definition at line 381 of file SiTrackerMultiRecHitUpdator.cc.
References DetId::det(), TrackingRecHit::geographicalId(), DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TID, and DetId::Tracker.
Referenced by calcParameters(), and getBuilder().
|
virtual |
Definition at line 50 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(), DAFTrackProducerAlgorithm::updateHits(), and ~SiTrackerMultiRecHitUpdator().
TransientTrackingRecHit::RecHitPointer SiTrackerMultiRecHitUpdator::update | ( | TransientTrackingRecHit::ConstRecHitContainer & | tcomponents, |
const TrajectoryStateOnSurface & | tsos, | ||
MeasurementDetWithData & | measDet, | ||
double | annealing = 1. |
||
) | const |
Definition at line 75 of file SiTrackerMultiRecHitUpdator.cc.
References calcParameters(), cropTnPTrees::cloned, ComputeWeight(), counter, MillePedeFileConverter_cfg::e, Exception, plotBeamSpotDB::first, MeasurementDet::geomDet(), invalid, TrajectoryStateOnSurface::isValid(), LogTrace, TkClonerImpl::makeShared(), MeasurementDetWithData::mdet(), TrackingRecHit::missing, dataset::name, lumiCalc2::normmap, AlCaHLTBitMon_ParallelJobs::p, GloballyPositioned< T >::position(), TrackingRecHitPropagator::project(), edm::second(), TrajectoryStateOnSurface::surface(), theBuilder, theHitCloner, theHitPropagator, and tmp.
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.
Referenced by ComputeWeight().
|
private |
Definition at line 81 of file SiTrackerMultiRecHitUpdator.h.
Referenced by ComputeWeight().
|
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().