1 #ifndef RecoSelectors_RecoTrackRefSelector_h
2 #define RecoSelectors_RecoTrackRefSelector_h
34 const std::vector<std::string>&
quality ,
const std::vector<std::string>&
algorithm ) :
36 tip, lip, minHit, min3DHit, maxChi2,
37 quality , algorithm ) {}
46 for (
unsigned int i = 0;
i < c->size();
i++) {
50 if (
operator()(*trk,beamSpot.
product()) ) {
const_ref_iterator begin() const
RecoTrackRefSelector(double ptMin, double minRapidity, double maxRapidity, double tip, double lip, int minHit, int min3DHit, double maxChi2, const std::vector< std::string > &quality, const std::vector< std::string > &algorithm)
edm::EDGetTokenT< reco::BeamSpot > bsSrcToken_
const_iterator end() const
Termination of iteration.
const_iterator begin() const
Initialize an iterator over the RefVector.
ref_container::const_iterator const_ref_iterator
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
ref_container ref_selected_
const_ref_iterator end() const
RecoTrackRefSelector()
Constructors.
T const * product() const
void clear()
Clear the vector.
reco::TrackRefVector ref_container
void select(const edm::Handle< collection > &c, const edm::Event &event, const edm::EventSetup &)
RecoTrackRefSelector(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
size_type size() const
Size of the RefVector.