13 #ifndef PndTrkVectors_H 14 #define PndTrkVectors_H 1 51 Vec(T *p,
int dim, TString nam)
53 if (dim < 0 || dim > 1000000) {
54 cout <<
"PndTrkVectors::Vec the dimension of the array " << nam <<
" is " << dim <<
" and not acceptable; exit(-2) the program.\n";
68 if (index >= 0 && index < dimension) {
69 T &alias = array[index];
72 cout <<
"PndTrkVectors:: array " << name <<
": index = " << index <<
" and it is out of bounds [from 0 to " << dimension - 1 <<
" included]; exiting the process.\n";
T & operator[](int index)
Vec(T *p, int dim, TString nam)