CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TriggerResultInserter.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_TriggerResultsInserter_h
2 #define FWCore_Framework_TriggerResultsInserter_h
3 
4 /*
5  Author: Jim Kowalkowski 15-1-06
6 
7  This is an unusual module in that it is always present in the
8  schedule and it is not configurable.
9  The ownership of the bitmask is shared with the scheduler
10  Its purpose is to create a TriggerResults instance and insert it into
11  the event.
12 
13 */
14 
17 
18 #include "boost/shared_ptr.hpp"
19 
20 namespace edm
21 {
22  class ParameterSet;
23  class Event;
24  class EventSetup;
25  class HLTGlobalStatus;
26 
28  {
29  public:
30 
31  typedef boost::shared_ptr<HLTGlobalStatus> TrigResPtr;
32 
33  // standard constructor not supported for this module
34  explicit TriggerResultInserter(edm::ParameterSet const& ps);
35 
36  // the pset needed here is the one that defines the trigger path names
37  TriggerResultInserter(edm::ParameterSet const& ps, const TrigResPtr& trptr);
38  virtual ~TriggerResultInserter();
39 
40  virtual void produce(edm::Event& e, edm::EventSetup const& c);
41 
42  private:
44 
46  };
47 }
48 #endif
boost::shared_ptr< HLTGlobalStatus > TrigResPtr
TriggerResultInserter(edm::ParameterSet const &ps)
virtual void produce(edm::Event &e, edm::EventSetup const &c)