CMS 3D CMS Logo

List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
KFSwitching1DUpdator Class Referencefinal

#include <KFSwitching1DUpdator.h>

Inheritance diagram for KFSwitching1DUpdator:
TrajectoryStateUpdator

Public Member Functions

KFSwitching1DUpdatorclone () const override
 
 KFSwitching1DUpdator (bool doEndCap=false)
 
TSOS update (const TSOS &aTsos, const TrackingRecHit &aHit) const override
 update with a hit More...
 
 ~KFSwitching1DUpdator () override
 
- 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 KFStrip1DUpdatorstripUpdator () const
 updator for non-matched strip hits More...
 

Private Attributes

bool theDoEndCap
 
const KFUpdator theLocalUpdator
 
const KFStrip1DUpdator theStripUpdator
 

Detailed Description

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

Author
todorov, cerati

Definition at line 16 of file KFSwitching1DUpdator.h.

Member Typedef Documentation

◆ TSOS

Definition at line 18 of file KFSwitching1DUpdator.h.

Constructor & Destructor Documentation

◆ KFSwitching1DUpdator()

KFSwitching1DUpdator::KFSwitching1DUpdator ( bool  doEndCap = false)
inlineexplicit

Definition at line 21 of file KFSwitching1DUpdator.h.

Referenced by clone().

◆ ~KFSwitching1DUpdator()

KFSwitching1DUpdator::~KFSwitching1DUpdator ( )
inlineoverride

Definition at line 22 of file KFSwitching1DUpdator.h.

22 {}

Member Function Documentation

◆ clone()

KFSwitching1DUpdator* KFSwitching1DUpdator::clone ( void  ) const
inlineoverridevirtual

Implements TrajectoryStateUpdator.

Definition at line 27 of file KFSwitching1DUpdator.h.

27 { return new KFSwitching1DUpdator(*this); }

References KFSwitching1DUpdator().

◆ localUpdator()

const KFUpdator& KFSwitching1DUpdator::localUpdator ( ) const
inlineprivate

updator for 2D hits (matched or pixel)

Definition at line 31 of file KFSwitching1DUpdator.h.

31 { return theLocalUpdator; }

References theLocalUpdator.

Referenced by update().

◆ stripUpdator()

const KFStrip1DUpdator& KFSwitching1DUpdator::stripUpdator ( ) const
inlineprivate

updator for non-matched strip hits

Definition at line 33 of file KFSwitching1DUpdator.h.

33 { return theStripUpdator; }

References theStripUpdator.

Referenced by update().

◆ update()

TrajectoryStateOnSurface KFSwitching1DUpdator::update ( const TSOS aTsos,
const TrackingRecHit aHit 
) const
overridevirtual

Member Data Documentation

◆ theDoEndCap

bool KFSwitching1DUpdator::theDoEndCap
private

Definition at line 39 of file KFSwitching1DUpdator.h.

Referenced by update().

◆ theLocalUpdator

const KFUpdator KFSwitching1DUpdator::theLocalUpdator
private

Definition at line 36 of file KFSwitching1DUpdator.h.

Referenced by localUpdator().

◆ theStripUpdator

const KFStrip1DUpdator KFSwitching1DUpdator::theStripUpdator
private

Definition at line 37 of file KFSwitching1DUpdator.h.

Referenced by stripUpdator().

KFUpdator::update
TrajectoryStateOnSurface update(const TrajectoryStateOnSurface &, const TrackingRecHit &) const override
Definition: KFUpdator.cc:177
KFSwitching1DUpdatorESProducer_cfi.doEndCap
doEndCap
Definition: KFSwitching1DUpdatorESProducer_cfi.py:5
GeomDet::type
virtual const GeomDetType & type() const
Definition: GeomDet.cc:69
KFSwitching1DUpdator::theLocalUpdator
const KFUpdator theLocalUpdator
Definition: KFSwitching1DUpdator.h:36
KFSwitching1DUpdator::localUpdator
const KFUpdator & localUpdator() const
updator for 2D hits (matched or pixel)
Definition: KFSwitching1DUpdator.h:31
GeomDetType::isTrackerPixel
bool isTrackerPixel() const
Definition: GeomDetType.cc:15
KFSwitching1DUpdator::KFSwitching1DUpdator
KFSwitching1DUpdator(bool doEndCap=false)
Definition: KFSwitching1DUpdator.h:21
KFSwitching1DUpdator::stripUpdator
const KFStrip1DUpdator & stripUpdator() const
updator for non-matched strip hits
Definition: KFSwitching1DUpdator.h:33
KFSwitching1DUpdator::theStripUpdator
const KFStrip1DUpdator theStripUpdator
Definition: KFSwitching1DUpdator.h:37
GeomDetType::isEndcap
bool isEndcap() const
Definition: GeomDetType.cc:11
KFSwitching1DUpdator::theDoEndCap
bool theDoEndCap
Definition: KFSwitching1DUpdator.h:39
TrackingRecHit::detUnit
virtual const GeomDetUnit * detUnit() const
Definition: TrackingRecHit.cc:29
KFStrip1DUpdator::update
TSOS update(const TSOS &aTsos, const TrackingRecHit &aHit) const override
Definition: KFStrip1DUpdator.cc:4