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
#define DEFINE_FWK_MODULE(type)
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void addDefault(ParameterSetDescription const &psetDescription)
const_iterator begin() const
virtual void beginStream(edm::StreamID) override
~MuMuForEmbeddingSelector()
Abs< T >::type abs(const T &t)
MuMuForEmbeddingSelector(const edm::ParameterSet &)
virtual const CandidateBaseRef & masterClone() const =0
virtual const Candidate * daughter(size_type) const
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
virtual void endStream() override
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
edm::EDGetTokenT< edm::View< reco::CompositeCandidate > > ZmumuCandidates_
const_iterator end() const
virtual void produce(edm::Event &, const edm::EventSetup &) override