Classes | |
struct | ContributionInfo |
struct | SectorBinning |
struct | WireInfo |
Public Member Functions | |
void | init (const NDFinderParameters &ndFinderParameters) |
void | reset () |
void | addHit (const HitInfo &hitInfo) |
void | findTracks () |
std::vector< NDFinderTrack > * | getFinderTracks () |
Protected Member Functions | |
void | initLookUpArrays () |
void | initHitToSectorMap () |
void | loadCompressedHitReps (const std::string &fileName, const SectorBinning &compBins, c5array &compHitsToWeights) |
void | fillExpandedHitReps (const SectorBinning &compBins, const c5array &compHitsToWeights, c5array &expHitsToWeights) |
void | processHitForHoughSpace (const unsigned short hitIdx) |
void | writeHitToHoughSpace (const WireInfo &hitInfo, const c5array &expHitsToWeights) |
void | runTrackFinding () |
std::vector< SimpleCluster > | relateHitsToClusters (std::vector< SimpleCluster > &clusters) |
std::vector< std::vector< unsigned short > > | getHitsVsClustersTable (const std::vector< SimpleCluster > &clusters) |
unsigned short | getHitContribution (const cell_index &peakCell, const unsigned short hitIdx) |
std::vector< ContributionInfo > | extractContributionInfos (const std::vector< unsigned short > &clusterHits) |
int | getMaximumHitInSuperLayer (const std::vector< ContributionInfo > &contributionInfos, unsigned short superLayer) |
bool | checkHitSuperLayers (const SimpleCluster &cluster) |
std::array< double, 3 > | calculateCenterOfGravity (const SimpleCluster &cluster) |
std::array< double, 3 > | getTrackParameterEstimate (const std::array< double, 3 > ¢erOfGravity) |
std::array< double, 3 > | transformTrackParameters (const std::array< double, 3 > &estimatedParameters) |
Static Protected Member Functions | |
static double | getTrackRadius (double transverseMomentum) |
Private Attributes | |
std::vector< NDFinderTrack > | m_ndFinderTracks |
std::vector< unsigned short > | m_hitIDs |
std::vector< unsigned short > | m_hitSLIDs |
std::vector< unsigned short > | m_priorityWirePos |
std::vector< short > | m_priorityWireTime |
unsigned short | m_nHits {0} |
NDFinderParameters | m_ndFinderParams |
Clusterizend | m_clusterer |
c2array * | m_hitToSectorIDs = nullptr |
c5array * | m_compAxialHitReps = nullptr |
c5array * | m_compStereoHitReps = nullptr |
c5array * | m_expAxialHitReps = nullptr |
c5array * | m_expStereoHitReps = nullptr |
c3array * | m_houghSpace = nullptr |
Static Private Attributes | |
static constexpr unsigned short | m_nTS = 2336 |
static constexpr unsigned short | m_nSL = 9 |
static constexpr unsigned short | m_nAxial = 41 |
static constexpr unsigned short | m_nStereo = 32 |
static constexpr unsigned short | m_nPrio = 3 |
static constexpr unsigned short | m_nOmega = 40 |
static constexpr unsigned short | m_nPhi = 384 |
static constexpr unsigned short | m_nCot = 9 |
static constexpr unsigned short | m_phiGeo = 32 |
static constexpr unsigned short | m_nPhiSector = m_nPhi / m_phiGeo |
static constexpr unsigned short | m_nPhiComp = 15 |
static constexpr SectorBinning | m_compAxialBins = {m_nOmega, m_nPhiComp, 1, m_nAxial, m_nPrio} |
static constexpr SectorBinning | m_compStereoBins = {m_nOmega, m_nPhiComp, m_nCot, m_nStereo, m_nPrio} |
static constexpr std::array< double, 2 > | m_omegaRange = {-4., 4.} |
static constexpr std::array< double, 2 > | m_phiRange = {0., 11.25} |
static constexpr std::array< double, 2 > | m_cotRange = {2.3849627654510415, -1.0061730449796316} |
static constexpr double | m_binSizeOmega = (m_omegaRange[1] - m_omegaRange[0]) / m_nOmega |
static constexpr double | m_binSizePhi = (m_phiRange[1] - m_phiRange[0]) / m_nPhiSector |
static constexpr double | m_binSizeCot = (m_cotRange[1] - m_cotRange[0]) / m_nCot |
static constexpr std::array< std::array< double, 2 >, 3 > | m_acceptanceRanges = {m_omegaRange, m_phiRange, m_cotRange} |
static constexpr std::array< double, 3 > | m_binSizes = {m_binSizeOmega, m_binSizePhi, m_binSizeCot} |
Definition at line 96 of file NDFinder.h.
|
inlinevirtual |
Definition at line 126 of file NDFinder.h.
void addHit | ( | const HitInfo & | hitInfo | ) |
Definition at line 59 of file NDFinder.cc.
|
protected |
Definition at line 430 of file NDFinder.cc.
|
protected |
Definition at line 410 of file NDFinder.cc.
|
protected |
Definition at line 363 of file NDFinder.cc.
|
protected |
Definition at line 159 of file NDFinder.cc.
void findTracks | ( | ) |
Definition at line 204 of file NDFinder.cc.
|
inline |
Definition at line 145 of file NDFinder.h.
|
protected |
Definition at line 336 of file NDFinder.cc.
|
protected |
Definition at line 318 of file NDFinder.cc.
|
protected |
Definition at line 382 of file NDFinder.cc.
|
protected |
Definition at line 465 of file NDFinder.cc.
|
inlinestaticprotected |
Definition at line 182 of file NDFinder.h.
void init | ( | const NDFinderParameters & | ndFinderParameters | ) |
Definition at line 27 of file NDFinder.cc.
|
protected |
Definition at line 91 of file NDFinder.cc.
|
protected |
Definition at line 72 of file NDFinder.cc.
|
protected |
Definition at line 126 of file NDFinder.cc.
|
protected |
Definition at line 214 of file NDFinder.cc.
|
protected |
Definition at line 296 of file NDFinder.cc.
void reset | ( | ) |
Definition at line 185 of file NDFinder.cc.
|
protected |
Definition at line 247 of file NDFinder.cc.
|
protected |
Definition at line 476 of file NDFinder.cc.
|
protected |
Definition at line 232 of file NDFinder.cc.
|
staticconstexprprivate |
Definition at line 241 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 240 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 238 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 239 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 242 of file NDFinder.h.
|
private |
Definition at line 201 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 230 of file NDFinder.h.
|
private |
Definition at line 264 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 231 of file NDFinder.h.
|
private |
Definition at line 265 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 237 of file NDFinder.h.
|
private |
Definition at line 277 of file NDFinder.h.
|
private |
Definition at line 278 of file NDFinder.h.
|
private |
Definition at line 189 of file NDFinder.h.
|
private |
Definition at line 191 of file NDFinder.h.
|
private |
Definition at line 252 of file NDFinder.h.
|
private |
Definition at line 280 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 213 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 220 of file NDFinder.h.
|
private |
Definition at line 199 of file NDFinder.h.
|
private |
Definition at line 187 of file NDFinder.h.
|
private |
Definition at line 197 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 218 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 219 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 229 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 226 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 215 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 212 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 214 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 211 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 234 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 223 of file NDFinder.h.
|
staticconstexprprivate |
Definition at line 235 of file NDFinder.h.
|
private |
Definition at line 193 of file NDFinder.h.
|
private |
Definition at line 195 of file NDFinder.h.