24 os <<
"contain " << nVal <<
" values" << endl;
25 for (
unsigned int i = 0; i < nVal; i++)
27 os <<
"n: " << i <<
" val: " << sval[i] << endl;
36 sval =
new short[nVal];
37 vector<short>::const_iterator iter;
39 for (iter = vec.begin(); iter != vec.end(); iter++)
ClassImp(VariableArray) using namespace std
void set_val(const std::vector< short > &vec)
void identify(std::ostream &os=std::cout) const
VariableArray(const unsigned int idval=0)