46 produces<edm::ValueMap<bool>>();
79 std::vector<bool> tags;
81 for(
auto jet = jets->begin();
jet != jets->end(); ++
jet){
84 for(
auto cand :
jet->getJetConstituentsQuick()){
85 if(
abs(
cand->pdgId()) == 15) found =
true;
88 tags.push_back(found);
93 fillerCorr.
insert(jets,tags.begin(),tags.end());
104 desc.
add<
edm::InputTag>(
"src")->setComment(
"input physics object collection");
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void insert(const H &h, I begin, I end)
#define DEFINE_FWK_MODULE(type)
void addDefault(ParameterSetDescription const &psetDescription)
void produce(edm::Event &, const edm::EventSetup &) override
GenJetTauTaggerProducer(const edm::ParameterSet &iConfig)
Abs< T >::type abs(const T &t)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
~GenJetTauTaggerProducer() override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< std::vector< reco::GenJet > > src_