87 produces<edm::RefVector<pat::MuonCollection>>();
116 double massDifference = -1.0;
119 if (
std::abs(
ZMass - iZCand->mass()) < massDifference || massDifference < 0)
122 chosenZCand = &(*iZCand);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_MODULE(type)
void addDefault(ParameterSetDescription const &psetDescription)
const_iterator begin() const
void beginStream(edm::StreamID) override
~MuMuForEmbeddingSelector() override
Abs< T >::type abs(const T &t)
const Candidate * daughter(size_type) const override
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
MuMuForEmbeddingSelector(const edm::ParameterSet &)
virtual const CandidateBaseRef & masterClone() const =0
void endStream() override
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
edm::EDGetTokenT< edm::View< reco::CompositeCandidate > > ZmumuCandidates_
const_iterator end() const
void produce(edm::Event &, const edm::EventSetup &) override