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