31 : v_RecoCompositeCandidateToken_{consumes<std::vector<reco::CompositeCandidate>>(
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);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
const edm::EventSetup & c
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< std::vector< reco::CompositeCandidate > > v_RecoCompositeCandidateToken_
T getParameter(std::string const &) const
void produce(edm::StreamID, edm::Event &, edm::EventSetup const &) const override
CollectionFromZLegProducer(edm::ParameterSet const &iConfig)