#include <CellularAutomaton.h>
Public Member Functions | |
CellularAutomaton (const 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) |
Private Attributes | |
CAGraph | theLayerGraph |
std::vector< std::vector < CACell * > > | theNtuplets |
std::vector< CACell * > | 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 3 of file CellularAutomaton.cc.
References 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 CAHitQuadrupletGenerator::hitQuadruplets().
void CellularAutomaton::evolve | ( | const unsigned int | minHitsPerNtuplet | ) |
Definition at line 94 of file CellularAutomaton.cc.
References align_cfg::iteration, theLayerGraph, CAGraph::theLayerPairs, CAGraph::theLayers, theRootCells, and CAGraph::theRootLayers.
Referenced by CAHitQuadrupletGenerator::hitQuadruplets().
void CellularAutomaton::findNtuplets | ( | std::vector< CACell::CAntuplet > & | foundNtuplets, |
const unsigned int | minHitsPerNtuplet | ||
) |
Definition at line 140 of file CellularAutomaton.cc.
References theRootCells.
Referenced by 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 157 of file CellularAutomaton.cc.
References 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 CAHitTripletGenerator::hitTriplets().
|
private |
Definition at line 26 of file CellularAutomaton.h.
Referenced by createAndConnectCells(), evolve(), and findTriplets().
|
private |
Definition at line 28 of file CellularAutomaton.h.
|
private |
Definition at line 27 of file CellularAutomaton.h.
Referenced by evolve(), and findNtuplets().