CMS 3D CMS Logo

Public Member Functions

edm::OutputWorker Class Reference

#include <OutputWorker.h>

Inheritance diagram for edm::OutputWorker:
edm::WorkerT< OutputModule > edm::Worker

List of all members.

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 ()

Detailed Description

Definition at line 20 of file OutputWorker.h.


Constructor & Destructor Documentation

edm::OutputWorker::OutputWorker ( std::auto_ptr< OutputModule mod,
ModuleDescription const &  md,
WorkerParams const &  wp 
)

Definition at line 11 of file OutputWorker.cc.

                                                    :
      WorkerT<OutputModule>(mod, md, wp)
  {
  }
edm::OutputWorker::~OutputWorker ( ) [virtual]

Definition at line 18 of file OutputWorker.cc.

                              {
  }

Member Function Documentation

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().

                          {
    module().doCloseFile();
  }
void edm::OutputWorker::configure ( OutputModuleDescription const &  desc)

Definition at line 55 of file OutputWorker.cc.

References edm::OutputModule::configure(), and edm::WorkerT< OutputModule >::module().

{module().configure(desc);}
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().

                                                          {
    return module().keptProducts();
  }
bool edm::OutputWorker::limitReached ( ) const

Definition at line 53 of file OutputWorker.cc.

References edm::OutputModule::limitReached(), and edm::WorkerT< OutputModule >::module().

{return module().limitReached();}
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 edm::Schedule::openOutputFiles().

                                            {
    module().doOpenFile(fb);
  }
void edm::OutputWorker::openNewFileIfNeeded ( )
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().

                                        {
    return module().shouldWeCloseFile();
  }
bool edm::OutputWorker::wantAllEvents ( ) const

Definition at line 51 of file OutputWorker.cc.

References edm::WorkerT< OutputModule >::module(), and edm::OutputModule::wantAllEvents().

{return module().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().

                                                             {
    module().doWriteLuminosityBlock(lbp);
  }
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().

                                               {
    module().doWriteRun(rp);
  }