CMS 3D CMS Logo

CellularAutomaton.h
Go to the documentation of this file.
1 #ifndef RecoTracker_PixelSeeding_src_CellularAutomaton_h
2 #define RecoTracker_PixelSeeding_src_CellularAutomaton_h
3 
4 #include <array>
5 
8 
9 #include "CACell.h"
11 
13 public:
15 
16  std::vector<CACell>& getAllCells() { return allCells; }
17 
19  const std::vector<const HitDoublets*>&, const TrackingRegion&, const CACut&, const CACut&, const float);
20 
21  void evolve(const unsigned int);
22  void findNtuplets(std::vector<CACell::CAntuplet>&, const unsigned int);
23  void findTriplets(const std::vector<const HitDoublets*>& hitDoublets,
24  std::vector<CACell::CAntuplet>& foundTriplets,
25  const TrackingRegion& region,
26  const CACut& thetaCut,
27  const CACut& phiCut,
28  const float hardPtCut);
29 
30 private:
32 
33  std::vector<CACell> allCells;
34  std::vector<CACellStatus> allStatus;
35 
36  std::vector<unsigned int> theRootCells;
37  std::vector<std::vector<CACell*> > theNtuplets;
38 };
39 
40 #endif // RecoTracker_PixelSeeding_src_CellularAutomaton_h
std::vector< std::vector< CACell * > > theNtuplets
void findNtuplets(std::vector< CACell::CAntuplet > &, const unsigned int)
std::vector< CACell > & getAllCells()
Definition: CACut.h:16
std::vector< CACellStatus > allStatus
CellularAutomaton(CAGraph &graph)
std::vector< unsigned int > theRootCells
std::vector< CACell > allCells
void createAndConnectCells(const std::vector< const HitDoublets *> &, const TrackingRegion &, const CACut &, const CACut &, const float)
void findTriplets(const std::vector< const HitDoublets *> &hitDoublets, std::vector< CACell::CAntuplet > &foundTriplets, const TrackingRegion &region, const CACut &thetaCut, const CACut &phiCut, const float hardPtCut)
void evolve(const unsigned int)