65 : ZmumuCandidates_(consumes<
edm::
View<
reco::CompositeCandidate>>(
66 iConfig.getParameter<
edm::
InputTag>(
"ZmumuCandidatesCollection"))) {
77 produces<edm::RefVector<pat::MuonCollection>>();
94 double massDifference = -1.0;
98 if (
std::abs(
ZMass - iZCand->mass()) < massDifference || massDifference < 0) {
100 chosenZCand = &(*iZCand);
const Candidate * daughter(size_type) const override
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void addDefault(ParameterSetDescription const &psetDescription)
Abs< T >::type abs(const T &t)
#define DEFINE_FWK_MODULE(type)
MuMuForEmbeddingSelector(const edm::ParameterSet &)
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
edm::EDGetTokenT< edm::View< reco::CompositeCandidate > > ZmumuCandidates_
void produce(edm::Event &, const edm::EventSetup &) override
virtual const CandidateBaseRef & masterClone() const =0