TriggerResultInserter.h
Go to the documentation of this file.
1 #ifndef art_Framework_Core_TriggerResultInserter_h
2 #define art_Framework_Core_TriggerResultInserter_h
3 
4 // ======================================================================
5 //
6 // TriggerResultInserter - This is an unusual module in that it is always
7 // present in the schedule and it is not configurable. The ownership of
8 // the bitmask is shared with the scheduler. Its purpose is to create a
9 // TriggerResults instance and insert it into the event.
10 //
11 // ======================================================================
12 
15 #include "cetlib/exempt_ptr.h"
16 #include "fhiclcpp/ParameterSet.h"
18 
19 // ----------------------------------------------------------------------
20 
21 namespace art {
22  class Event;
23  class HLTGlobalStatus;
24 
26  public:
28 
29  // standard constructor not supported for this module
30  explicit TriggerResultInserter(fhicl::ParameterSet const& ps) = delete;
31 
32  // the pset needed here is the one that defines the trigger path names
34  HLTGlobalStatus& pathResults);
35 
36  void produce(art::Event& e) override;
37 
38  private:
39  TrigResPtr trptr_;
41  }; // TriggerResultInserter
42 
43 } // art
44 
45 // ======================================================================
46 
47 #endif /* art_Framework_Core_TriggerResultInserter_h */
48 
49 // Local Variables:
50 // mode: c++
51 // End:
TriggerResultInserter(fhicl::ParameterSet const &ps)=delete
void produce(art::Event &e) override
Service to store calibration data products (CDP) in the SQLite3 metadatabase of a file...
Definition: FillParentInfo.h:8
Float_t e
Definition: plot.C:35
cet::exempt_ptr< HLTGlobalStatus > TrigResPtr
fhicl::ParameterSetID pset_id_