85 fData =
new int[newSize];
95 for(
int i = 0; i <
fSize; i++)
fData[i] = orig[i];
103 for(
int i = 0; i <
fSize; i++)
fData[i] = lround(orig[i]);
115 for(
int i=0;i<
fSize;i++)
fData[i] = lround(orig[i]);
127 std::stringstream stream;
128 stream<<
"Size: "<<
fSize<<
" Index: "<<i;
137 std::stringstream stream;
138 stream<<
"Size: "<<
fSize<<
" Index: "<<i;
153 for (
size_t i = 0; i <
vec.
Size(); i++) s<<
vec[i]<<
" ";
#define Q_BEGIN_NAMESPACE
QObjectImp(Diana::QVectorI)
Q_END_NAMESPACE std::ostream & operator<<(std::ostream &s, const Diana::QVectorI &vec)
error class with error type and description
QObject & operator=(const QObject &rhs)
operator=
Interface for raw daq vectors in Diana.
const QVectorI & operator=(const QVectorI &orig)
void Resize(const size_t size)
Int_t fSize
size of the array
int & operator[](size_t i)
Interface for vectors in Diana analysis.
UInt_t Size() const
size of QVector