#include <OutputFiles.h>
Public Member Functions | |
std::string const & | file () const |
return output fuke name | |
OutputFiles () | |
empty constructor | |
OutputFiles (const edm::ParameterSet &cfg) | |
default constructor from parameter set | |
Protected Attributes | |
std::string | file_ |
output file name |
Definition at line 18 of file OutputFiles.h.
fwlite::OutputFiles::OutputFiles | ( | ) | [inline] |
empty constructor
Definition at line 22 of file OutputFiles.h.
References Exception.
{ throw cms::Exception("InvalidInput") << "Must specify a string fileName" << std::endl; }
fwlite::OutputFiles::OutputFiles | ( | const edm::ParameterSet & | cfg | ) | [inline] |
default constructor from parameter set
Definition at line 26 of file OutputFiles.h.
: file_(cfg.getParameterSet("fwliteOutput").getParameter<std::string>("fileName")) {};
std::string const& fwlite::OutputFiles::file | ( | ) | const [inline] |
return output fuke name
Definition at line 29 of file OutputFiles.h.
References file_.
Referenced by main().
{ return file_; }
std::string fwlite::OutputFiles::file_ [protected] |