CMS 3D CMS Logo

Public Member Functions | Private Attributes

RecoTauEventFlagProducer Class Reference

Inheritance diagram for RecoTauEventFlagProducer:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

List of all members.

Public Member Functions

void produce (edm::Event &evt, const edm::EventSetup &es)
 RecoTauEventFlagProducer (const edm::ParameterSet &pset)
 ~RecoTauEventFlagProducer ()

Private Attributes

int flag_

Detailed Description

Definition at line 18 of file RecoTauEventFlagProducer.cc.


Constructor & Destructor Documentation

RecoTauEventFlagProducer::RecoTauEventFlagProducer ( const edm::ParameterSet pset) [inline]

Definition at line 20 of file RecoTauEventFlagProducer.cc.

References flag_, and edm::ParameterSet::getParameter().

                                                          {
      flag_ = pset.getParameter<int>("flag");
      produces<int>();
    }
RecoTauEventFlagProducer::~RecoTauEventFlagProducer ( ) [inline]

Definition at line 24 of file RecoTauEventFlagProducer.cc.

{}

Member Function Documentation

void RecoTauEventFlagProducer::produce ( edm::Event evt,
const edm::EventSetup es 
) [inline, virtual]

Implements edm::EDProducer.

Definition at line 25 of file RecoTauEventFlagProducer.cc.

References flag_, and edm::Event::put().

                                                         {
      std::auto_ptr<int> toput(new int(flag_));
      evt.put(toput);
    }

Member Data Documentation

Definition at line 30 of file RecoTauEventFlagProducer.cc.

Referenced by produce(), and RecoTauEventFlagProducer().