CMS 3D CMS Logo

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

Public Member Functions

 FileSource (const std::string &fileURL)
 
 ~FileSource () 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 45 of file LH5Reader.cc.

Constructor & Destructor Documentation

◆ FileSource()

lhef::LH5Reader::FileSource::FileSource ( const std::string &  fileURL)
inline

Definition at line 47 of file LH5Reader.cc.

References MillePedeFileConverter_cfg::fileName, and AlCaHLTBitMon_QueryRunRegistry::string.

47  {
48  const std::string fileName = fileURL.substr(5, fileURL.length());
49 
50  H5Handler *tmph = new H5Handler(fileName);
51  handler.reset(tmph);
52  }
std::unique_ptr< H5Handler > handler
Definition: LH5Reader.cc:40

◆ ~FileSource()

lhef::LH5Reader::FileSource::~FileSource ( )
inlineoverride

Definition at line 54 of file LH5Reader.cc.

54 {}