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 &) |
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 26 of file TrackQuality.h.
typedef std::vector<TrackingParticleRef> TrackQuality::SimParticleTrail |
Definition at line 29 of file TrackQuality.h.
TrackQuality::TrackQuality | ( | const edm::ParameterSet & | config | ) |
Constructor by pset.
Definition at line 182 of file TrackQuality.cc.
void TrackQuality::evaluate | ( | SimParticleTrail const & | spt, |
reco::TrackBaseRef const & | tr | ||
) |
Compute information about the track reconstruction quality.
Definition at line 192 of file TrackQuality.cc.
References associator_, TrackingRecHit::bad, TrackQuality::Layer::Bad, gather_cfg::cout, TrackQuality::Layer::Dead, DetId::det(), getDetLayer(), TrackQuality::Layer::Good, TrackQuality::Layer::hits, i, TrackingRecHit::inactive, TrackQuality::Layer::layer, layer(), layers_, TrackQuality::Layer::Misassoc, TrackQuality::Layer::Missed, DetId::Muon, TrackQuality::Layer::Noise, pos, TrackQuality::Layer::Hit::recHitId, reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), TrackQuality::Layer::Shared, findQualityFiles::size, 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 85 of file TrackQuality.h.
References getHLTprescales::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 187 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 79 of file TrackQuality.h.
References layers_.
Referenced by TrackClassifier::qualityInformation().
|
private |
Definition at line 92 of file TrackQuality.h.
Referenced by evaluate(), and newEvent().
|
private |
Definition at line 91 of file TrackQuality.h.
Referenced by newEvent().
|
private |
Definition at line 94 of file TrackQuality.h.
Referenced by evaluate(), layer(), and numberOfLayers().