#include <WorkerT.h>
Public Types | |
typedef T | ModuleType |
typedef WorkerT< T > | WorkerType |
Public Member Functions | |
void | setEventSelectionInfo (std::map< std::string, std::vector< std::pair< std::string, int > > > const &outputModulePathPositions, bool anyProductProduced) |
void | setModule (std::auto_ptr< T > &iModule) |
WorkerT (std::auto_ptr< T >, ModuleDescription const &, WorkerParams const &) | |
virtual | ~WorkerT () |
Static Public Member Functions | |
template<typename ModType > | |
static std::auto_ptr< T > | makeModule (ModuleDescription const &, ParameterSet const &pset) |
Protected Member Functions | |
T & | module () |
T const & | module () const |
Private Member Functions | |
virtual void | implBeginJob () |
virtual bool | implDoBegin (LuminosityBlockPrincipal &lbp, EventSetup const &c, CurrentProcessingContext const *cpc) |
virtual bool | implDoBegin (EventPrincipal &ep, EventSetup const &c, CurrentProcessingContext const *cpc) |
virtual bool | implDoBegin (RunPrincipal &rp, EventSetup const &c, CurrentProcessingContext const *cpc) |
virtual bool | implDoEnd (RunPrincipal &rp, EventSetup const &c, CurrentProcessingContext const *cpc) |
virtual bool | implDoEnd (EventPrincipal &ep, EventSetup const &c, CurrentProcessingContext const *cpc) |
virtual bool | implDoEnd (LuminosityBlockPrincipal &lbp, EventSetup const &c, CurrentProcessingContext const *cpc) |
virtual void | implEndJob () |
virtual void | implPostForkReacquireResources (unsigned int iChildIndex, unsigned int iNumberOfChildren) |
virtual void | implPreForkReleaseResources () |
virtual void | implRespondToCloseInputFile (FileBlock const &fb) |
virtual void | implRespondToCloseOutputFiles (FileBlock const &fb) |
virtual void | implRespondToOpenInputFile (FileBlock const &fb) |
virtual void | implRespondToOpenOutputFiles (FileBlock const &fb) |
virtual std::string | workerType () const |
Private Attributes | |
std::auto_ptr< T > | module_ |
typedef T edm::WorkerT< T >::ModuleType |
typedef WorkerT<T> edm::WorkerT< T >::WorkerType |
edm::WorkerT< T >::WorkerT | ( | std::auto_ptr< T > | ed, |
ModuleDescription const & | md, | ||
WorkerParams const & | wp | ||
) | [inline] |
Definition at line 82 of file WorkerT.h.
References edm::WorkerT< T >::module_, and edm::WorkerParams::reg_.
edm::WorkerT< T >::~WorkerT | ( | ) | [virtual] |
void edm::WorkerT< T >::implBeginJob | ( | ) | [private, virtual] |
Implements edm::Worker.
Definition at line 140 of file WorkerT.h.
References sistrip::module_.
{ module_->doBeginJob(); }
bool edm::WorkerT< T >::implDoBegin | ( | RunPrincipal & | rp, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [private, virtual] |
bool edm::WorkerT< T >::implDoBegin | ( | LuminosityBlockPrincipal & | lbp, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [private, virtual] |
bool edm::WorkerT< T >::implDoBegin | ( | EventPrincipal & | ep, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [private, virtual] |
Implements edm::Worker.
Definition at line 96 of file WorkerT.h.
References sistrip::module_, VarParsing::obj, edm::Worker::postDoEvent(), alignCSCRings::s, and edm::EventPrincipal::unscheduledHandler().
bool edm::WorkerT< T >::implDoEnd | ( | RunPrincipal & | rp, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [private, virtual] |
bool edm::WorkerT< T >::implDoEnd | ( | LuminosityBlockPrincipal & | lbp, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [private, virtual] |
bool edm::WorkerT< T >::implDoEnd | ( | EventPrincipal & | ep, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [private, virtual] |
void edm::WorkerT< T >::implEndJob | ( | ) | [private, virtual] |
Implements edm::Worker.
Definition at line 146 of file WorkerT.h.
References sistrip::module_.
{ module_->doEndJob(); }
void edm::WorkerT< T >::implPostForkReacquireResources | ( | unsigned int | iChildIndex, |
unsigned int | iNumberOfChildren | ||
) | [private, virtual] |
Implements edm::Worker.
Definition at line 182 of file WorkerT.h.
References sistrip::module_.
{ module_->doPostForkReacquireResources(iChildIndex, iNumberOfChildren); }
void edm::WorkerT< T >::implPreForkReleaseResources | ( | ) | [private, virtual] |
Implements edm::Worker.
Definition at line 176 of file WorkerT.h.
References sistrip::module_.
{ module_->doPreForkReleaseResources(); }
void edm::WorkerT< T >::implRespondToCloseInputFile | ( | FileBlock const & | fb | ) | [private, virtual] |
void edm::WorkerT< T >::implRespondToCloseOutputFiles | ( | FileBlock const & | fb | ) | [private, virtual] |
void edm::WorkerT< T >::implRespondToOpenInputFile | ( | FileBlock const & | fb | ) | [private, virtual] |
void edm::WorkerT< T >::implRespondToOpenOutputFiles | ( | FileBlock const & | fb | ) | [private, virtual] |
static std::auto_ptr<T> edm::WorkerT< T >::makeModule | ( | ModuleDescription const & | , |
ParameterSet const & | pset | ||
) | [inline, static] |
T& edm::WorkerT< T >::module | ( | ) | [inline, protected] |
T const& edm::WorkerT< T >::module | ( | ) | const [inline, protected] |
void edm::WorkerT< T >::setEventSelectionInfo | ( | std::map< std::string, std::vector< std::pair< std::string, int > > > const & | outputModulePathPositions, |
bool | anyProductProduced | ||
) | [inline] |
void edm::WorkerT< T >::setModule | ( | std::auto_ptr< T > & | iModule | ) | [inline] |
Definition at line 38 of file WorkerT.h.
{ module_ = iModule; module_->setModuleDescription(description()); }
std::string edm::WorkerT< T >::workerType | ( | ) | const [private, virtual] |
Implements edm::Worker.
Definition at line 134 of file WorkerT.h.
References sistrip::module_.
{ return module_->workerType(); }
std::auto_ptr<T> edm::WorkerT< T >::module_ [private] |
Definition at line 77 of file WorkerT.h.
Referenced by edm::WorkerT< OutputModule >::module(), edm::WorkerT< OutputModule >::setEventSelectionInfo(), edm::WorkerT< OutputModule >::setModule(), and edm::WorkerT< T >::WorkerT().