Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
TrackingTools
KalmanUpdators
src
Chi2Switching1DEstimator.cc
Go to the documentation of this file.
1
#include "
TrackingTools/KalmanUpdators/interface/Chi2Switching1DEstimator.h
"
2
#include "
Geometry/CommonDetUnit/interface/GeomDetType.h
"
3
#include "
Geometry/CommonDetUnit/interface/GeomDetUnit.h
"
4
#include "
TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h
"
5
using namespace
std;
6
7
pair<bool,double>
8
Chi2Switching1DEstimator::estimate (
const
TrajectoryStateOnSurface
& aTsos,
9
const
TransientTrackingRecHit
& aHit)
const
{
10
if
(
//aHit.isMatched() ||
11
aHit.
detUnit
()->
type
().
isTrackerPixel
()) {
12
return
localEstimator().estimate(aTsos, aHit);
13
}
else
{
14
return
stripEstimator().estimate(aTsos, aHit);
15
}
16
}
Chi2Switching1DEstimator.h
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
TransientTrackingRecHit
Definition:
TransientTrackingRecHit.h:22
TransientTrackingRecHit::detUnit
virtual const GeomDetUnit * detUnit() const
Definition:
TransientTrackingRecHit.cc:25
Generated for CMSSW Reference Manual by
1.8.5