26 ~PFRecoTauDecayModeIndexProducer()
override{}
27 double discriminate(
const PFTauRef& thePFTauRef)
const override ;
38 event.getByLabel(PFTauDecayModeProducer_, decayModes_);
41 double PFRecoTauDecayModeIndexProducer::discriminate(
const PFTauRef& thePFTauRef)
const 43 int theDecayModeIndex = -1;
48 theDecayModeIndex =
static_cast<int>(theDecayMode.
getDecayMode());
50 if (theDecayModeIndex < 0) theDecayModeIndex = -1;
52 return theDecayModeIndex;
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
hadronicTauDecayModes getDecayMode() const