CMS 3D CMS Logo

edm::OutputWorker Class Reference

#include <FWCore/Framework/src/OutputWorker.h>

Inheritance diagram for edm::OutputWorker:

edm::WorkerT< T > edm::Worker

List of all members.

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


Detailed Description

Definition at line 24 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.

00013                                                     :
00014       WorkerT<OutputModule>(mod, md, wp)
00015   {
00016   }

edm::OutputWorker::~OutputWorker (  )  [virtual]

Definition at line 18 of file OutputWorker.cc.

00018                               {
00019   }


Member Function Documentation

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

void edm::OutputWorker::openFile ( FileBlock const &  fb  ) 

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   }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:42:01 2009 for CMSSW by  doxygen 1.5.4