33 produces<std::vector<reco::CompositeCandidate>>(
"theTagLeg");
34 produces<std::vector<reco::CompositeCandidate>>(
"theProbeLeg");
43 auto tagLegs = std::make_unique<std::vector<reco::CompositeCandidate>>();
44 auto probeLegs = std::make_unique<std::vector<reco::CompositeCandidate>>();
50 for (
auto const&
z : *zs) {
52 for (
auto const& leg :
z) {
54 tagLegs->emplace_back(leg);
56 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)