This class analyses the reconstruction quality for a given track. More...
#include <TrackQuality.h>
Classes | |
struct | Layer |
Public Types | |
typedef std::vector < TrackingParticleRef > | SimParticleTrail |
Public Member Functions | |
void | evaluate (SimParticleTrail const &, reco::TrackBaseRef const &, const TrackerTopology *tTopo) |
Compute information about the track reconstruction quality. More... | |
const Layer & | layer (unsigned int index) const |
Return information about the given layer by index. More... | |
void | newEvent (const edm::Event &, const edm::EventSetup &) |
Pre-process event information (for accessing reconstruction information) More... | |
unsigned int | numberOfLayers () const |
Return the number of layers with simulated and/or reconstructed hits. More... | |
TrackQuality (const edm::ParameterSet &) | |
Constructor by pset. More... | |
Private Attributes | |
std::auto_ptr < TrackerHitAssociator > | associator_ |
const edm::ParameterSet | associatorPSet_ |
std::vector< Layer > | layers_ |
This class analyses the reconstruction quality for a given track.
Definition at line 28 of file TrackQuality.h.
typedef std::vector<TrackingParticleRef> TrackQuality::SimParticleTrail |
Definition at line 31 of file TrackQuality.h.
TrackQuality::TrackQuality | ( | const edm::ParameterSet & | config | ) |
Constructor by pset.
Definition at line 144 of file TrackQuality.cc.
void TrackQuality::evaluate | ( | SimParticleTrail const & | spt, |
reco::TrackBaseRef const & | tr, | ||
const TrackerTopology * | tTopo | ||
) |
Compute information about the track reconstruction quality.
Definition at line 154 of file TrackQuality.cc.
References associator_, TrackQuality::Layer::Bad, TrackingRecHit::bad, gather_cfg::cout, TrackQuality::Layer::Dead, DetId::det(), getDetLayer(), TrackQuality::Layer::hits, i, TrackingRecHit::inactive, TrackQuality::Layer::layer, layer(), layers_, TrackQuality::Layer::Misassoc, TrackQuality::Layer::Missed, DetId::Muon, TrackQuality::Layer::Noise, TrackQuality::Layer::Hit::recHitId, reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), TrackQuality::Layer::Hit::state, TrackQuality::Layer::subDet, and TrackQuality::Layer::Unknown.
Referenced by TrackClassifier::qualityInformation().
|
inline |
Return information about the given layer by index.
Definition at line 87 of file TrackQuality.h.
References cmsHarvester::index, and layers_.
Referenced by evaluate(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), and TrackClassifier::qualityInformation().
void TrackQuality::newEvent | ( | const edm::Event & | ev, |
const edm::EventSetup & | es | ||
) |
Pre-process event information (for accessing reconstruction information)
Definition at line 149 of file TrackQuality.cc.
References associator_, and associatorPSet_.
Referenced by TrackClassifier::newEvent().
|
inline |
Return the number of layers with simulated and/or reconstructed hits.
Definition at line 81 of file TrackQuality.h.
References layers_.
Referenced by TrackClassifier::qualityInformation().
|
private |
Definition at line 94 of file TrackQuality.h.
Referenced by evaluate(), and newEvent().
|
private |
Definition at line 93 of file TrackQuality.h.
Referenced by newEvent().
|
private |
Definition at line 96 of file TrackQuality.h.
Referenced by evaluate(), layer(), and numberOfLayers().