00001 /*---------------------------------------------------------------------- 00002 $Id: AsciiOutputModule.h,v 1.6 2008/01/18 20:10:26 wmtan Exp $ 00003 ----------------------------------------------------------------------*/ 00004 00005 #include <iostream> 00006 #include <string> 00007 #include "FWCore/Framework/interface/Frameworkfwd.h" 00008 #include "FWCore/Framework/interface/OutputModule.h" 00009 00010 00011 namespace edm { 00012 class ParameterSet; 00013 class AsciiOutputModule : public OutputModule { 00014 public: 00015 // We do not take ownership of passed stream. 00016 explicit AsciiOutputModule(ParameterSet const& pset); 00017 virtual ~AsciiOutputModule(); 00018 00019 private: 00020 virtual void write(EventPrincipal const& e); 00021 virtual void writeLuminosityBlock(LuminosityBlockPrincipal const&){} 00022 virtual void writeRun(RunPrincipal const&){} 00023 int prescale_; 00024 int verbosity_; 00025 int counter_; 00026 }; 00027 }