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