2 #ifndef TrackClassifierByProxy_h 3 #define TrackClassifierByProxy_h 10 template <
typename Collection>
21 proxy_( config.getUntrackedParameter<
edm::InputTag>(
"trackProducer") ) {}
91 for (std::size_t
i = 0;
i <
flags_.size(); ++
i)
const edm::InputTag proxy_
TrackClassifierByProxy< Collection > const & evaluate(edm::Ref< Collection > const &track, std::size_t index)
Classify any Tracks in categories.
TrackClassifier const & evaluate(reco::TrackBaseRef const &)
Classify the RecoTrack in categories.
TrackClassifierByProxy(edm::ParameterSet const &config)
Constructor by ParameterSet.
void newEvent(edm::Event const &, edm::EventSetup const &)
Pre-process event information (for accessing reconstraction information)
Get track history and classify it in function of their .
const Flags & flags() const
Returns flags with the category descriptions.
edm::AssociationMap< edm::OneToMany< Collection, reco::TrackCollection > > Association
Association type.
value_type const at(size_type idx) const
Retrieve an element of the RefVector.
TrackClassifierByProxy< Collection > const & evaluate(TrackingParticleRef const &track)
Classify the TrackingVertex in categories.
size_type size() const
Size of the RefVector.
std::vector< bool > Flags
Main types associated to the class.
Flags flags_
Flag containers.
void reset()
Reset the categories flags.
edm::Handle< Association > proxyHandler_
Get track history and classification by proxy.
TrackClassifierByProxy< Collection > const & evaluate(edm::Ref< Collection > const &track)
Classify any tracks in categories.
virtual void newEvent(edm::Event const &event, edm::EventSetup const &config)
Pre-process event information (for accessing reconstraction information).