#include <FWCore/Framework/src/OutputWorker.h>
Public Member Functions | |
void | closeFile () |
void | configure (OutputModuleDescription const &desc) |
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 () |
Definition at line 24 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.
00013 : 00014 WorkerT<OutputModule>(mod, md, wp) 00015 { 00016 }
edm::OutputWorker::~OutputWorker | ( | ) | [virtual] |
void edm::OutputWorker::closeFile | ( | ) |
Definition at line 22 of file OutputWorker.cc.
References edm::WorkerT< T >::module().
Referenced by edm::Schedule::closeOutputFiles().
00022 { 00023 module().doCloseFile(); 00024 }
void edm::OutputWorker::configure | ( | OutputModuleDescription const & | desc | ) |
Definition at line 55 of file OutputWorker.cc.
References edm::WorkerT< T >::module().
00055 {module().configure(desc);}
bool edm::OutputWorker::limitReached | ( | ) | const |
Definition at line 53 of file OutputWorker.cc.
References edm::WorkerT< T >::module().
00053 {return module().limitReached();}
Definition at line 37 of file OutputWorker.cc.
References edm::WorkerT< T >::module().
Referenced by edm::Schedule::openOutputFiles().
00037 { 00038 module().doOpenFile(fb); 00039 }
void edm::OutputWorker::openNewFileIfNeeded | ( | ) |
Definition at line 32 of file OutputWorker.cc.
References edm::WorkerT< T >::module().
Referenced by edm::Schedule::openNewOutputFilesIfNeeded().
00032 { 00033 module().maybeOpenFile(); 00034 }
bool edm::OutputWorker::shouldWeCloseFile | ( | ) | const |
Definition at line 27 of file OutputWorker.cc.
References edm::WorkerT< T >::module().
Referenced by edm::Schedule::shouldWeCloseOutput().
00027 { 00028 return module().shouldWeCloseFile(); 00029 }
bool edm::OutputWorker::wantAllEvents | ( | ) | const |
Definition at line 51 of file OutputWorker.cc.
References edm::WorkerT< T >::module().
00051 {return module().wantAllEvents();}
void edm::OutputWorker::writeLumi | ( | LuminosityBlockPrincipal const & | lbp | ) |
Definition at line 47 of file OutputWorker.cc.
References edm::WorkerT< T >::module().
Referenced by edm::Schedule::writeLumi().
00047 { 00048 module().doWriteLuminosityBlock(lbp); 00049 }
void edm::OutputWorker::writeRun | ( | RunPrincipal const & | rp | ) |
Definition at line 42 of file OutputWorker.cc.
References edm::WorkerT< T >::module().
Referenced by edm::Schedule::writeRun().
00042 { 00043 module().doWriteRun(rp); 00044 }