Public Member Functions | |
void | beginEvent (const edm::Event &, const edm::EventSetup &) |
double | discriminate (const CaloTauRef &theCaloTauRef) |
TCRecoTauDiscriminationAgainstHadronicJets (const edm::ParameterSet &iConfig) | |
~TCRecoTauDiscriminationAgainstHadronicJets () | |
Private Attributes | |
TCTauAlgorithm * | tcTauAlgorithm |
Definition at line 13 of file TCRecoTauDiscriminationAgainstHadronicJets.cc.
TCRecoTauDiscriminationAgainstHadronicJets::TCRecoTauDiscriminationAgainstHadronicJets | ( | const edm::ParameterSet & | iConfig | ) | [inline, explicit] |
Definition at line 15 of file TCRecoTauDiscriminationAgainstHadronicJets.cc.
:CaloTauDiscriminationProducerBase(iConfig){ tcTauAlgorithm = new TCTauAlgorithm(iConfig); }
TCRecoTauDiscriminationAgainstHadronicJets::~TCRecoTauDiscriminationAgainstHadronicJets | ( | ) | [inline] |
Definition at line 18 of file TCRecoTauDiscriminationAgainstHadronicJets.cc.
{}
void TCRecoTauDiscriminationAgainstHadronicJets::beginEvent | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | [virtual] |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 26 of file TCRecoTauDiscriminationAgainstHadronicJets.cc.
{ tcTauAlgorithm->eventSetup(iEvent,iSetup); }
double TCRecoTauDiscriminationAgainstHadronicJets::discriminate | ( | const CaloTauRef & | theCaloTauRef | ) | [virtual] |
Implements TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 31 of file TCRecoTauDiscriminationAgainstHadronicJets.cc.
References TCTauAlgorithm::TCAlgoHadronicJet.
{ tcTauAlgorithm->recalculateEnergy(*theCaloTauRef); return ((tcTauAlgorithm->algoComponent() != TCTauAlgorithm::TCAlgoHadronicJet) ? 1. : 0.); }
Definition at line 23 of file TCRecoTauDiscriminationAgainstHadronicJets.cc.