Go to the documentation of this file. 1 #ifndef RecoTauTag_RecoTau_TauDiscriminationProducerBase_H_
2 #define RecoTauTag_RecoTau_TauDiscriminationProducerBase_H_
51 template <
class TauType,
52 class TauDiscriminator,
53 class TauDiscriminatorDataType = double,
54 class ConsumeType = TauDiscriminator>
TauDiscriminationProducerBase< reco::PFTau, reco::TauDiscriminatorContainer, reco::SingleTauDiscriminatorContainer, reco::PFTauDiscriminator > PFTauDiscriminationContainerProducerBase
uint8_t andPrediscriminants_
TauDiscriminationProducerBase< pat::Tau, pat::PATTauDiscriminator > PATTauDiscriminationProducerBase
TauDiscriminationProducerBase< reco::PFTau, reco::PFTauDiscriminator > PFTauDiscriminationProducerBase
~TauDiscriminationProducerBase() override
edm::Handle< ConsumeType > handle
static std::string getTauTypeString()
helper method to retrieve tau type name, e.g. to build correct cfi getter
virtual TauDiscriminatorDataType discriminate(const TauRef &tau) const =0
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< ConsumeType > disc_token
static void fillProducerDescriptions(edm::ParameterSetDescription &desc)
edm::EDGetTokenT< TauCollection > Tau_token
virtual void endEvent(edm::Event &)
edm::Ref< TauCollection > TauRef
virtual void beginEvent(const edm::Event &, const edm::EventSetup &)
TauDiscriminationProducerBase()
edm::InputTag TauProducer_
edm::RefProd< TauCollection > TauRefProd
void produce(edm::Event &, const edm::EventSetup &) override
TauDiscriminationProducerBase< pat::Tau, reco::TauDiscriminatorContainer, reco::SingleTauDiscriminatorContainer, pat::PATTauDiscriminator > PATTauDiscriminationContainerProducerBase
edm::ValueMap< SingleTauDiscriminatorContainer > TauDiscriminatorContainer
std::vector< TauDiscInfo > prediscriminants_
std::vector< TauType > TauCollection
void fill(const edm::Event &evt)
double prediscriminantFailValue_