#include <CellularAutomaton.h>
Public Member Functions | |
CellularAutomaton (CAGraph &graph) | |
void | createAndConnectCells (const std::vector< const HitDoublets * > &, const TrackingRegion &, const float, const float, 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 float thetaCut, const float 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 float | thetaCut, | ||
const float | phiCut, | ||
const float | hardPtCut | ||
) |
Definition at line 5 of file CellularAutomaton.cc.
References allCells, cms::cuda::assert(), mps_fire::i, HitDoublets::innerHitId(), HitDoublets::outerHitId(), ptmin, HLT_2018_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 86 of file CellularAutomaton.cc.
References allCells, allStatus, mps_fire::i, align_cfg::iteration, 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 122 of file CellularAutomaton.cc.
References allCells, and theRootCells.
Referenced by CAHitQuadrupletGenerator::hitNtuplets().
void CellularAutomaton::findTriplets | ( | const std::vector< const HitDoublets * > & | hitDoublets, |
std::vector< CACell::CAntuplet > & | foundTriplets, | ||
const TrackingRegion & | region, | ||
const float | thetaCut, | ||
const float | phiCut, | ||
const float | hardPtCut | ||
) |
Definition at line 134 of file CellularAutomaton.cc.
References allCells, cms::cuda::assert(), mps_fire::i, HitDoublets::innerHitId(), HitDoublets::outerHitId(), ptmin, HLT_2018_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().