#include <CellularAutomaton.h>
Public Member Functions | |
CellularAutomaton (CAGraph &graph) | |
void | createAndConnectCells (const std::vector< const HitDoublets *> &, const TrackingRegion &, const CACut &, const CACut &, const float) |
void | evolve (const unsigned int) |
void | findNtuplets (std::vector< CACell::CAntuplet > &, const unsigned int) |
void | findTriplets (const std::vector< const HitDoublets *> &hitDoublets, std::vector< CACell::CAntuplet > &foundTriplets, const TrackingRegion ®ion, const CACut &thetaCut, const CACut &phiCut, const float hardPtCut) |
std::vector< CACell > & | getAllCells () |
Private Attributes | |
std::vector< CACell > | allCells |
std::vector< CACellStatus > | allStatus |
CAGraph & | theLayerGraph |
std::vector< std::vector< CACell * > > | theNtuplets |
std::vector< unsigned int > | theRootCells |
Definition at line 12 of file CellularAutomaton.h.
|
inline |
Definition at line 14 of file CellularAutomaton.h.
void CellularAutomaton::createAndConnectCells | ( | const std::vector< const HitDoublets *> & | hitDoublets, |
const TrackingRegion & | region, | ||
const CACut & | thetaCut, | ||
const CACut & | phiCut, | ||
const float | hardPtCut | ||
) |
Definition at line 5 of file CellularAutomaton.cc.
References allCells, cms::cuda::assert(), CACut::getCutsByInnerLayer(), ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::hardPtCut, mps_fire::i, HitDoublets::innerHitId(), HitDoublets::outerHitId(), ptmin, nano_mu_digi_cff::region, HitDoublets::size(), theLayerGraph, CAGraph::theLayerPairs, CAGraph::theLayers, CAGraph::theRootLayers, and class-composition::visited.
Referenced by CAHitQuadrupletGenerator::hitNtuplets().
void CellularAutomaton::evolve | ( | const unsigned int | minHitsPerNtuplet | ) |
Definition at line 91 of file CellularAutomaton.cc.
References allCells, allStatus, mps_fire::i, align_cfg::iteration, HLT_2024v14_cff::minHitsPerNtuplet, theLayerGraph, CAGraph::theLayerPairs, CAGraph::theLayers, theRootCells, and CAGraph::theRootLayers.
Referenced by CAHitQuadrupletGenerator::hitNtuplets().
void CellularAutomaton::findNtuplets | ( | std::vector< CACell::CAntuplet > & | foundNtuplets, |
const unsigned int | minHitsPerNtuplet | ||
) |
Definition at line 127 of file CellularAutomaton.cc.
References allCells, caHitNtupletGeneratorKernels::foundNtuplets, HLT_2024v14_cff::minHitsPerNtuplet, and theRootCells.
Referenced by CAHitQuadrupletGenerator::hitNtuplets().
void CellularAutomaton::findTriplets | ( | const std::vector< const HitDoublets *> & | hitDoublets, |
std::vector< CACell::CAntuplet > & | foundTriplets, | ||
const TrackingRegion & | region, | ||
const CACut & | thetaCut, | ||
const CACut & | phiCut, | ||
const float | hardPtCut | ||
) |
Definition at line 139 of file CellularAutomaton.cc.
References allCells, cms::cuda::assert(), CACut::getCutsByInnerLayer(), ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::hardPtCut, mps_fire::i, HitDoublets::innerHitId(), HitDoublets::outerHitId(), ptmin, nano_mu_digi_cff::region, HitDoublets::size(), theLayerGraph, CAGraph::theLayerPairs, CAGraph::theLayers, CAGraph::theRootLayers, and class-composition::visited.
Referenced by CAHitTripletGenerator::hitNtuplets().
|
inline |
Definition at line 16 of file CellularAutomaton.h.
References allCells.
Referenced by CAHitTripletGenerator::hitNtuplets(), and CAHitQuadrupletGenerator::hitNtuplets().
|
private |
Definition at line 33 of file CellularAutomaton.h.
Referenced by createAndConnectCells(), evolve(), findNtuplets(), findTriplets(), and getAllCells().
|
private |
Definition at line 34 of file CellularAutomaton.h.
Referenced by evolve().
|
private |
Definition at line 31 of file CellularAutomaton.h.
Referenced by createAndConnectCells(), evolve(), and findTriplets().
|
private |
Definition at line 37 of file CellularAutomaton.h.
|
private |
Definition at line 36 of file CellularAutomaton.h.
Referenced by evolve(), and findNtuplets().