1 #ifndef PhysicsTools_TagAndProbe_MatchedProbeMaker_H 2 #define PhysicsTools_TagAndProbe_MatchedProbeMaker_H 58 produces<edm::RefVector<collection> >();
86 for (
unsigned i = 0;
i < Cands->size();
i++) {
92 if (f != ResMatchMap->
end()) {
93 outputCollection_matched->push_back(CandRef);
95 outputCollection_unmatched->push_back(CandRef);
102 for (
unsigned i = 0;
i < Cands->size();
i++) {
109 for (
unsigned j = 0;
j < Refs->
size();
j++) {
113 if (
overlap(*CandRef, *RefRef)) {
119 outputCollection_matched->push_back(CandRef);
121 outputCollection_unmatched->push_back(CandRef);
132 template <
typename T>
136 template <
typename T>
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
const_iterator end() const
last iterator over the map (read only)
const_iterator find(const key_type &k) const
find element with specified reference key
edm::InputTag m_referenceSource
edm::InputTag m_resMatchMapSource
edm::InputTag m_candidateSource
~MatchedProbeMaker() override
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::vector< T > collection
MatchedProbeMaker(const edm::ParameterSet &iConfig)
void produce(edm::Event &, const edm::EventSetup &) override