1 #ifndef PndTrkVectors_H 2 #define PndTrkVectors_H 1 39 Vec(T *p,
int dim, TString nam)
41 if (dim < 0 || dim > 1000000) {
42 cout <<
"PndTrkVectors::Vec the dimension of the array " << nam <<
" is " << dim <<
" and not acceptable; exit(-2) the program.\n";
56 if (index >= 0 && index < dimension) {
57 T &alias = array[index];
60 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)