Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
GeomDet.h
Chi2Switching1DEstimator.h
TrackingRecHit
Definition:
TrackingRecHit.h:21
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
TransientTrackingRecHit.h
GeomDetType.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
TrackingRecHit::detUnit
virtual const GeomDetUnit * detUnit() const
Definition:
TrackingRecHit.cc:29
Generated for CMSSW Reference Manual by
1.8.5