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 43 of file LH5Reader.cc.

Constructor & Destructor Documentation

◆ FileSource()

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

Definition at line 45 of file LH5Reader.cc.

45  {
46  const std::string fileName = fileURL.substr(5, fileURL.length());
47 
48  H5Handler *tmph = new H5Handler(fileName);
49  handler.reset(tmph);
50  }

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

◆ ~FileSource()

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

Definition at line 52 of file LH5Reader.cc.

52 {}
MillePedeFileConverter_cfg.fileName
fileName
Definition: MillePedeFileConverter_cfg.py:32
lhef::LH5Reader::Source::handler
std::unique_ptr< H5Handler > handler
Definition: LH5Reader.cc:38
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256