1 #ifndef RecoTauTag_RecoTau_TauDiscriminationProducerBase_H_
2 #define RecoTauTag_RecoTau_TauDiscriminationProducerBase_H_
46 template<
class TauType,
class TauDiscriminator>
107 <<
"Unsupported TauType used. You must use either PFTau or CaloTaus.";
virtual double discriminate(const TauRef &tau)=0
edm::RefProd< TauCollection > TauRefProd
TauDiscriminationProducerBase< reco::CaloTau, reco::CaloTauDiscriminator > CaloTauDiscriminationProducerBase
std::vector< TauType > TauCollection
TauDiscriminationProducerBase()
edm::Handle< TauDiscriminator > handle
std::vector< TauDiscInfo > prediscriminants_
edm::Ref< TauCollection > TauRef
uint8_t andPrediscriminants_
void produce(edm::Event &, const edm::EventSetup &)
virtual void endEvent(edm::Event &evt)
virtual ~TauDiscriminationProducerBase()
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void fill(const edm::Event &evt)
std::string getProducerString()
helper function retrieve the correct cfi getter string (ie PFTauProducer)
TauDiscriminationProducerBase< reco::PFTau, reco::PFTauDiscriminator > PFTauDiscriminationProducerBase
virtual void beginEvent(const edm::Event &evt, const edm::EventSetup &evtSetup)
edm::InputTag TauProducer_
double prediscriminantFailValue_