Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
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/GeomDetUnit.h
"
4
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::estimate
virtual std::pair< bool, double > estimate(const TrajectoryStateOnSurface &aTsos, const TransientTrackingRecHit &aHit) const
implementation of MeasurementEstimator::estimate
Definition:
Chi2Switching1DEstimator.cc:8
Chi2Switching1DEstimator.h
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:15
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:21
TransientTrackingRecHit::detUnit
virtual const GeomDetUnit * detUnit() const
Definition:
TransientTrackingRecHit.cc:9
Generated for CMSSW Reference Manual by
1.8.5