Public Member Functions | |
void | beginEvent (const edm::Event &event, const edm::EventSetup &evtSetup) |
double | discriminate (const PFTauRef &pfTau) |
PFRecoTauCorrectedInvariantMassProducer (const edm::ParameterSet &iConfig) | |
~PFRecoTauCorrectedInvariantMassProducer () | |
Private Attributes | |
edm::InputTag | PFTauDecayModeProducer_ |
edm::Handle < PFTauDecayModeAssociation > | theDMAssoc |
Definition at line 24 of file PFRecoTauCorrectedInvariantMassProducer.cc.
PFRecoTauCorrectedInvariantMassProducer::PFRecoTauCorrectedInvariantMassProducer | ( | const edm::ParameterSet & | iConfig | ) | [inline, explicit] |
Definition at line 26 of file PFRecoTauCorrectedInvariantMassProducer.cc.
References edm::ParameterSet::getParameter().
:PFTauDiscriminationProducerBase(iConfig){ PFTauDecayModeProducer_ = iConfig.getParameter<edm::InputTag>("PFTauDecayModeProducer"); }
PFRecoTauCorrectedInvariantMassProducer::~PFRecoTauCorrectedInvariantMassProducer | ( | ) | [inline] |
Definition at line 29 of file PFRecoTauCorrectedInvariantMassProducer.cc.
{}
void PFRecoTauCorrectedInvariantMassProducer::beginEvent | ( | const edm::Event & | event, |
const edm::EventSetup & | evtSetup | ||
) | [virtual] |
Reimplemented from TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 37 of file PFRecoTauCorrectedInvariantMassProducer.cc.
{ // Get the PFTau Decay Modes event.getByLabel(PFTauDecayModeProducer_, theDMAssoc); }
double PFRecoTauCorrectedInvariantMassProducer::discriminate | ( | const PFTauRef & | pfTau | ) |
Definition at line 43 of file PFRecoTauCorrectedInvariantMassProducer.cc.
References reco::LeafCandidate::mass().
{ const PFTauDecayMode& theDecayMode = (*theDMAssoc)[thePFTauRef]; return theDecayMode.mass(); }
Definition at line 33 of file PFRecoTauCorrectedInvariantMassProducer.cc.
edm::Handle<PFTauDecayModeAssociation> PFRecoTauCorrectedInvariantMassProducer::theDMAssoc [private] |
Definition at line 34 of file PFRecoTauCorrectedInvariantMassProducer.cc.