9 #ifndef PNDCASTATIONARRAY_H
10 #define PNDCASTATIONARRAY_H
22 template<
typename T >
33 return (*
fHitsRef)[ (*this)[
i].IHit(IH)[iV] ];
37 return (*
fHitsRef)[ (*this)[
i].IHit(IH) ];
43 vector<T>::operator=( a );
51 r.resize( this->size() + a.size() );
53 for(
unsigned int i = 0;
i < this->size(); ++
i ) {
56 for(
unsigned int i = 0;
i < a.size(); ++
i ) {
69 template<
typename T >
86 for(
int i = 0;
i < nSta; ++
i )
97 unsigned int Size()
const {
108 const int iSta = hit.Station();
PndCAElementsOnStation< T > operator+(const PndCAElementsOnStation< T > &a)
PndCAElementsOnStation< T > & operator=(const PndCAElementsOnStation< T > &a)
PndCAElementsOnStation< T > & operator[](char i)
const PndCAElementsOnStation< T > & OnStation(char i) const
const char & IStation() const
const PndCAHits * fHitsRef
const T & operator[](PndCATES i) const
const PndCAHits * HitsRef() const
PndCAElementsOnStation< T > & OnStation(char i)
const PndCAElementsOnStation< T > & operator[](char i) const
const PndCAHit & GetHit(int IH, int i) const
void Renew(int nSta, const PndCAHits *hits)
T & operator[](PndCATES i)
unsigned int Size() const
const PndCAHits * HitsRef() const
const PndCAHit & GetHit(int iV, int IH, int i) const
PndCAElementsOnStation(const PndCAHits *hits)
vector< PndCAElementsOnStation< T > > fElement
PndCAStationArray(int nSta, const PndCAHits *hits)