36 produces<std::vector<reco::CompositeCandidate>>(
"theTagLeg");
37 produces<std::vector<reco::CompositeCandidate>>(
"theProbeLeg");
47 auto tagLegs = std::make_unique<std::vector<reco::CompositeCandidate>>();
48 auto probeLegs = std::make_unique<std::vector<reco::CompositeCandidate>>();
54 for (
auto const&
z : *zs) {
56 for (
auto const&
leg :
z) {
58 tagLegs->emplace_back(
leg);
61 probeLegs->emplace_back(
leg);
T getParameter(std::string const &) const
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)
void produce(edm::StreamID, edm::Event &, edm::EventSetup const &) const override
edm::EDGetTokenT< std::vector< reco::CompositeCandidate > > v_RecoCompositeCandidateToken_
CollectionFromZLegProducer(edm::ParameterSet const &iConfig)