Go to the documentation of this file.
73 : ZmumuCandidates_(consumes<
edm::
View<
reco::CompositeCandidate>>(
74 iConfig.getParameter<
edm::
InputTag>(
"ZmumuCandidatesCollection"))) {
85 produces<edm::RefVector<pat::MuonCollection>>();
107 double massDifference = -1.0;
111 if (
std::abs(
ZMass - iZCand->mass()) < massDifference || massDifference < 0) {
113 chosenZCand = &(*iZCand);
void beginStream(edm::StreamID) override
edm::EDGetTokenT< edm::View< reco::CompositeCandidate > > ZmumuCandidates_
#define DEFINE_FWK_MODULE(type)
MuMuForEmbeddingSelector(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
~MuMuForEmbeddingSelector() override
void endStream() override
virtual const CandidateBaseRef & masterClone() const =0
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
void produce(edm::Event &, const edm::EventSetup &) override
Abs< T >::type abs(const T &t)
void addDefault(ParameterSetDescription const &psetDescription)
const Candidate * daughter(size_type) const override
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode)