23 template <
class TauType,
class TauDiscriminator>
40 <<
"<" + this->
getTauTypeString() +
"AgainstElectronDeadECAL::discriminate>:";
43 <<
" tau: Pt = " << tau->pt() <<
", eta = " <<
tau->eta() <<
", phi = " <<
tau->phi();
64 template <
class TauType,
class TauDiscriminator>
70 desc.add<
double>(
"dR", 0.08);
71 desc.add<
unsigned int>(
"minStatus", 12);
72 desc.add<
bool>(
"extrapolateToECalEntrance",
true);
73 desc.add<
int>(
"verbosity", 0);
double discriminate(const TauRef &tau) const override
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
TauDiscriminationAgainstElectronDeadECAL< reco::PFTau, reco::PFTauDiscriminator > PFRecoTauDiscriminationAgainstElectronDeadECAL
AntiElectronDeadECAL antiElectronDeadECAL_
void beginEvent(const edm::EventSetup &)
void beginEvent(const edm::Event &evt, const edm::EventSetup &es) override
std::vector< TauType > TauCollection
static void fillProducerDescriptions(edm::ParameterSetDescription &desc)
#define DEFINE_FWK_MODULE(type)
static std::string getTauTypeString()
helper method to retrieve tau type name, e.g. to build correct cfi getter
Log< level::Warning, true > LogPrint
~TauDiscriminationAgainstElectronDeadECAL() override
TauDiscriminationAgainstElectronDeadECAL< pat::Tau, pat::PATTauDiscriminator > PATTauDiscriminationAgainstElectronDeadECAL
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
TauDiscriminationAgainstElectronDeadECAL(const edm::ParameterSet &cfg)
edm::Ref< TauCollection > TauRef