CbmRoot
|
#include <L1Grid.h>
Public Member Functions | |
L1Grid () | |
L1Grid (const L1Grid &grid) | |
void | CreatePar (L1HitPoint *points, THitI nhits, L1Vector< L1HitPoint > *pointsBuf, L1Vector< L1StsHit > *hitsBuf, const L1StsHit *hits, L1Vector< THitI > *indices, L1Vector< THitI > *indicesBuf, char iS, L1Algo &Algo, THitI n) |
void | StoreHits (THitI nhits, const L1StsHit *hits, char iS, L1Algo &Algo, THitI n, L1StsHit *hitsBuf1, const L1StsHit *hits1, THitI *indices1) |
void | CreatePar0 (float yMin, float yMax, float zMin, float zMax, float sy, float sz) |
void | BuildBins (float yMin, float yMax, float zMin, float zMax, float tMin, float tMax, float sy, float sz, float st) |
void | HitsSort (L1HitPoint *pointsBuf, L1StsHit *hitsBuf, const L1StsHit *hits, THitI *indices, THitI *indicesBuf, L1HitPoint *points, THitI n, THitI nhits, char iS, L1Algo &Algo) |
void | Initial1 (int NThreads) |
void | AllocateMemory (int NThreads) |
void | Create (float yMin, float yMax, float zMin, float zMax, float sy, float sz) |
void | Fill (const L1HitPoint *points, THitI n) |
void | FillPar (const L1HitPoint *points, THitI n) |
int | GetBin (float Y, float Z) const |
unsigned int | GetBinBounded (const float &Y, const float &Z) const |
void | GetBinBounded (const float &Y, const float &Z, unsigned short &bY, unsigned short &bZ) const |
int | GetBin (float Y, float Z, float T) const |
void | GetBinBounds (unsigned int iBin, float &Ymin, float &Ymax, float &Zmin, float &Zmax) const |
unsigned int | GetBinBounded (const float &Y, const float &Z, const float &T) const |
void | GetBinBounded (const float &Y, const float &Z, const float &T, unsigned short &bY, unsigned short &bZ, unsigned short &bT) const |
void | GetBinBounds (unsigned int iBin, float &Ymin, float &Ymax, float &Zmin, float &Zmax, float &Tmin, float &Tmax) const |
unsigned int | N () const |
unsigned short | Ny () const |
unsigned short | Nz () const |
unsigned short | Nt () const |
THitI | FirstHitInBin (unsigned int i) const |
void | UpdateIterGrid (unsigned int Nelements, L1StsHit *hits, vector< THitI > *indicesBuf, THitI *indices, vector< L1StsHit > *hits2, vector< L1HitPoint > *pointsBuf, L1HitPoint *points, int &NHitsOnStation, char iS, L1Algo &Algo, const vector< unsigned char > *vSFlag, const vector< unsigned char > *vSFlagB) |
Private Attributes | |
unsigned int | fN |
unsigned short | fNy |
unsigned short | fNz |
unsigned short | fNt |
float | fYMinOverStep |
float | fZMinOverStep |
float | fTMinOverStep |
float | fStepYInv |
float | fStepZInv |
float | fStepTInv |
int | fBinInGrid |
vector< THitI > | fFirstHitInBin |
vector< THitI > | fHitsInBin |
unsigned short | fNThreads |
2-dimensional grid of pointers. pointers to (y,z)-like objects are assigned to the corresponding grid bin used by L1Tracker to speed-up the hit operations grid axis are named Z,Y to be similar to TPC row coordinates.
void L1Grid::AllocateMemory | ( | int | NThreads | ) |
Definition at line 122 of file L1Grid.cxx.
void L1Grid::BuildBins | ( | float | yMin, |
float | yMax, | ||
float | zMin, | ||
float | zMax, | ||
float | tMin, | ||
float | tMax, | ||
float | sy, | ||
float | sz, | ||
float | st | ||
) |
Definition at line 146 of file L1Grid.cxx.
Referenced by L1Algo::CATrackFinder().
void L1Grid::Create | ( | float | yMin, |
float | yMax, | ||
float | zMin, | ||
float | zMax, | ||
float | sy, | ||
float | sz | ||
) |
void L1Grid::CreatePar | ( | L1HitPoint * | points, |
THitI | nhits, | ||
L1Vector< L1HitPoint > * | pointsBuf, | ||
L1Vector< L1StsHit > * | hitsBuf, | ||
const L1StsHit * | hits, | ||
L1Vector< THitI > * | indices, | ||
L1Vector< THitI > * | indicesBuf, | ||
char | iS, | ||
L1Algo & | Algo, | ||
THitI | n | ||
) |
void L1Grid::CreatePar0 | ( | float | yMin, |
float | yMax, | ||
float | zMin, | ||
float | zMax, | ||
float | sy, | ||
float | sz | ||
) |
void L1Grid::Fill | ( | const L1HitPoint * | points, |
THitI | n | ||
) |
void L1Grid::FillPar | ( | const L1HitPoint * | points, |
THitI | n | ||
) |
|
inline |
Definition at line 178 of file L1Grid.h.
References i.
Referenced by L1HitArea::GetNext(), L1HitAreaTime::GetNext(), L1HitArea::L1HitArea(), and L1HitAreaTime::L1HitAreaTime().
|
inline |
|
inline |
Definition at line 328 of file L1Grid.h.
Referenced by L1HitArea::L1HitArea(), and L1HitAreaTime::L1HitAreaTime().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 296 of file L1Grid.h.
Referenced by L1HitArea::L1HitArea().
|
inline |
void L1Grid::HitsSort | ( | L1HitPoint * | pointsBuf, |
L1StsHit * | hitsBuf, | ||
const L1StsHit * | hits, | ||
THitI * | indices, | ||
THitI * | indicesBuf, | ||
L1HitPoint * | points, | ||
THitI | n, | ||
THitI | nhits, | ||
char | iS, | ||
L1Algo & | Algo | ||
) |
void L1Grid::Initial1 | ( | int | NThreads | ) |
|
inline |
Definition at line 173 of file L1Grid.h.
Referenced by L1HitArea::GetNext(), and L1HitAreaTime::GetNext().
void L1Grid::StoreHits | ( | THitI | nhits, |
const L1StsHit * | hits, | ||
char | iS, | ||
L1Algo & | Algo, | ||
THitI | n, | ||
L1StsHit * | hitsBuf1, | ||
const L1StsHit * | hits1, | ||
THitI * | indices1 | ||
) |
Definition at line 175 of file L1Grid.cxx.
References L1Algo::GetHitCoor(), hits, i, and x.
Referenced by L1Algo::CATrackFinder().
void L1Grid::UpdateIterGrid | ( | unsigned int | Nelements, |
L1StsHit * | hits, | ||
vector< THitI > * | indicesBuf, | ||
THitI * | indices, | ||
vector< L1StsHit > * | hits2, | ||
vector< L1HitPoint > * | pointsBuf, | ||
L1HitPoint * | points, | ||
int & | NHitsOnStation, | ||
char | iS, | ||
L1Algo & | Algo, | ||
const vector< unsigned char > * | vSFlag, | ||
const vector< unsigned char > * | vSFlagB | ||
) |
Definition at line 34 of file L1Grid.cxx.
References L1StsHit::b, L1StsHit::f, L1Algo::GetHitCoor(), hits, i, points, L1StsHit::t_reco, and x.
Referenced by L1Algo::CATrackFinder().