#include <MuonBestMeasurementFinder.h>
Public Member Functions | |
const MeasurementEstimator * | estimator () const |
TrajectoryMeasurement * | findBestMeasurement (std::vector< TrajectoryMeasurement > &measC, const Propagator *propagator) |
return the Tm with the best chi2: no cut applied. More... | |
std::pair< double, int > | lookAtSubRecHits (TrajectoryMeasurement *measurement, const Propagator *propagator) |
MuonBestMeasurementFinder () | |
Constructor. More... | |
virtual | ~MuonBestMeasurementFinder () |
Destructor. More... | |
Private Types | |
typedef std::vector < TrajectoryMeasurement * > | TMContainer |
typedef TMContainer::iterator | TMIterator |
Private Attributes | |
const MeasurementEstimator * | theEstimator |
Algorithmic class to get best measurement from a list of TM the chi2 cut for the MeasurementEstimator is huge since should not be used. The aim of this class is to return the "best" measurement according to the chi2, but without any cut. The decision whether to use or not the measurement is taken in the caller class. The evaluation is made (in hard-code way) with the granularity = 1. Where the granularity is the one defined in the MuonTrajectoyUpdatorClass.
Algorithmic class to get best measurement from a list of TM the chi2 cut for the MeasurementEstimator is huge since should not be used. The aim of this class is to return the "best" measurement according to the chi2, but without any cut. The decision whether to use or not the measurement is taken in the caller class. The evaluation is made (in hard-code way) with the granularity = 1. Where the granularity is the one defined in the MuonTrajectoyUpdatorClass.
Definition at line 26 of file MuonBestMeasurementFinder.h.
|
private |
Definition at line 27 of file MuonBestMeasurementFinder.h.
|
private |
Definition at line 28 of file MuonBestMeasurementFinder.h.
MuonBestMeasurementFinder::MuonBestMeasurementFinder | ( | ) |
Constructor.
Definition at line 31 of file MuonBestMeasurementFinder.cc.
References Chi2MeasurementEstimatorESProducer_cfi::Chi2MeasurementEstimator.
|
virtual |
Destructor.
Definition at line 36 of file MuonBestMeasurementFinder.cc.
|
inline |
Definition at line 47 of file MuonBestMeasurementFinder.h.
References theEstimator.
TrajectoryMeasurement * MuonBestMeasurementFinder::findBestMeasurement | ( | std::vector< TrajectoryMeasurement > & | measC, |
const Propagator * | propagator | ||
) |
return the Tm with the best chi2: no cut applied.
Definition at line 41 of file MuonBestMeasurementFinder.cc.
References LogTrace, and metname.
Referenced by CosmicMuonTrajectoryBuilder::findBestMeasurements(), and StandAloneMuonFilter::findBestMeasurements().
pair< double, int > MuonBestMeasurementFinder::lookAtSubRecHits | ( | TrajectoryMeasurement * | measurement, |
const Propagator * | propagator | ||
) |
Definition at line 95 of file MuonBestMeasurementFinder.cc.
References metname, TrajectoryMeasurement::predictedState(), TrajectoryMeasurement::recHit(), and query::result.
|
private |
Definition at line 53 of file MuonBestMeasurementFinder.h.
Referenced by estimator().