CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/EventFilter/Message2log4cplus/interface/MLlog4cplus.h

Go to the documentation of this file.
00001 // $Id: MLlog4cplus.h,v 1.3 2007/06/22 10:32:17 meschi Exp $
00002 //
00003 
00004 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00006 #include "FWCore/ServiceRegistry/interface/ActivityRegistry.h"
00007 #include "DataFormats/Provenance/interface/EventID.h"
00008 #include "DataFormats/Provenance/interface/Timestamp.h"
00009 #include "DataFormats/Provenance/interface/ModuleDescription.h"
00010 
00011 #include <iostream>
00012 
00013 namespace edm{
00014   class ELlog4cplus;
00015 }
00016 
00017 
00018 namespace ML {
00019   
00020   // class ELlog4cplus exists
00021 
00022   class MLlog4cplus
00023   {
00024   public:
00025     MLlog4cplus(const edm::ParameterSet&,edm::ActivityRegistry&);
00026     ~MLlog4cplus();
00027       
00028     void postBeginJob();
00029     void postEndJob();
00030       
00031     void preEventProcessing(const edm::EventID&, const edm::Timestamp&);
00032     void postEventProcessing(const edm::Event&, const edm::EventSetup&);
00033       
00034     void preModule(const edm::ModuleDescription&);
00035     void postModule(const edm::ModuleDescription&);
00036     static void setAppl(xdaq::Application *app);
00037   private:
00038     edm::EventID curr_event_;
00039     edm::ELlog4cplus * dest_p;
00040     static xdaq::Application *appl_;
00041   };
00042 }
00043