Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef UtilAlgos_NullPostProcessor_h
0002 #define UtilAlgos_NullPostProcessor_h
0003 /* \class helper::NullPostProcessor<OutputCollection>
0004  *
0005  * \author Luca Lista, INFN
0006  */
0007 #include "FWCore/Framework/interface/ConsumesCollector.h"
0008 #include "DataFormats/Common/interface/OrphanHandle.h"
0009 
0010 namespace edm {
0011   class Event;
0012   class ParameterSet;
0013 }  // namespace edm
0014 
0015 namespace helper {
0016 
0017   template <typename OutputCollection>
0018   struct NullPostProcessor {
0019     NullPostProcessor(const edm::ParameterSet& iConfig, edm::ConsumesCollector&& iC) : NullPostProcessor(iConfig) {}
0020     NullPostProcessor(const edm::ParameterSet& iConfig) {}
0021     template <typename F>
0022     void init(F&) {}
0023     void process(edm::OrphanHandle<OutputCollection>, edm::Event&) {}
0024   };
0025 
0026 }  // namespace helper
0027 
0028 #endif