9 #ifndef PNDCASTATIONARRAY_H 10 #define PNDCASTATIONARRAY_H 39 vector<T>::operator=(a);
48 r.resize(this->size() + a.size());
50 for (
unsigned int i = 0;
i < this->size(); ++
i) {
53 for (
unsigned int i = 0;
i < a.size(); ++
i) {
71 assert((
unsigned char)i < fElement.size());
76 assert((
unsigned char)i < fElement.size());
81 assert((
unsigned char)i < fElement.size());
86 assert((
unsigned char)i < fElement.size());
98 for (
int i = 0;
i < nSta; ++
i)
115 for (
int i = 0;
i < NStations(); ++
i)
116 s += fElement[
i].size();
125 const int iSta = hit.Station();
126 fElement[iSta].push_back(hit);
unsigned int Size() const
const PndCAElementsOnStation< T > & operator[](char i) const
PndCAElementsOnStation< T > operator+(const PndCAElementsOnStation< T > &a)
PndCAElementsOnStation< T > & operator=(const PndCAElementsOnStation< T > &a)
PndCAElementsOnStation< T > & operator[](char i)
const PndCAHit & GetHit(int iV, int IH, int i) const
const PndCAHits * HitsRef() const
const char & IStation() const
const T & operator[](PndCATES i) const
const PndCAHits * HitsRef() const
const PndCAHits * fHitsRef
PndCAElementsOnStation< T > & OnStation(char i)
void Renew(int nSta, const PndCAHits *hits)
const PndCAElementsOnStation< T > & OnStation(char i) const
T & operator[](PndCATES i)
const PndCAHit & GetHit(int IH, int i) const
PndCAElementsOnStation(const PndCAHits *hits)
PndCAStationArray(int nSta, const PndCAHits *hits)
vector< PndCAElementsOnStation< T > > fElement