LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
TriggerResultInserter.h
Go to the documentation of this file.
1 #ifndef art_Framework_Core_TriggerResultInserter_h
2 #define art_Framework_Core_TriggerResultInserter_h
3 // vim: set sw=2 expandtab :
4 
5 // ======================================================================
6 // This is an unusual module in that it is always present in the
7 // schedule and it is not configurable. The ownership of the bitmask
8 // is shared with the scheduler. Its purpose is to create a
9 // TriggerResults instance and insert it into the event.
10 // ======================================================================
11 
15 #include "cetlib/exempt_ptr.h"
17 #include "fhiclcpp/fwd.h"
18 
19 namespace art {
21  public:
22  // the pset needed here is the one that defines the trigger path names
24  ScheduleID const,
26 
27  private:
28  void produce(Event&, ProcessingFrame const&) override;
29 
31  cet::exempt_ptr<HLTGlobalStatus> trptr_;
32  };
33 } // namespace art
34 
35 #endif /* art_Framework_Core_TriggerResultInserter_h */
36 
37 // Local Variables:
38 // mode: c++
39 // End:
cet::exempt_ptr< HLTGlobalStatus > trptr_
TriggerResultInserter(fhicl::ParameterSet const &, ScheduleID const, HLTGlobalStatus &)
void produce(Event &, ProcessingFrame const &) override
Definition: MVAAlg.h:12
fhicl::ParameterSetID pset_id_