Go to the documentation of this file.
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);
TauDiscriminationAgainstElectronDeadECAL< reco::PFTau, reco::PFTauDiscriminator > PFRecoTauDiscriminationAgainstElectronDeadECAL
ParameterDescriptionBase * add(U const &iLabel, T const &value)
AntiElectronDeadECAL antiElectronDeadECAL_
void beginEvent(const edm::Event &evt, const edm::EventSetup &es) override
edm::Ref< TauCollection > TauRef
#define DEFINE_FWK_MODULE(type)
std::vector< TauType > TauCollection
static std::string getTauTypeString()
helper method to retrieve tau type name, e.g. to build correct cfi getter
static void fillProducerDescriptions(edm::ParameterSetDescription &desc)
TauDiscriminationAgainstElectronDeadECAL< pat::Tau, pat::PATTauDiscriminator > PATTauDiscriminationAgainstElectronDeadECAL
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
TauDiscriminationAgainstElectronDeadECAL(const edm::ParameterSet &cfg)
double discriminate(const TauRef &tau) const override
~TauDiscriminationAgainstElectronDeadECAL() override
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
void beginEvent(const edm::EventSetup &)