CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

edm::TriggerResultInserter Class Reference

#include <TriggerResultInserter.h>

Inheritance diagram for edm::TriggerResultInserter:
edm::EDProducer edm::ProducerBase edm::ProductRegistryHelper

List of all members.

Public Types

typedef boost::shared_ptr
< HLTGlobalStatus
TrigResPtr

Public Member Functions

virtual void produce (edm::Event &e, edm::EventSetup const &c)
 TriggerResultInserter (edm::ParameterSet const &ps, const TrigResPtr &trptr)
 TriggerResultInserter (edm::ParameterSet const &ps)
virtual ~TriggerResultInserter ()

Private Attributes

ParameterSetID pset_id_
TrigResPtr trptr_

Detailed Description

Definition at line 27 of file TriggerResultInserter.h.


Member Typedef Documentation

Definition at line 31 of file TriggerResultInserter.h.


Constructor & Destructor Documentation

edm::TriggerResultInserter::TriggerResultInserter ( edm::ParameterSet const &  ps) [explicit]
edm::TriggerResultInserter::TriggerResultInserter ( edm::ParameterSet const &  ps,
const TrigResPtr trptr 
)

Definition at line 11 of file TriggerResultInserter.cc.

                                                                                                :
    trptr_(trptr),
    pset_id_(pset.id())
  {
    produces<TriggerResults>();
  }
edm::TriggerResultInserter::~TriggerResultInserter ( ) [virtual]

Definition at line 18 of file TriggerResultInserter.cc.

  {
  }  

Member Function Documentation

void edm::TriggerResultInserter::produce ( edm::Event e,
edm::EventSetup const &  c 
) [virtual]

Implements edm::EDProducer.

Definition at line 22 of file TriggerResultInserter.cc.

References pset_id_, edm::Event::put(), python::entryComment::results, and trptr_.

  {
    std::auto_ptr<TriggerResults>
      results(new TriggerResults(*trptr_, pset_id_));

    e.put(results);
  }

Member Data Documentation

Definition at line 45 of file TriggerResultInserter.h.

Referenced by produce().

Definition at line 43 of file TriggerResultInserter.h.

Referenced by produce().