psana::ExpNameFromConfig Class Reference
[psana package]

#include <ExpNameFromConfig.h>

Inheritance diagram for psana::ExpNameFromConfig:

PSEnv::IExpNameProvider List of all members.

Public Member Functions

 ExpNameFromConfig (const std::string &instr, const std::string &exp)
virtual ~ExpNameFromConfig ()
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

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

See also:
AdditionalClass
Version:
Id
ExpNameFromConfig.h 3038 2012-03-08 22:12:17Z salnikov@SLAC.STANFORD.EDU
Author:
Andy Salnikov

Definition at line 49 of file ExpNameFromConfig.h.


Constructor & Destructor Documentation

psana::ExpNameFromConfig::ExpNameFromConfig ( const std::string &  instr,
const std::string &  exp 
)

Create provider instance

Parameters:
[in] instr Instrument name
[in] exp Experiemnt name

Definition at line 50 of file ExpNameFromConfig.cpp.

References logger, and MsgLog.

psana::ExpNameFromConfig::~ExpNameFromConfig (  )  [virtual]

Definition at line 75 of file ExpNameFromConfig.cpp.


Member Function Documentation

virtual const std::string& psana::ExpNameFromConfig::experiment (  )  const [inline, virtual]

Returns experiment name.

Implements PSEnv::IExpNameProvider.

Definition at line 67 of file ExpNameFromConfig.h.

virtual unsigned psana::ExpNameFromConfig::expNum (  )  const [inline, virtual]

Returns experiment number or 0.

Implements PSEnv::IExpNameProvider.

Definition at line 70 of file ExpNameFromConfig.h.

virtual const std::string& psana::ExpNameFromConfig::instrument (  )  const [inline, virtual]

Returns instrument name.

Implements PSEnv::IExpNameProvider.

Definition at line 64 of file ExpNameFromConfig.h.


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