HOPS
HOPS class reference
Public Member Functions | Protected Member Functions | List of all members
hops::MHO_ChannelQuantity Class Reference

class for storing and mapping per-channel control quantities (a typical task for fourfit control files) More...

#include <MHO_ChannelQuantity.hh>

Inheritance diagram for hops::MHO_ChannelQuantity:
[legend]

Public Member Functions

 MHO_ChannelQuantity ()
 
 ~MHO_ChannelQuantity ()
 

Protected Member Functions

std::map< std::string, double > MapChannelQuantities (std::string chan_names, std::vector< double > &values)
 Maps channel names to corresponding values and returns a map. if the number of channel names isn't the same as the number of values, this returns an empty map. More...
 

Detailed Description

class for storing and mapping per-channel control quantities (a typical task for fourfit control files)

Date
Thu Jun 8 13:56:30 2023 -0400
Author
J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du

Constructor & Destructor Documentation

◆ MHO_ChannelQuantity()

hops::MHO_ChannelQuantity::MHO_ChannelQuantity ( )
inline

◆ ~MHO_ChannelQuantity()

hops::MHO_ChannelQuantity::~MHO_ChannelQuantity ( )
inline

Member Function Documentation

◆ MapChannelQuantities()

std::map< std::string, double > hops::MHO_ChannelQuantity::MapChannelQuantities ( std::string  chan_names,
std::vector< double > &  values 
)
protected

Maps channel names to corresponding values and returns a map. if the number of channel names isn't the same as the number of values, this returns an empty map.

Parameters
chan_namesInput string containing comma-separated (or concatenated 1-character, with no space) channel names.
valuesReference to input vector of double values.
Returns
Map with channel names as keys and corresponding values.

The documentation for this class was generated from the following files: