GSE++ library: reading and writing GSE waveforms

◆ setsubformat()

void GSE2::waveform::TWID2::setsubformat ( const std::string &  key)

set subformat from key string

Definition at line 66 of file gsexx_TWID2.cc.

References Fsubformat, and GSE2::waveform::SF_CM6.

Referenced by read().

67 {
68  if (key.substr(0,3)==std::string("CM6")) { Fsubformat=SF_CM6; }
69  else throw
70  Terror("ERROR (TWID2): unknown subformat key!");
71 }
Esubformat Fsubformat
GSE2 waveform subformat.
Definition: gsexx.h:141
Here is the caller graph for this function: