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>
Chi2Switching1DEstimator::estimate
(
const
TrajectoryStateOnSurface
& aTsos,
8
const
TrackingRecHit
& aHit)
const
{
9
if
(
//aHit.isMatched() ||
10
aHit.
detUnit
()->
type
().
isTrackerPixel
()) {
11
return
localEstimator().estimate(aTsos, aHit);
12
}
else
{
13
return
stripEstimator().estimate(aTsos, aHit);
14
}
15
}
GeomDet::type
virtual const GeomDetType & type() const
Definition:
GeomDet.cc:69
GeomDetType.h
TransientTrackingRecHit.h
GeomDetType::isTrackerPixel
bool isTrackerPixel() const
Definition:
GeomDetType.cc:15
Chi2Switching1DEstimator::estimate
std::pair< bool, double > estimate(const TrajectoryStateOnSurface &aTsos, const TrackingRecHit &aHit) const override
implementation of MeasurementEstimator::estimate
Definition:
Chi2Switching1DEstimator.cc:7
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
TrackingRecHit
Definition:
TrackingRecHit.h:21
GeomDet.h
std
Definition:
JetResolutionObject.h:76
Chi2Switching1DEstimator.h
TrackingRecHit::detUnit
virtual const GeomDetUnit * detUnit() const
Definition:
TrackingRecHit.cc:29
Generated for CMSSW Reference Manual by
1.8.16