#include <TrackingTools/KalmanUpdators/interface/KFSwitching1DUpdator.h>
Public Member Functions | |
virtual KFSwitching1DUpdator * | clone () const |
KFSwitching1DUpdator () | |
virtual TSOS | update (const TSOS &aTsos, const TransientTrackingRecHit &aHit) const |
update with a hit | |
~KFSwitching1DUpdator () | |
Private Types | |
typedef TrajectoryStateOnSurface | TSOS |
Private Member Functions | |
const KFUpdator & | localUpdator () const |
updator for 2D hits (matched or pixel) | |
const KFStrip1DUpdator & | stripUpdator () const |
updator for non-matched strip hits | |
Private Attributes | |
DeepCopyPointerByClone< const KFUpdator > | theLocalUpdator |
DeepCopyPointerByClone< const KFStrip1DUpdator > | theStripUpdator |
Ported from ORCA.
Definition at line 18 of file KFSwitching1DUpdator.h.
typedef TrajectoryStateOnSurface KFSwitching1DUpdator::TSOS [private] |
Definition at line 21 of file KFSwitching1DUpdator.h.
KFSwitching1DUpdator::KFSwitching1DUpdator | ( | ) | [inline] |
Definition at line 25 of file KFSwitching1DUpdator.h.
Referenced by clone().
00025 : theLocalUpdator(new KFUpdator()), 00026 theStripUpdator(new KFStrip1DUpdator()) {}
KFSwitching1DUpdator::~KFSwitching1DUpdator | ( | ) | [inline] |
virtual KFSwitching1DUpdator* KFSwitching1DUpdator::clone | ( | void | ) | const [inline, virtual] |
Implements TrajectoryStateUpdator.
Definition at line 33 of file KFSwitching1DUpdator.h.
References KFSwitching1DUpdator().
00034 { 00035 return new KFSwitching1DUpdator(*this); 00036 }
const KFUpdator& KFSwitching1DUpdator::localUpdator | ( | ) | const [inline, private] |
updator for 2D hits (matched or pixel)
Definition at line 40 of file KFSwitching1DUpdator.h.
References theLocalUpdator.
Referenced by update().
00040 {return *theLocalUpdator;}
const KFStrip1DUpdator& KFSwitching1DUpdator::stripUpdator | ( | ) | const [inline, private] |
updator for non-matched strip hits
Definition at line 42 of file KFSwitching1DUpdator.h.
References theStripUpdator.
Referenced by update().
00042 {return *theStripUpdator;}
TrajectoryStateOnSurface KFSwitching1DUpdator::update | ( | const TSOS & | aTsos, | |
const TransientTrackingRecHit & | aHit | |||
) | const [virtual] |
update with a hit
Implements TrajectoryStateUpdator.
Definition at line 7 of file KFSwitching1DUpdator.cc.
References TransientTrackingRecHit::detUnit(), GeomDetType::isTrackerPixel(), localUpdator(), stripUpdator(), GeomDetUnit::type(), KFUpdator::update(), and KFStrip1DUpdator::update().
00007 { 00008 if(//aHit.isMatched() || 00009 aHit.detUnit()->type().isTrackerPixel()) { 00010 return localUpdator().update(aTsos, aHit); 00011 } else { 00012 return stripUpdator().update(aTsos, aHit); 00013 } 00014 }
DeepCopyPointerByClone<const KFUpdator> KFSwitching1DUpdator::theLocalUpdator [private] |
DeepCopyPointerByClone<const KFStrip1DUpdator> KFSwitching1DUpdator::theStripUpdator [private] |