Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:12

0001 #ifndef FWCore_Framework_PathStatusInserter_h
0002 #define FWCore_Framework_PathStatusInserter_h
0003 
0004 #include "FWCore/Framework/interface/global/EDProducer.h"
0005 #include "DataFormats/Common/interface/HLTPathStatus.h"
0006 #include "FWCore/Utilities/interface/EDPutToken.h"
0007 #include <vector>
0008 
0009 namespace edm {
0010 
0011   class Event;
0012   class EventSetup;
0013   class StreamID;
0014 
0015   class PathStatusInserter : public global::EDProducer<> {
0016   public:
0017     PathStatusInserter(unsigned int numberOfStreams);
0018 
0019     void setPathStatus(StreamID const&, HLTPathStatus const&);
0020 
0021     void produce(StreamID, Event&, EventSetup const&) const final;
0022 
0023   private:
0024     std::vector<HLTPathStatus> hltPathStatus_;
0025     EDPutTokenT<HLTPathStatus> token_;
0026   };
0027 }  // namespace edm
0028 #endif