#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 8 of file CellularAutomaton.h.
|
inline |
Definition at line 11 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 6 of file CellularAutomaton.cc.
References allCells, mps_fire::i, HitDoublets::innerHitId(), TrackingRegion::origin(), TrackingRegion::originRBound(), HitDoublets::outerHitId(), TrackingRegion::ptMin(), ptmin, HitDoublets::size(), theLayerGraph, CAGraph::theLayerPairs, CAGraph::theLayers, CAGraph::theRootLayers, class-composition::visited, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by getAllCells(), and CAHitQuadrupletGenerator::hitQuadruplets().
void CellularAutomaton::evolve | ( | const unsigned int | minHitsPerNtuplet | ) |
Definition at line 102 of file CellularAutomaton.cc.
References allCells, allStatus, mps_fire::i, align_cfg::iteration, theLayerGraph, CAGraph::theLayerPairs, CAGraph::theLayers, theRootCells, and CAGraph::theRootLayers.
Referenced by getAllCells(), and CAHitQuadrupletGenerator::hitQuadruplets().
void CellularAutomaton::findNtuplets | ( | std::vector< CACell::CAntuplet > & | foundNtuplets, |
const unsigned int | minHitsPerNtuplet | ||
) |
Definition at line 153 of file CellularAutomaton.cc.
References allCells, and theRootCells.
Referenced by getAllCells(), and CAHitQuadrupletGenerator::hitQuadruplets().
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 170 of file CellularAutomaton.cc.
References allCells, mps_fire::i, HitDoublets::innerHitId(), TrackingRegion::origin(), TrackingRegion::originRBound(), HitDoublets::outerHitId(), TrackingRegion::ptMin(), ptmin, HitDoublets::size(), theLayerGraph, CAGraph::theLayerPairs, CAGraph::theLayers, CAGraph::theRootLayers, class-composition::visited, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by getAllCells(), and CAHitTripletGenerator::hitTriplets().
|
inline |
Definition at line 17 of file CellularAutomaton.h.
References allCells, createAndConnectCells(), evolve(), findNtuplets(), and findTriplets().
Referenced by CAHitQuadrupletGenerator::hitQuadruplets(), and CAHitTripletGenerator::hitTriplets().
|
private |
Definition at line 30 of file CellularAutomaton.h.
Referenced by createAndConnectCells(), evolve(), findNtuplets(), findTriplets(), and getAllCells().
|
private |
Definition at line 31 of file CellularAutomaton.h.
Referenced by evolve().
|
private |
Definition at line 28 of file CellularAutomaton.h.
Referenced by createAndConnectCells(), evolve(), and findTriplets().
|
private |
Definition at line 34 of file CellularAutomaton.h.
|
private |
Definition at line 33 of file CellularAutomaton.h.
Referenced by evolve(), and findNtuplets().