NullPostProcessor

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#ifndef UtilAlgos_NullPostProcessor_h
#define UtilAlgos_NullPostProcessor_h
/* \class helper::NullPostProcessor<OutputCollection>
 *
 * \author Luca Lista, INFN
 */
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "DataFormats/Common/interface/OrphanHandle.h"

namespace edm {
  class Event;
  class ParameterSet;
}  // namespace edm

namespace helper {

  template <typename OutputCollection>
  struct NullPostProcessor {
    NullPostProcessor(const edm::ParameterSet& iConfig, edm::ConsumesCollector&& iC) : NullPostProcessor(iConfig) {}
    NullPostProcessor(const edm::ParameterSet& iConfig) {}
    template <typename F>
    void init(F&) {}
    void process(edm::OrphanHandle<OutputCollection>, edm::Event&) {}
  };

}  // namespace helper

#endif