14 tausTIPToken_(consumes(iConfig.getParameter<
edm::
InputTag>(
"tausTIP"))),
15 tauTIPSelector_(iConfig.getParameter<
std::
string>(
"cut")) {}
18 double discriminate(
const PFTauRef& pfTau)
const override;
31 return tauTIPSelector_(*(*tausTIP_)[thePFTauRef]) ? 1. : 0.;
35 event.getByToken(tausTIPToken_, tausTIP_);
42 fillProducerDescriptions(
desc);
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< PFTauTIPAssociationByRef > tausTIPToken_
#define DEFINE_FWK_MODULE(type)
double discriminate(const PFTauRef &pfTau) const override
PFRecoTauDiscriminationByIPCut(const edm::ParameterSet &iConfig)
edm::Handle< PFTauTIPAssociationByRef > tausTIP_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const StringCutObjectSelector< reco::PFTauTransverseImpactParameter > tauTIPSelector_
~PFRecoTauDiscriminationByIPCut() override
void beginEvent(const edm::Event &, const edm::EventSetup &) override
edm::AssociationVector< reco::PFTauRefProd, std::vector< reco::PFTauTransverseImpactParameterRef > > PFTauTIPAssociationByRef
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)