31 produces<std::vector<reco::VertexCompositePtrCandidate>>();
38 auto blob = std::make_unique<std::vector<reco::VertexCompositePtrCandidate>>();
45 auto& c_blob = blob->back();
48 for(
unsigned i = 0;
i < candidates->size(); ++
i){
49 c_blob.addDaughter(candidates->ptrAt(
i));
60 descriptions.
add(
"UnclusteredBlobProducer",desc);
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
UnclusteredBlobProducer(const edm::ParameterSet &)
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
#define DEFINE_FWK_MODULE(type)
~UnclusteredBlobProducer() override
edm::EDGetTokenT< edm::View< reco::Candidate > > candsrc_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void add(std::string const &label, ParameterSetDescription const &psetDescription)