Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef FWCore_Framework_ProcessBlockForOutput_h
0002 #define FWCore_Framework_ProcessBlockForOutput_h
0003 
0004 // -*- C++ -*-
0005 //
0006 // Package:     Framework
0007 // Class  :     ProcessBlockForOutput
0008 //
0009 /**\class edm::ProcessBlockForOutput
0010 
0011 Description: This is the primary interface for output modules
0012 writing ProcessBlock products
0013 
0014 \author W. David Dagenhart, created 29 October 2020
0015 
0016 */
0017 
0018 #include "DataFormats/Provenance/interface/ProvenanceFwd.h"
0019 #include "FWCore/Framework/interface/OccurrenceForOutput.h"
0020 #include "FWCore/ServiceRegistry/interface/ServiceRegistryfwd.h"
0021 
0022 #include <string>
0023 
0024 namespace edm {
0025   class ProcessBlockPrincipal;
0026 
0027   class ProcessBlockForOutput : public OccurrenceForOutput {
0028   public:
0029     ProcessBlockForOutput(ProcessBlockPrincipal const&,
0030                           ModuleDescription const&,
0031                           ModuleCallingContext const*,
0032                           bool isAtEnd);
0033     ~ProcessBlockForOutput() override;
0034 
0035     std::string const& processName() const { return *processName_; }
0036 
0037   private:
0038     std::string const* processName_;
0039   };
0040 }  // namespace edm
0041 #endif