CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
fwlite::OutputFiles Class Reference

#include <OutputFiles.h>

Public Member Functions

std::string const & file () const
 return output fuke name More...
 
 OutputFiles ()
 empty constructor More...
 
 OutputFiles (const edm::ParameterSet &cfg)
 default constructor from parameter set More...
 

Protected Attributes

std::string file_
 output file name More...
 

Detailed Description

Definition at line 19 of file OutputFiles.h.

Constructor & Destructor Documentation

◆ OutputFiles() [1/2]

fwlite::OutputFiles::OutputFiles ( )
inline

empty constructor

Definition at line 22 of file OutputFiles.h.

22 { throw cms::Exception("InvalidInput") << "Must specify a string fileName" << std::endl; }

References Exception.

◆ OutputFiles() [2/2]

fwlite::OutputFiles::OutputFiles ( const edm::ParameterSet cfg)
inline

default constructor from parameter set

Definition at line 24 of file OutputFiles.h.

25  : file_(cfg.getParameterSet("fwliteOutput").getParameter<std::string>("fileName")){};

Member Function Documentation

◆ file()

std::string const& fwlite::OutputFiles::file ( ) const
inline

return output fuke name

Definition at line 27 of file OutputFiles.h.

27 { return file_; }

References file_.

Referenced by main().

Member Data Documentation

◆ file_

std::string fwlite::OutputFiles::file_
protected

output file name

Definition at line 31 of file OutputFiles.h.

Referenced by file().

fwlite::OutputFiles::file_
std::string file_
output file name
Definition: OutputFiles.h:31
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
looper.cfg
cfg
Definition: looper.py:297
Exception
Definition: hltDiff.cc:246