29 hltTauToken = consumes<IsolatedTauTagInfoCollection>(iConfig.
getParameter<
InputTag>(
"HLTTauCollection"));
31 minNumberOfjets = iConfig.
getParameter<
int>(
"minNumberOfJets");
43 <<
" Number_events_read " <<
nEvents <<
" Number_events_kept " << nSelectedEvents <<
" Efficiency "
44 << ((double)nSelectedEvents) / ((double)
nEvents + 0.01) << std::endl;
51 iEvent.getByToken(hltTauToken, tauTagL3Handle);
60 IsolatedTauTagInfoCollection::const_iterator
i;
61 for (
i = L3Taus.begin();
i != L3Taus.end();
i++) {
62 if (
i->discriminator() == 0)
64 Jet taujet = *(
i->jet().get());
88 CaloJetCollection::const_iterator iJet;
89 for (iJet =
jets.begin(); iJet !=
jets.end(); iJet++) {
91 double DR =
deltaR(theTau.
eta(), iJet->eta(), theTau.
phi(), iJet->phi());
96 if (nJets >= minNumberOfjets) {