Go to the documentation of this file.
2 #ifndef VertexClassifierByProxy_h
3 #define VertexClassifierByProxy_h
10 template <
typename Collection>
80 for (std::size_t
i = 0;
i <
flags_.size(); ++
i)
const VertexClassifierByProxy< Collection > & evaluate(TrackingVertexRef const &vertex)
Classify the TrackingVertex in categories.
Get track history and classification by proxy.
const VertexClassifierByProxy< Collection > & evaluate(edm::Ref< Collection > const &vertex)
Classify any vertexes in categories.
const Flags & flags() const
Returns flags with the category descriptions.
const VertexClassifierByProxy< Collection > & evaluate(edm::Ref< Collection > const &vertex, std::size_t index)
Classify any vertexes in categories.
virtual void newEvent(edm::Event const &, edm::EventSetup const &)
Pre-process event information (for accessing reconstraction information)
void newEvent(edm::Event const &event, edm::EventSetup const &config) override
Pre-process event information (for accessing reconstraction information).
Get track history and classify it in function of their .
const edm::InputTag proxy_
edm::AssociationMap< edm::OneToMany< Collection, reco::VertexCollection > > Association
Association type.
VertexClassifierByProxy(edm::ParameterSet const &config, edm::ConsumesCollector &&collector)
Constructor by ParameterSet.
Flags flags_
Flag containers.
const VertexClassifier & evaluate(reco::VertexBaseRef const &)
Classify the RecoVertex in categories.
edm::Handle< Association > proxyHandler_
void reset()
Reset the categories flags.
std::vector< bool > Flags
Main types associated to the class.