1 #ifndef RecoTauTag_RecoTau_TauDiscriminationProducerBase_H_ 2 #define RecoTauTag_RecoTau_TauDiscriminationProducerBase_H_ 50 template<
class TauType,
class TauDiscriminator>
edm::EDGetTokenT< TauDiscriminator > disc_token
edm::RefProd< TauCollection > TauRefProd
bool getByToken(EDGetToken token, Handle< PROD > &result) const
TauDiscriminationProducerBase< reco::CaloTau, reco::CaloTauDiscriminator > CaloTauDiscriminationProducerBase
std::vector< TauType > TauCollection
TauDiscriminationProducerBase()
edm::Handle< TauDiscriminator > handle
std::vector< TauDiscInfo > prediscriminants_
edm::Ref< TauCollection > TauRef
void produce(edm::Event &, const edm::EventSetup &) override
uint8_t andPrediscriminants_
TauDiscriminationProducerBase< pat::Tau, pat::PATTauDiscriminator > PATTauDiscriminationProducerBase
virtual void beginEvent(const edm::Event &, const edm::EventSetup &)
void fill(const edm::Event &evt)
edm::EDGetTokenT< TauCollection > Tau_token
virtual double discriminate(const TauRef &tau) const =0
TauDiscriminationProducerBase< reco::PFTau, reco::PFTauDiscriminator > PFTauDiscriminationProducerBase
~TauDiscriminationProducerBase() override
static std::string getTauTypeString()
helper method to retrieve tau type name, e.g. to build correct cfi getter
edm::InputTag TauProducer_
double prediscriminantFailValue_
virtual void endEvent(edm::Event &)