Get track history and classification by proxy. More...
#include <TrackClassifierByProxy.h>
Public Member Functions | |
const TrackClassifierByProxy< Collection > & | evaluate (edm::Ref< Collection > const &track) |
Classify any tracks in categories. More... | |
const TrackClassifierByProxy< Collection > & | evaluate (edm::Ref< Collection > const &track, std::size_t index) |
Classify any Tracks in categories. More... | |
const TrackClassifierByProxy< Collection > & | evaluate (TrackingParticleRef const &track) |
Classify the TrackingVertex 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 | |
const TrackClassifier & | evaluate (reco::TrackBaseRef const &) |
Classify the RecoTrack in categories. More... | |
const TrackClassifier & | evaluate (reco::TrackRef const &track) |
Classify the RecoTrack in categories. More... | |
const TrackClassifier & | evaluate (TrackingParticleRef const &) |
Classify the TrackingParticle in categories. More... | |
const TrackHistory & | 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... | |
const TrackQuality & | 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 |
|
inline |
Classify any tracks in categories.
Definition at line 64 of file TrackClassifierByProxy.h.
References MillePedeFileConverter_cfg::e, TrackClassifier::evaluate(), TrackCategories::flags(), TrackCategories::flags_, mps_fire::i, TrackClassifierByProxy< Collection >::proxyHandler_, TrackCategories::reset(), HLT_2018_cff::track, PDWG_EXOHSCP_cff::tracks, and TrackCategories::unknownTrack().
|
inline |
Classify any Tracks in categories.
Definition at line 40 of file TrackClassifierByProxy.h.
References MillePedeFileConverter_cfg::e, TrackClassifier::evaluate(), TrackClassifierByProxy< Collection >::proxyHandler_, TrackCategories::reset(), HLT_2018_cff::track, PDWG_EXOHSCP_cff::tracks, and TrackCategories::unknownTrack().
|
inline |
Classify the TrackingVertex in categories.
Definition at line 33 of file TrackClassifierByProxy.h.
References TrackClassifier::evaluate(), and HLT_2018_cff::track.
|
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().