1 #ifndef IOPool_Streamer_StreamerOutputModule_h
2 #define IOPool_Streamer_StreamerOutputModule_h
8 template<
typename Consumer>
25 virtual void start()
const;
26 virtual void stop()
const;
33 std::auto_ptr<Consumer>
c_;
36 template<
typename Consumer>
44 template<
typename Consumer>
47 template<
typename Consumer>
53 template<
typename Consumer>
59 template<
typename Consumer>
62 c_->doOutputHeader(init_message);
66 template<
typename Consumer>
69 c_->doOutputEvent(msg);
72 template<
typename Consumer>
76 template<
typename Consumer>
80 template<
typename Consumer>
85 Consumer::fillDescription(desc);
86 descriptions.
add(
"streamerOutput", desc);
static void fillDescription(ParameterSetDescription &desc)
virtual void doOutputEvent(EventMsgBuilder const &msg) const
std::auto_ptr< Consumer > c_
virtual void beginLuminosityBlock(edm::LuminosityBlockPrincipal const &, edm::ModuleCallingContext const *) override
virtual ~StreamerOutputModule()
StreamerOutputModule(ParameterSet const &ps)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
virtual void doOutputHeader(InitMsgBuilder const &init_message) const
virtual void endLuminosityBlock(edm::LuminosityBlockPrincipal const &, edm::ModuleCallingContext const *) override
virtual void start() const
virtual void stop() const