#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.
Definition at line 24 of file MuonBestMeasurementFinder.h.
|
private |
Definition at line 25 of file MuonBestMeasurementFinder.h.
|
private |
Definition at line 26 of file MuonBestMeasurementFinder.h.
MuonBestMeasurementFinder::MuonBestMeasurementFinder | ( | ) |
Constructor.
Definition at line 29 of file MuonBestMeasurementFinder.cc.
|
virtual |
Destructor.
Definition at line 34 of file MuonBestMeasurementFinder.cc.
|
inline |
Definition at line 45 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 39 of file MuonBestMeasurementFinder.cc.
References LogTrace, metname, TrajectoryMeasurement::recHit(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CosmicMuonTrajectoryBuilder::findBestMeasurements(), and StandAloneMuonFilter::findBestMeasurements().
pair< double, int > MuonBestMeasurementFinder::lookAtSubRecHits | ( | TrajectoryMeasurement * | measurement, |
const Propagator * | propagator | ||
) |
Definition at line 93 of file MuonBestMeasurementFinder.cc.
References HLT_25ns10e33_v2_cff::estimator, metname, TrajectoryMeasurement::predictedState(), TrajectoryMeasurement::recHit(), mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 51 of file MuonBestMeasurementFinder.h.
Referenced by estimator().