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