21 #ifndef PNDCASTATIONARRAY_H 22 #define PNDCASTATIONARRAY_H 51 vector<T>::operator=(a);
60 r.resize(this->size() + a.size());
62 for (
unsigned int i = 0;
i < this->size(); ++
i) {
65 for (
unsigned int i = 0;
i < a.size(); ++
i) {
83 assert((
unsigned char)i < fElement.size());
88 assert((
unsigned char)i < fElement.size());
93 assert((
unsigned char)i < fElement.size());
98 assert((
unsigned char)i < fElement.size());
110 for (
int i = 0;
i < nSta; ++
i)
127 for (
int i = 0;
i < NStations(); ++
i)
128 s += fElement[
i].size();
137 const int iSta = hit.Station();
138 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