Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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/GeomDetUnit.h
"
5
6
TrajectoryStateOnSurface
7
KFSwitching1DUpdator::update
(
const
TSOS
& aTsos,
const
TrackingRecHit
& aHit)
const
{
8
if
( !aHit.
detUnit
() || aHit.
detUnit
()->
type
().
isTrackerPixel
() || (!theDoEndCap && aHit.
detUnit
()->
type
().
isEndcap
())) {
9
return
localUpdator().update(aTsos, aHit);
10
}
else
{
11
return
stripUpdator().update(aTsos, aHit);
12
}
13
}
GeomDet::type
virtual const GeomDetType & type() const
Definition:
GeomDet.cc:90
GeomDetType::isEndcap
bool isEndcap() const
Definition:
GeomDetType.cc:18
TrackingRecHit
Definition:
TrackingRecHit.h:26
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:17
TransientTrackingRecHit.h
GeomDetType.h
GeomDetType::isTrackerPixel
bool isTrackerPixel() const
Definition:
GeomDetType.cc:30
GeomDetUnit.h
KFSwitching1DUpdator.h
TrackingRecHit::detUnit
virtual const GeomDetUnit * detUnit() const
Definition:
TrackingRecHit.cc:41
update
#define update(a, b)
Definition:
TrackClassifier.cc:10
Generated for CMSSW Reference Manual by
1.8.5