CMS 3D CMS Logo

evf::MicroStateService Class Reference

#include <EventFilter/Utilities/interface/MicroStateService.h>

List of all members.

Public Member Functions

std::string getMicroState1 ()
std::string getMicroState2 ()
 MicroStateService (const edm::ParameterSet &, edm::ActivityRegistry &)
void postBeginJob ()
void postEndJob ()
void postEventProcessing (const edm::Event &, const edm::EventSetup &)
void postModule (const edm::ModuleDescription &)
void postSource ()
void preEventProcessing (const edm::EventID &, const edm::Timestamp &)
void preModule (const edm::ModuleDescription &)
void preSource ()
 ~MicroStateService ()

Private Attributes

boost::mutex lock_
std::string microstate1_
std::string microstate2_


Detailed Description

Definition at line 18 of file MicroStateService.h.


Constructor & Destructor Documentation

evf::MicroStateService::MicroStateService ( const edm::ParameterSet iPS,
edm::ActivityRegistry reg 
)

Definition at line 8 of file MicroStateService.cc.

References microstate1_, microstate2_, postBeginJob(), postEndJob(), postEventProcessing(), postModule(), postSource(), preEventProcessing(), preModule(), preSource(), edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostModule(), edm::ActivityRegistry::watchPostProcessEvent(), edm::ActivityRegistry::watchPostSource(), edm::ActivityRegistry::watchPreModule(), edm::ActivityRegistry::watchPreProcessEvent(), and edm::ActivityRegistry::watchPreSource().

evf::MicroStateService::~MicroStateService (  ) 

Definition at line 28 of file MicroStateService.cc.

00029   {
00030   }


Member Function Documentation

std::string evf::MicroStateService::getMicroState1 (  ) 

Definition at line 79 of file MicroStateService.cc.

References lock_, microstate1_, and sl.

00080   { 
00081         boost::mutex::scoped_lock sl(lock_);
00082         return microstate1_;
00083   }

std::string evf::MicroStateService::getMicroState2 (  ) 

Definition at line 85 of file MicroStateService.cc.

References lock_, microstate2_, and sl.

Referenced by evf::FUEventProcessor::microState(), and evf::FUEventProcessor::monitoring().

00086   { 
00087         boost::mutex::scoped_lock sl(lock_);
00088         return microstate2_;
00089   }

void evf::MicroStateService::postBeginJob (  ) 

Definition at line 32 of file MicroStateService.cc.

References lock_, microstate1_, and sl.

Referenced by MicroStateService().

00033   {
00034     boost::mutex::scoped_lock sl(lock_);
00035     microstate1_ = "BJD";
00036   }

void evf::MicroStateService::postEndJob (  ) 

Definition at line 38 of file MicroStateService.cc.

References lock_, microstate1_, microstate2_, and sl.

Referenced by MicroStateService().

00039   {
00040     boost::mutex::scoped_lock sl(lock_);
00041     microstate1_ = "EJ";
00042     microstate2_ = "done";
00043   }

void evf::MicroStateService::postEventProcessing ( const edm::Event e,
const edm::EventSetup  
)

Definition at line 52 of file MicroStateService.cc.

References lock_, microstate2_, and sl.

Referenced by MicroStateService().

00053   {
00054     boost::mutex::scoped_lock sl(lock_);
00055     microstate2_ = "IN";
00056   }

void evf::MicroStateService::postModule ( const edm::ModuleDescription desc  ) 

Definition at line 75 of file MicroStateService.cc.

Referenced by MicroStateService().

00076   {
00077   }

void evf::MicroStateService::postSource (  ) 

Definition at line 63 of file MicroStateService.cc.

References lock_, microstate2_, and sl.

Referenced by MicroStateService().

00064   {
00065     boost::mutex::scoped_lock sl(lock_);
00066     microstate2_ = "IND";
00067   }

void evf::MicroStateService::preEventProcessing ( const edm::EventID iID,
const edm::Timestamp iTime 
)

Definition at line 45 of file MicroStateService.cc.

References lock_, microstate1_, and sl.

Referenced by MicroStateService().

00047   {
00048     boost::mutex::scoped_lock sl(lock_);
00049     microstate1_ = "PRO";
00050   }

void evf::MicroStateService::preModule ( const edm::ModuleDescription desc  ) 

Definition at line 69 of file MicroStateService.cc.

References lock_, microstate2_, edm::ModuleDescription::moduleLabel_, and sl.

Referenced by MicroStateService().

00070   {
00071     boost::mutex::scoped_lock sl(lock_);
00072     microstate2_ = desc.moduleLabel_;
00073   }

void evf::MicroStateService::preSource (  ) 

Definition at line 57 of file MicroStateService.cc.

References lock_, microstate2_, and sl.

Referenced by MicroStateService().

00058   {
00059     boost::mutex::scoped_lock sl(lock_);
00060     microstate2_ = "IN";
00061   }


Member Data Documentation

boost::mutex evf::MicroStateService::lock_ [private]

Definition at line 46 of file MicroStateService.h.

Referenced by getMicroState1(), getMicroState2(), postBeginJob(), postEndJob(), postEventProcessing(), postSource(), preEventProcessing(), preModule(), and preSource().

std::string evf::MicroStateService::microstate1_ [private]

Definition at line 43 of file MicroStateService.h.

Referenced by getMicroState1(), MicroStateService(), postBeginJob(), postEndJob(), and preEventProcessing().

std::string evf::MicroStateService::microstate2_ [private]

Definition at line 44 of file MicroStateService.h.

Referenced by getMicroState2(), MicroStateService(), postEndJob(), postEventProcessing(), postSource(), preModule(), and preSource().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:46:49 2009 for CMSSW by  doxygen 1.5.4