1 #ifndef PndTrkVectors_H
2 #define PndTrkVectors_H 1
31 template <
class T>
class Vec{
41 if(dim < 0 || dim > 1000000){
42 cout<<
"PndTrkVectors::Vec the dimension of the array "<<nam<<
" is "
43 <<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 "<<
61 dimension-1<<
" included]; exiting the process.\n";
Vec(T *p, int dim, TString nam)
float & operator[](int i)