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.

References PixelMapPlotter::inputs.

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  }
std::unique_ptr< H5Handler > handler
Definition: LH5Reader.cc:40

◆ ~StringSource()

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

Definition at line 67 of file LH5Reader.cc.

67 {}