Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 
0002 #include "FWCore/Framework/src/EndPathStatusInserter.h"
0003 #include "FWCore/Framework/interface/Event.h"
0004 #include "FWCore/Utilities/interface/StreamID.h"
0005 #include "DataFormats/Common/interface/EndPathStatus.h"
0006 
0007 #include <memory>
0008 
0009 namespace edm {
0010   EndPathStatusInserter::EndPathStatusInserter(unsigned int) : token_{produces()} {}
0011 
0012   void EndPathStatusInserter::produce(StreamID, edm::Event& event, edm::EventSetup const&) const {
0013     //Puts a default constructed EndPathStatus
0014     event.emplace(token_);
0015   }
0016 }  // namespace edm