Get track history and classification by proxy. More...
#include <TrackClassifierByProxy.h>
Public Member Functions | |
TrackClassifierByProxy < Collection > const & | evaluate (TrackingParticleRef const &track) |
Classify the TrackingVertex in categories. More... | |
TrackClassifierByProxy < Collection > const & | evaluate (edm::Ref< Collection > const &track, std::size_t index) |
Classify any Tracks in categories. More... | |
TrackClassifierByProxy < Collection > const & | evaluate (edm::Ref< Collection > const &track) |
Classify any tracks in categories. More... | |
virtual void | newEvent (edm::Event const &event, edm::EventSetup const &config) |
Pre-process event information (for accessing reconstraction information). More... | |
TrackClassifierByProxy (edm::ParameterSet const &config) | |
Constructor by ParameterSet. More... | |
Public Member Functions inherited from TrackClassifier | |
TrackClassifier const & | evaluate (reco::TrackBaseRef const &) |
Classify the RecoTrack in categories. More... | |
TrackClassifier const & | evaluate (TrackingParticleRef const &) |
Classify the TrackingParticle in categories. More... | |
TrackClassifier const & | evaluate (reco::TrackRef const &track) |
Classify the RecoTrack in categories. More... | |
TrackHistory const & | history () const |
Returns a reference to the track history used in the classification. More... | |
void | newEvent (edm::Event const &, edm::EventSetup const &) |
Pre-process event information (for accessing reconstraction information) More... | |
TrackQuality const & | quality () const |
Returns a reference to the track quality used in the classification. More... | |
TrackClassifier (edm::ParameterSet const &, edm::ConsumesCollector &&) | |
Constructor by ParameterSet. More... | |
Public Member Functions inherited from TrackCategories | |
const Flags & | flags () const |
Returns flags with the category descriptions. More... | |
bool | is (Category category) const |
Returns track flag for a given category. More... | |
TrackCategories () | |
Void constructor. More... | |
Private Attributes | |
const edm::InputTag | proxy_ |
edm::Handle< Association > | proxyHandler_ |
Additional Inherited Members | |
Static Public Attributes inherited from TrackCategories | |
static const char *const | Names [] |
Name of the different categories. More... | |
Protected Member Functions inherited from TrackCategories | |
void | reset () |
Reset the categories flags. More... | |
void | unknownTrack () |
Protected Attributes inherited from TrackCategories | |
Flags | flags_ |
Flag containers. More... | |
Get track history and classification by proxy.
Definition at line 11 of file TrackClassifierByProxy.h.
typedef edm::AssociationMap<edm::OneToMany<Collection, reco::TrackCollection> > TrackClassifierByProxy< Collection >::Association |
Association type.
Definition at line 17 of file TrackClassifierByProxy.h.
|
inline |
Constructor by ParameterSet.
Definition at line 20 of file TrackClassifierByProxy.h.
|
inline |
Classify the TrackingVertex in categories.
Definition at line 33 of file TrackClassifierByProxy.h.
References TrackClassifier::evaluate().
|
inline |
Classify any Tracks in categories.
Definition at line 40 of file TrackClassifierByProxy.h.
References edm::RefVector< C, T, F >::at(), alignCSCRings::e, TrackClassifier::evaluate(), TrackClassifierByProxy< Collection >::proxyHandler_, TrackCategories::reset(), testEve_cfg::tracks, and TrackCategories::unknownTrack().
|
inline |
Classify any tracks in categories.
Definition at line 64 of file TrackClassifierByProxy.h.
References edm::RefVector< C, T, F >::at(), alignCSCRings::e, TrackClassifier::evaluate(), TrackCategories::flags(), TrackCategories::flags_, i, cmsHarvester::index, TrackClassifierByProxy< Collection >::proxyHandler_, TrackCategories::reset(), edm::RefVector< C, T, F >::size(), testEve_cfg::tracks, and TrackCategories::unknownTrack().
|
inlinevirtual |
Pre-process event information (for accessing reconstraction information).
Definition at line 24 of file TrackClassifierByProxy.h.
References TrackClassifier::newEvent(), TrackClassifierByProxy< Collection >::proxy_, and TrackClassifierByProxy< Collection >::proxyHandler_.
|
private |
Definition at line 100 of file TrackClassifierByProxy.h.
Referenced by TrackClassifierByProxy< Collection >::newEvent().
|
private |
Definition at line 102 of file TrackClassifierByProxy.h.
Referenced by TrackClassifierByProxy< Collection >::evaluate(), and TrackClassifierByProxy< Collection >::newEvent().