CMS 3D CMS Logo

Public Member Functions | Private Attributes

PFRecoTauCorrectedInvariantMassProducer Class Reference

Inheritance diagram for PFRecoTauCorrectedInvariantMassProducer:
TauDiscriminationProducerBase< TauType, TauDiscriminator > edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

List of all members.

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

Detailed Description

Definition at line 24 of file PFRecoTauCorrectedInvariantMassProducer.cc.


Constructor & Destructor Documentation

PFRecoTauCorrectedInvariantMassProducer::PFRecoTauCorrectedInvariantMassProducer ( const edm::ParameterSet iConfig) [inline, explicit]
PFRecoTauCorrectedInvariantMassProducer::~PFRecoTauCorrectedInvariantMassProducer ( ) [inline]

Definition at line 29 of file PFRecoTauCorrectedInvariantMassProducer.cc.

{} 

Member Function Documentation

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();
}

Member Data Documentation

Definition at line 33 of file PFRecoTauCorrectedInvariantMassProducer.cc.

Definition at line 34 of file PFRecoTauCorrectedInvariantMassProducer.cc.