Helper class to handle FWLite file output names. More...
#include <OutputFiles.h>
Public Member Functions | |
std::string const & | file () const |
OutputFiles () | |
OutputFiles (edm::ParameterSet const &pset) | |
Protected Attributes | |
std::string | file_ |
Helper class to handle FWLite file output names.
This is a very simple class to handle the appropriate python configuration of output files in FWLite.
Definition at line 20 of file OutputFiles.h.
fwlite::OutputFiles::OutputFiles | ( | ) | [inline] |
Definition at line 22 of file OutputFiles.h.
References Exception.
{ throw cms::Exception("InvalidInput") << "Must specify a string fileName" << std::endl; }
fwlite::OutputFiles::OutputFiles | ( | edm::ParameterSet const & | pset | ) | [inline] |
Definition at line 25 of file OutputFiles.h.
: file_( pset.getParameter<edm::ParameterSet>("fwliteOutput").getParameter<std::string>("fileName") ) { }
std::string const& fwlite::OutputFiles::file | ( | ) | const [inline] |
Definition at line 30 of file OutputFiles.h.
References file_.
Referenced by main().
{ return file_; }
std::string fwlite::OutputFiles::file_ [protected] |
Definition at line 33 of file OutputFiles.h.
Referenced by file().