#include <WorkerT.h>
Public Types | |
typedef T | ModuleType |
typedef WorkerT< T > | WorkerType |
Public Member Functions | |
virtual Types | moduleType () const override |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
void | setEventSelectionInfo (std::map< std::string, std::vector< std::pair< std::string, int > > > const &outputModulePathPositions, bool anyProductProduced) |
void | setEventSelectionInfo (std::map< std::string, std::vector< std::pair< std::string, int > > > const &outputModulePathPositions, bool anyProductProduced) |
void | setModule (std::unique_ptr< T > &&iModule) |
virtual void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) override |
WorkerT (std::unique_ptr< T > &&, ModuleDescription const &, WorkerParams const &) | |
virtual | ~WorkerT () |
Static Public Member Functions | |
template<typename ModType > | |
static std::unique_ptr< T > | makeModule (ModuleDescription const &, ParameterSet const &pset) |
Protected Member Functions | |
T & | module () |
T const & | module () const |
Private Member Functions | |
virtual void | implBeginJob () override |
virtual bool | implDoBegin (LuminosityBlockPrincipal &lbp, EventSetup const &c, CurrentProcessingContext const *cpc) override |
virtual bool | implDoBegin (EventPrincipal &ep, EventSetup const &c, CurrentProcessingContext const *cpc) override |
virtual bool | implDoBegin (RunPrincipal &rp, EventSetup const &c, CurrentProcessingContext const *cpc) override |
virtual bool | implDoEnd (RunPrincipal &rp, EventSetup const &c, CurrentProcessingContext const *cpc) override |
virtual bool | implDoEnd (EventPrincipal &ep, EventSetup const &c, CurrentProcessingContext const *cpc) override |
virtual bool | implDoEnd (LuminosityBlockPrincipal &lbp, EventSetup const &c, CurrentProcessingContext const *cpc) override |
virtual void | implEndJob () override |
virtual void | implPostForkReacquireResources (unsigned int iChildIndex, unsigned int iNumberOfChildren) override |
virtual void | implPreForkReleaseResources () override |
virtual void | implRespondToCloseInputFile (FileBlock const &fb) override |
virtual void | implRespondToCloseOutputFiles (FileBlock const &fb) override |
virtual void | implRespondToOpenInputFile (FileBlock const &fb) override |
virtual void | implRespondToOpenOutputFiles (FileBlock const &fb) override |
virtual std::string | workerType () const override |
Private Attributes | |
std::unique_ptr< T > | module_ |
typedef T edm::WorkerT< T >::ModuleType |
typedef WorkerT<T> edm::WorkerT< T >::WorkerType |
edm::WorkerT< T >::WorkerT | ( | std::unique_ptr< T > && | ed, |
ModuleDescription const & | md, | ||
WorkerParams const & | wp | ||
) | [inline] |
Definition at line 19 of file WorkerT.cc.
References edm::WorkerT< T >::module_, and edm::WorkerParams::reg_.
edm::WorkerT< T >::~WorkerT | ( | ) | [virtual] |
Definition at line 28 of file WorkerT.cc.
{ }
void edm::WorkerT< T >::implBeginJob | ( | ) | [inline, override, private, virtual] |
Implements edm::Worker.
Definition at line 89 of file WorkerT.cc.
References sistrip::module_.
{ module_->doBeginJob(); }
bool edm::WorkerT< T >::implDoBegin | ( | RunPrincipal & | rp, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [inline, override, private, virtual] |
bool edm::WorkerT< T >::implDoBegin | ( | EventPrincipal & | ep, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [inline, override, private, virtual] |
Implements edm::Worker.
Definition at line 34 of file WorkerT.cc.
References edm::getUnscheduledHandler(), sistrip::module_, getGTfromDQMFile::obj, edm::Worker::postDoEvent(), and alignCSCRings::s.
bool edm::WorkerT< T >::implDoBegin | ( | LuminosityBlockPrincipal & | lbp, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [inline, override, private, virtual] |
bool edm::WorkerT< T >::implDoEnd | ( | EventPrincipal & | ep, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [inline, override, private, virtual] |
bool edm::WorkerT< T >::implDoEnd | ( | RunPrincipal & | rp, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [inline, override, private, virtual] |
bool edm::WorkerT< T >::implDoEnd | ( | LuminosityBlockPrincipal & | lbp, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [inline, override, private, virtual] |
void edm::WorkerT< T >::implEndJob | ( | ) | [inline, override, private, virtual] |
Implements edm::Worker.
Definition at line 96 of file WorkerT.cc.
References sistrip::module_.
{ module_->doEndJob(); }
void edm::WorkerT< T >::implPostForkReacquireResources | ( | unsigned int | iChildIndex, |
unsigned int | iNumberOfChildren | ||
) | [inline, override, private, virtual] |
Implements edm::Worker.
Definition at line 138 of file WorkerT.cc.
References sistrip::module_.
{ module_->doPostForkReacquireResources(iChildIndex, iNumberOfChildren); }
void edm::WorkerT< T >::implPreForkReleaseResources | ( | ) | [inline, override, private, virtual] |
Implements edm::Worker.
Definition at line 131 of file WorkerT.cc.
References sistrip::module_.
{ module_->doPreForkReleaseResources(); }
void edm::WorkerT< T >::implRespondToCloseInputFile | ( | FileBlock const & | fb | ) | [inline, override, private, virtual] |
void edm::WorkerT< T >::implRespondToCloseOutputFiles | ( | FileBlock const & | fb | ) | [inline, override, private, virtual] |
void edm::WorkerT< T >::implRespondToOpenInputFile | ( | FileBlock const & | fb | ) | [inline, override, private, virtual] |
void edm::WorkerT< T >::implRespondToOpenOutputFiles | ( | FileBlock const & | fb | ) | [inline, override, private, virtual] |
static std::unique_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] |
virtual Types edm::WorkerT< T >::moduleType | ( | ) | const [override, virtual] |
Implements edm::Worker.
Worker::Types edm::WorkerT< EDProducer >::moduleType | ( | ) | const [virtual] |
Worker::Types edm::WorkerT< EDFilter >::moduleType | ( | ) | const [virtual] |
Implements edm::Worker.
Definition at line 167 of file WorkerT.cc.
References kFilter.
{ return Worker::kFilter;}
Worker::Types edm::WorkerT< edm::one::EDFilterBase >::moduleType | ( | ) | const [virtual] |
Implements edm::Worker.
Definition at line 173 of file WorkerT.cc.
References kFilter.
{ return Worker::kFilter;}
Worker::Types edm::WorkerT< EDAnalyzer >::moduleType | ( | ) | const [virtual] |
Worker::Types edm::WorkerT< OutputModule >::moduleType | ( | ) | const [virtual] |
Worker::Types edm::WorkerT< edm::one::EDProducerBase >::moduleType | ( | ) | const [virtual] |
void edm::WorkerT< T >::setEventSelectionInfo | ( | std::map< std::string, std::vector< std::pair< std::string, int > > > const & | outputModulePathPositions, |
bool | anyProductProduced | ||
) |
Definition at line 150 of file WorkerT.cc.
{
//do nothing for the regular case
}
void edm::WorkerT< OutputModule >::setEventSelectionInfo | ( | std::map< std::string, std::vector< std::pair< std::string, int > > > const & | outputModulePathPositions, |
bool | anyProductProduced | ||
) |
Definition at line 157 of file WorkerT.cc.
References sistrip::module_.
{ module_->setEventSelectionInfo(outputModulePathPositions, anyProductProduced); }
void edm::WorkerT< T >::setModule | ( | std::unique_ptr< T > && | iModule | ) | [inline] |
Definition at line 38 of file WorkerT.h.
{ module_ = std::move(iModule); module_->setModuleDescription(description()); }
void edm::WorkerT< T >::updateLookup | ( | BranchType | iBranchType, |
ProductHolderIndexHelper const & | iHelper | ||
) | [override, virtual] |
Implements edm::Worker.
Definition at line 144 of file WorkerT.cc.
References sistrip::module_.
{ module_->updateLookup(iBranchType,iHelper); }
std::string edm::WorkerT< T >::workerType | ( | ) | const [inline, override, private, virtual] |
Implements edm::Worker.
Definition at line 82 of file WorkerT.cc.
References sistrip::module_.
{ return module_->workerType(); }
std::unique_ptr<T> edm::WorkerT< T >::module_ [private] |
Definition at line 81 of file WorkerT.h.
Referenced by edm::WorkerT< OutputModule >::module(), edm::WorkerT< OutputModule >::setModule(), and edm::WorkerT< T >::WorkerT().