psana::ExpNameFromDs Class Reference
[psana package]

Experiment name provider which extracts experiment name from XTC file names. More...

#include <ExpNameFromDs.h>

Inheritance diagram for psana::ExpNameFromDs:

PSEnv::IExpNameProvider List of all members.

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.

Detailed Description

Experiment name provider which extracts experiment name from XTC file names.

This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.

Version:
Id
ExpNameFromDs.h 5435 2013-02-13 01:02:07Z salnikov@SLAC.STANFORD.EDU
Author:
Andy Salnikov

Definition at line 53 of file ExpNameFromDs.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on 19 Dec 2016 for PSANAclasses by  doxygen 1.4.7