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 &, edm::ConsumesCollector &iC) | |
Constructor by pset. More... | |
Private Attributes | |
std::unique_ptr < TrackerHitAssociator > | associator_ |
std::vector< Layer > | layers_ |
TrackerHitAssociator::Config | trackerHitAssociatorConfig_ |
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, |
edm::ConsumesCollector & | iC | ||
) |
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.
|
inline |
Return information about the given layer by index.
Definition at line 87 of file TrackQuality.h.
References cmsHarvester::index, and layers_.
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.
|
inline |
Return the number of layers with simulated and/or reconstructed hits.
Definition at line 81 of file TrackQuality.h.
References layers_.
|
private |
Definition at line 94 of file TrackQuality.h.
|
private |
Definition at line 96 of file TrackQuality.h.
Referenced by layer(), and numberOfLayers().
|
private |
Definition at line 93 of file TrackQuality.h.