#include <ExpNameFromDs.h>
Inheritance diagram for psana::ExpNameFromDs:
Public Member Functions | |
ExpNameFromDs (const std::vector< std::string > &files) | |
Constructor takes the list of input file names. | |
virtual | ~ExpNameFromDs () |
virtual const std::string & | instrument () const |
Returns instrument name. | |
virtual const std::string & | experiment () const |
Returns experiment name. | |
virtual unsigned | expNum () const |
Returns experiment number or 0. |
This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.
Definition at line 53 of file ExpNameFromDs.h.
psana::ExpNameFromDs::ExpNameFromDs | ( | const std::vector< std::string > & | files | ) |
Constructor takes the list of input file names.
Definition at line 52 of file ExpNameFromDs.cpp.
References src::mpi_datasource::ds, logger, and WithMsgLog.
psana::ExpNameFromDs::~ExpNameFromDs | ( | ) | [virtual] |
Definition at line 90 of file ExpNameFromDs.cpp.
virtual const std::string& psana::ExpNameFromDs::experiment | ( | ) | const [inline, virtual] |
Returns experiment name.
Implements PSEnv::IExpNameProvider.
Definition at line 66 of file ExpNameFromDs.h.
virtual unsigned psana::ExpNameFromDs::expNum | ( | ) | const [inline, virtual] |
Returns experiment number or 0.
Implements PSEnv::IExpNameProvider.
Definition at line 69 of file ExpNameFromDs.h.
virtual const std::string& psana::ExpNameFromDs::instrument | ( | ) | const [inline, virtual] |
Returns instrument name.
Implements PSEnv::IExpNameProvider.
Definition at line 63 of file ExpNameFromDs.h.