34 float X0()
const {
return fX0; }
35 float X1()
const {
return fX1; }
36 float X2()
const {
return fX2; }
42 float R()
const {
return fR; }
43 float DR()
const {
return fDR; }
44 float U()
const {
return fU; }
61 return a.
X2()/abs(a.
X0()) < b.
X2()/abs(b.
X0());
85 const float_v xCorr =
fR -
fR*
rsqrt( 1 - sinPhi*sinPhi );
116 for(
int i = 0;
i < nSta; ++
i ) {
133 for(
unsigned int i = 0;
i <
fElement.size(); ++
i ) {
135 std::sort( hits.begin(), hits.end() );
140 for(
unsigned int i = 0;
i <
fElement.size(); ++
i ) {
145 for(
unsigned int iH = 0; iH < hits.size(); ++iH ) {
146 if ( hits[iH].IsUsed() )
continue;
147 tmp.push_back( hits[iH] );
const PndCAElementsOnStation< T > & OnStation(char i) const
PndCAElementsOnStation< T > & OnStation(char i)
const char & IStation() const
const T & operator[](PndCATES i) const
const char & IStation() const
const PndCAElementsOnStation< T > & operator[](char i) const
vector< PndCAElementsOnStation< T > > fElement
const PndCAElementsOnStation< T > & OnStationConst(char i) const
void GetLocalX0X1X2(float &x0, float &x1, float &x2) const
friend F32vec4 rsqrt(const F32vec4 &a)
float_v X1Corrected(float_v sinPhi) const
PndCAElementsOnStation< T > & operator[](char i)
PndCAHits(int nSta, int nHitsPerStation=1)
friend bool operator<(const PndCAHit &a, const PndCAHit &b)
PndCAHit(PndCAGBHit &h, int id)
T & operator[](PndCATES i)