Main Page
Namespaces
Classes
Package Documentation
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
TrackingRecHit
& 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
}
GeomDet::type
virtual const GeomDetType & type() const
Definition:
GeomDet.cc:85
Chi2Switching1DEstimator.h
TrackingRecHit
Definition:
TrackingRecHit.h:23
std
Definition:
JetResolutionObject.h:76
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:17
TransientTrackingRecHit.h
GeomDetType.h
GeomDetType::isTrackerPixel
bool isTrackerPixel() const
Definition:
GeomDetType.cc:29
Chi2Switching1DEstimator::estimate
virtual std::pair< bool, double > estimate(const TrajectoryStateOnSurface &aTsos, const TrackingRecHit &aHit) const
implementation of MeasurementEstimator::estimate
Definition:
Chi2Switching1DEstimator.cc:8
GeomDetUnit.h
TrackingRecHit::detUnit
virtual const GeomDetUnit * detUnit() const
Definition:
TrackingRecHit.cc:41
Generated for CMSSW Reference Manual by
1.8.11