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
TransientTrackingRecHit
& 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
}
GeomDetType::isEndcap
bool isEndcap() const
Definition:
GeomDetType.cc:18
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:15
TransientTrackingRecHit.h
GeomDetType.h
GeomDetUnit::type
virtual const GeomDetType & type() const =0
GeomDetType::isTrackerPixel
bool isTrackerPixel() const
Definition:
GeomDetType.cc:30
GeomDetUnit.h
KFSwitching1DUpdator.h
TransientTrackingRecHit
Definition:
TransientTrackingRecHit.h:21
update
#define update(a, b)
Definition:
TrackClassifier.cc:10
TransientTrackingRecHit::detUnit
virtual const GeomDetUnit * detUnit() const
Definition:
TransientTrackingRecHit.cc:25
Generated for CMSSW Reference Manual by
1.8.5