TrackingTools
KalmanUpdators
src
KFSwitching1DUpdator.cc
Go to the documentation of this file.
1
#include "
TrackingTools/KalmanUpdators/interface/KFSwitching1DUpdator.h
"
2
#include "
TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h
"
3
#include "
Geometry/CommonDetUnit/interface/GeomDetType.h
"
4
#include "
Geometry/CommonDetUnit/interface/GeomDet.h
"
5
6
TrajectoryStateOnSurface
KFSwitching1DUpdator::update
(
const
TSOS
& aTsos,
const
TrackingRecHit
& aHit)
const
{
7
if
(!aHit.
detUnit
() || aHit.
detUnit
()->
type
().
isTrackerPixel
() ||
8
(!
theDoEndCap
&& aHit.
detUnit
()->
type
().
isEndcap
())) {
9
return
localUpdator
().
update
(aTsos, aHit);
10
}
else
{
11
return
stripUpdator
().
update
(aTsos, aHit);
12
}
13
}
KFUpdator::update
TrajectoryStateOnSurface update(const TrajectoryStateOnSurface &, const TrackingRecHit &) const override
Definition:
KFUpdator.cc:177
GeomDet::type
virtual const GeomDetType & type() const
Definition:
GeomDet.cc:69
GeomDetType.h
KFSwitching1DUpdator::localUpdator
const KFUpdator & localUpdator() const
updator for 2D hits (matched or pixel)
Definition:
KFSwitching1DUpdator.h:31
TransientTrackingRecHit.h
KFSwitching1DUpdator::update
TSOS update(const TSOS &aTsos, const TrackingRecHit &aHit) const override
update with a hit
Definition:
KFSwitching1DUpdator.cc:6
GeomDetType::isTrackerPixel
bool isTrackerPixel() const
Definition:
GeomDetType.cc:15
KFSwitching1DUpdator.h
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
KFSwitching1DUpdator::stripUpdator
const KFStrip1DUpdator & stripUpdator() const
updator for non-matched strip hits
Definition:
KFSwitching1DUpdator.h:33
TrackingRecHit
Definition:
TrackingRecHit.h:21
GeomDet.h
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
Generated for CMSSW Reference Manual by
1.8.16