51 produces<edm::ValueMap<bool> >();
66 if( theElements.empty() )
continue;
70 for(
auto const & ele : elements ) {
76 values.push_back((nTracks==1));
81 filler.
insert(candidates,values.begin(),values.end());
89 desc.
add<
double>(
"minTrackPt", 1);
90 desc.
add<
double>(
"minRawCaloEnergy", 0.5);
91 descriptions.
add(
"chargedHadronPFTrackIsolation", desc);
T getParameter(std::string const &) const
const unsigned int nTracks(const reco::Vertex &sv)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
edm::EDGetTokenT< edm::View< reco::PFCandidate > > candidatesToken_
void insert(const H &h, I begin, I end)
std::vector< ElementInBlock > ElementsInBlocks
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Handle< PROD > getHandle(EDGetTokenT< PROD > token) const
#define DEFINE_FWK_MODULE(type)
~ChargedHadronPFTrackIsolationProducer() override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
edm::InputTag srccandidates_
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
ChargedHadronPFTrackIsolationProducer(const edm::ParameterSet &cfg)