CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes
ML::MLlog4cplus Class Reference

#include <MLlog4cplus.h>

Public Member Functions

 MLlog4cplus (const edm::ParameterSet &, edm::ActivityRegistry &)
 
void postBeginJob ()
 
void postEndJob ()
 
void postEventProcessing (const edm::Event &, const edm::EventSetup &)
 
void postModule (const edm::ModuleDescription &)
 
void preEventProcessing (const edm::EventID &, const edm::Timestamp &)
 
void preModule (const edm::ModuleDescription &)
 
 ~MLlog4cplus ()
 

Static Public Member Functions

static void setAppl (xdaq::Application *app)
 

Private Attributes

edm::EventID curr_event_
 
edm::ELlog4cplusdest_p
 

Static Private Attributes

static xdaq::Application * appl_ = 0
 

Detailed Description

Definition at line 22 of file MLlog4cplus.h.

Constructor & Destructor Documentation

MLlog4cplus::MLlog4cplus ( const edm::ParameterSet iPS,
edm::ActivityRegistry iRegistry 
)

Definition at line 24 of file MLlog4cplus.cc.

References edm::MessageLoggerQ::MLqEXT(), and edm::ELlog4cplus::setAppl().

25  {
26  // we may want these in the future, but probably not, since the
27  // MessageLogger service is supposed to deal with that stuff anyway (JBK)
28 
29  // iRegistry.watchPostBeginJob(this,&MLlog4cplus::postBeginJob);
30  // iRegistry.watchPostEndJob(this,&MLlog4cplus::postEndJob);
31 
32  // iRegistry.watchPreProcessEvent(this,&MLlog4cplus::preEventProcessing);
33  // iRegistry.watchPostProcessEvent(this,&MLlog4cplus::postEventProcessing);
34 
35  // iRegistry.watchPreModule(this,&MLlog4cplus::preModule);
36  // iRegistry.watchPostModule(this,&MLlog4cplus::postModule);
37 
38 
39  // pseudo-code:
40  // get message logger message queue (singleton)
41  // make new ELlog4cplus object using parameterset set information
42  // make a message with opcode NEWDEST
43  // send message (NEWDEST,ELdest*)
44 
45 
46  // we should first get a handle to the MessageLogger service to
47  // ensure that it is initialized before we are (JBK)
48  // edm::Service<edm::MessageLogger> handle;
49 
50  dest_p = new ELlog4cplus;
54  }
static void MLqEXT(service::NamedDestination *p)
static xdaq::Application * appl_
Definition: MLlog4cplus.h:40
void setAppl(xdaq::Application *a)
Definition: ELlog4cplus.cc:531
edm::ELlog4cplus * dest_p
Definition: MLlog4cplus.h:39
MLlog4cplus::~MLlog4cplus ( )

Definition at line 57 of file MLlog4cplus.cc.

58  {
59  }

Member Function Documentation

void MLlog4cplus::postBeginJob ( )

Definition at line 61 of file MLlog4cplus.cc.

62  {
63  }
void MLlog4cplus::postEndJob ( )

Definition at line 65 of file MLlog4cplus.cc.

66  {
67  }
void MLlog4cplus::postEventProcessing ( const edm::Event e,
const edm::EventSetup  
)

Definition at line 74 of file MLlog4cplus.cc.

75  {
76  }
void MLlog4cplus::postModule ( const edm::ModuleDescription desc)

Definition at line 82 of file MLlog4cplus.cc.

83  {
84  }
void MLlog4cplus::preEventProcessing ( const edm::EventID iID,
const edm::Timestamp iTime 
)

Definition at line 69 of file MLlog4cplus.cc.

71  {
72  }
void MLlog4cplus::preModule ( const edm::ModuleDescription )

Definition at line 78 of file MLlog4cplus.cc.

79  {
80  }
void MLlog4cplus::setAppl ( xdaq::Application *  app)
static

Definition at line 85 of file MLlog4cplus.cc.

Referenced by evf::FUEventProcessor::enableMPEPSlave(), evf::FUEventProcessor::forkProcessesFromEDM(), and evf::FUEventProcessor::FUEventProcessor().

86  {
87  appl_ = app;
88  }
static xdaq::Application * appl_
Definition: MLlog4cplus.h:40

Member Data Documentation

xdaq::Application * MLlog4cplus::appl_ = 0
staticprivate

Definition at line 40 of file MLlog4cplus.h.

edm::EventID ML::MLlog4cplus::curr_event_
private

Definition at line 38 of file MLlog4cplus.h.

edm::ELlog4cplus* ML::MLlog4cplus::dest_p
private

Definition at line 39 of file MLlog4cplus.h.