CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
KFSwitchingUpdator Class Reference

#include <KFSwitchingUpdator.h>

Inheritance diagram for KFSwitchingUpdator:
TrajectoryStateUpdator

Public Member Functions

virtual KFSwitchingUpdatorclone () const
 
 KFSwitchingUpdator ()
 
virtual TSOS update (const TSOS &aTsos, const TransientTrackingRecHit &aHit) const
 update with a hit More...
 
 ~KFSwitchingUpdator ()
 
- Public Member Functions inherited from TrajectoryStateUpdator
 TrajectoryStateUpdator ()
 
virtual ~TrajectoryStateUpdator ()
 

Private Types

typedef TrajectoryStateOnSurface TSOS
 

Private Member Functions

const KFUpdatorlocalUpdator () const
 updator for 2D hits (matched or pixel) More...
 
const KFStripUpdatorstripUpdator () const
 updator for non-matched strip hits More...
 

Private Attributes

DeepCopyPointer< const KFUpdatortheLocalUpdator
 
DeepCopyPointer< const
KFStripUpdator
theStripUpdator
 

Detailed Description

A Kalman Updator that uses a KFUpdator for pixel and matched hits, and a KFStripUpdator for simple strip hits. Ported from ORCA.

Date:
2007/05/09 13:50:25
Revision:
1.4
Author
todorov, cerati

Definition at line 18 of file KFSwitchingUpdator.h.

Member Typedef Documentation

Definition at line 21 of file KFSwitchingUpdator.h.

Constructor & Destructor Documentation

KFSwitchingUpdator::KFSwitchingUpdator ( )
inline

Definition at line 25 of file KFSwitchingUpdator.h.

Referenced by clone().

25  : theLocalUpdator(new KFUpdator()),
DeepCopyPointer< const KFUpdator > theLocalUpdator
DeepCopyPointer< const KFStripUpdator > theStripUpdator
KFSwitchingUpdator::~KFSwitchingUpdator ( )
inline

Definition at line 28 of file KFSwitchingUpdator.h.

28 {}

Member Function Documentation

virtual KFSwitchingUpdator* KFSwitchingUpdator::clone ( void  ) const
inlinevirtual

Implements TrajectoryStateUpdator.

Definition at line 33 of file KFSwitchingUpdator.h.

References KFSwitchingUpdator().

34  {
35  return new KFSwitchingUpdator(*this);
36  }
const KFUpdator& KFSwitchingUpdator::localUpdator ( ) const
inlineprivate

updator for 2D hits (matched or pixel)

Definition at line 40 of file KFSwitchingUpdator.h.

References theLocalUpdator.

Referenced by update().

40 {return *theLocalUpdator;}
DeepCopyPointer< const KFUpdator > theLocalUpdator
const KFStripUpdator& KFSwitchingUpdator::stripUpdator ( ) const
inlineprivate

updator for non-matched strip hits

Definition at line 42 of file KFSwitchingUpdator.h.

References theStripUpdator.

Referenced by update().

42 {return *theStripUpdator;}
DeepCopyPointer< const KFStripUpdator > theStripUpdator
TrajectoryStateOnSurface KFSwitchingUpdator::update ( const TSOS aTsos,
const TransientTrackingRecHit aHit 
) const
virtual

update with a hit

Implements TrajectoryStateUpdator.

Definition at line 7 of file KFSwitchingUpdator.cc.

References TransientTrackingRecHit::detUnit(), GeomDetType::isTrackerPixel(), localUpdator(), stripUpdator(), GeomDetUnit::type(), KFStripUpdator::update(), and KFUpdator::update().

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().

7  {
8  if(//aHit.isMatched() ||
9  aHit.detUnit()->type().isTrackerPixel()) {
10  return localUpdator().update(aTsos, aHit);
11  } else {
12  return stripUpdator().update(aTsos, aHit);
13  }
14 }
virtual TSOS update(const TSOS &aTsos, const TransientTrackingRecHit &aHit) const
virtual const GeomDetType & type() const =0
bool isTrackerPixel() const
Definition: GeomDetType.cc:30
const KFUpdator & localUpdator() const
updator for 2D hits (matched or pixel)
const KFStripUpdator & stripUpdator() const
updator for non-matched strip hits
TrajectoryStateOnSurface update(const TrajectoryStateOnSurface &, const TransientTrackingRecHit &) const
Definition: KFUpdator.cc:10
virtual const GeomDetUnit * detUnit() const

Member Data Documentation

DeepCopyPointer<const KFUpdator> KFSwitchingUpdator::theLocalUpdator
private

Definition at line 45 of file KFSwitchingUpdator.h.

Referenced by localUpdator().

DeepCopyPointer<const KFStripUpdator> KFSwitchingUpdator::theStripUpdator
private

Definition at line 46 of file KFSwitchingUpdator.h.

Referenced by stripUpdator().