CMS 3D CMS Logo

List of all members | Public Member Functions
lhef::LH5Reader::StringSource Class Reference
Inheritance diagram for lhef::LH5Reader::StringSource:
lhef::LH5Reader::Source

Public Member Functions

 StringSource (const std::string &inputs)
 
 ~StringSource () override
 
- Public Member Functions inherited from lhef::LH5Reader::Source
 Source ()
 
virtual ~Source ()
 

Additional Inherited Members

- Public Attributes inherited from lhef::LH5Reader::Source
std::unique_ptr< H5Handlerhandler
 

Detailed Description

Definition at line 57 of file LH5Reader.cc.

Constructor & Destructor Documentation

◆ StringSource()

lhef::LH5Reader::StringSource::StringSource ( const std::string &  inputs)
inline

Definition at line 59 of file LH5Reader.cc.

59  {
60  if (inputs.empty())
61  throw cms::Exception("StreamOpenError") << "Empty LHE file string name \"" << std::endl;
62 
63  H5Handler *tmph = new H5Handler(inputs);
64  handler.reset(tmph);
65  }

References PixelMapPlotter::inputs.

◆ ~StringSource()

lhef::LH5Reader::StringSource::~StringSource ( )
inlineoverride

Definition at line 67 of file LH5Reader.cc.

67 {}
lhef::LH5Reader::Source::handler
std::unique_ptr< H5Handler > handler
Definition: LH5Reader.cc:40
PixelMapPlotter.inputs
inputs
Definition: PixelMapPlotter.py:490
cms::Exception
Definition: Exception.h:70