#include <OutputWorker.h>
Public Member Functions | |
void | closeFile () |
void | configure (OutputModuleDescription const &desc) |
SelectionsArray const & | keptProducts () const |
bool | limitReached () const |
void | openFile (FileBlock const &fb) |
void | openNewFileIfNeeded () |
OutputWorker (std::auto_ptr< OutputModule > mod, ModuleDescription const &, WorkerParams const &) | |
bool | shouldWeCloseFile () const |
bool | wantAllEvents () const |
void | writeLumi (LuminosityBlockPrincipal const &lbp) |
void | writeRun (RunPrincipal const &rp) |
virtual | ~OutputWorker () |
Public Member Functions inherited from edm::WorkerT< OutputModule > | |
void | setEventSelectionInfo (std::map< std::string, std::vector< std::pair< std::string, int > > > const &outputModulePathPositions, bool anyProductProduced) |
void | setModule (std::auto_ptr< OutputModule > &iModule) |
WorkerT (std::auto_ptr< OutputModule >, ModuleDescription const &, WorkerParams const &) | |
virtual | ~WorkerT () |
Public Member Functions inherited from edm::Worker | |
void | beginJob () |
void | clearCounters () |
ModuleDescription const * | descPtr () const |
ModuleDescription const & | description () const |
template<typename T > | |
bool | doWork (typename T::MyPrincipal &, EventSetup const &c, CurrentProcessingContext const *cpc, CPUTimer *const timer) |
void | endJob () |
void | pathFinished (EventPrincipal &) |
void | postDoEvent (EventPrincipal &) |
void | postForkReacquireResources (unsigned int iChildIndex, unsigned int iNumberOfChildren) |
void | preForkReleaseResources () |
void | reset () |
void | respondToCloseInputFile (FileBlock const &fb) |
void | respondToCloseOutputFiles (FileBlock const &fb) |
void | respondToOpenInputFile (FileBlock const &fb) |
void | respondToOpenOutputFiles (FileBlock const &fb) |
void | setActivityRegistry (boost::shared_ptr< ActivityRegistry > areg) |
void | setEarlyDeleteHelper (EarlyDeleteHelper *iHelper) |
State | state () const |
std::pair< double, double > | timeCpuReal () const |
int | timesExcept () const |
int | timesFailed () const |
int | timesPass () const |
int | timesPassed () const |
int | timesRun () const |
int | timesVisited () const |
void | useStopwatch () |
Worker (ModuleDescription const &iMD, WorkerParams const &iWP) | |
virtual | ~Worker () |
Additional Inherited Members | |
Public Types inherited from edm::WorkerT< OutputModule > | |
typedef OutputModule | ModuleType |
typedef WorkerT< OutputModule > | WorkerType |
Public Types inherited from edm::Worker | |
enum | State { Ready, Pass, Fail, Exception } |
Static Public Member Functions inherited from edm::WorkerT< OutputModule > | |
static std::auto_ptr < OutputModule > | makeModule (ModuleDescription const &, ParameterSet const &pset) |
Protected Member Functions inherited from edm::WorkerT< OutputModule > | |
OutputModule & | module () |
OutputModuleconst & | module () const |
Definition at line 20 of file OutputWorker.h.
edm::OutputWorker::OutputWorker | ( | std::auto_ptr< OutputModule > | mod, |
ModuleDescription const & | md, | ||
WorkerParams const & | wp | ||
) |
Definition at line 11 of file OutputWorker.cc.
|
virtual |
Definition at line 18 of file OutputWorker.cc.
void edm::OutputWorker::closeFile | ( | ) |
Definition at line 22 of file OutputWorker.cc.
References edm::OutputModule::doCloseFile(), and edm::WorkerT< OutputModule >::module().
Referenced by edm::Schedule::closeOutputFiles(), and Vispa.Main.Application.Application::tabCloseRequest().
void edm::OutputWorker::configure | ( | OutputModuleDescription const & | desc | ) |
Definition at line 55 of file OutputWorker.cc.
References edm::OutputModule::configure(), and edm::WorkerT< OutputModule >::module().
SelectionsArray const & edm::OutputWorker::keptProducts | ( | ) | const |
Definition at line 57 of file OutputWorker.cc.
References edm::OutputModule::keptProducts(), and edm::WorkerT< OutputModule >::module().
Referenced by edm::Schedule::initializeEarlyDelete().
bool edm::OutputWorker::limitReached | ( | ) | const |
Definition at line 53 of file OutputWorker.cc.
References edm::OutputModule::limitReached(), and edm::WorkerT< OutputModule >::module().
void edm::OutputWorker::openFile | ( | FileBlock const & | fb | ) |
Definition at line 37 of file OutputWorker.cc.
References edm::OutputModule::doOpenFile(), and edm::WorkerT< OutputModule >::module().
Referenced by Vispa.Main.Application.Application::_readCommandLineAttributes(), Vispa.Main.Application.Application::doubleClickOnFile(), Vispa.Main.Application.Application::openFileDialog(), edm::Schedule::openOutputFiles(), and Vispa.Main.Application.Application::openRecentFileSlot().
void edm::OutputWorker::openNewFileIfNeeded | ( | ) |
Definition at line 32 of file OutputWorker.cc.
References edm::OutputModule::maybeOpenFile(), and edm::WorkerT< OutputModule >::module().
Referenced by edm::Schedule::openNewOutputFilesIfNeeded().
bool edm::OutputWorker::shouldWeCloseFile | ( | ) | const |
Definition at line 27 of file OutputWorker.cc.
References edm::WorkerT< OutputModule >::module(), and edm::OutputModule::shouldWeCloseFile().
Referenced by edm::Schedule::shouldWeCloseOutput().
bool edm::OutputWorker::wantAllEvents | ( | ) | const |
Definition at line 51 of file OutputWorker.cc.
References edm::WorkerT< OutputModule >::module(), and edm::OutputModule::wantAllEvents().
void edm::OutputWorker::writeLumi | ( | LuminosityBlockPrincipal const & | lbp | ) |
Definition at line 47 of file OutputWorker.cc.
References edm::OutputModule::doWriteLuminosityBlock(), and edm::WorkerT< OutputModule >::module().
Referenced by edm::Schedule::writeLumi().
void edm::OutputWorker::writeRun | ( | RunPrincipal const & | rp | ) |
Definition at line 42 of file OutputWorker.cc.
References edm::OutputModule::doWriteRun(), and edm::WorkerT< OutputModule >::module().
Referenced by edm::Schedule::writeRun().