CMS 3D CMS Logo

CellularAutomaton.h
Go to the documentation of this file.
1 #ifndef RecoPixelVertexing_PixelTriplets_src_CellularAutomaton_h
2 #define RecoPixelVertexing_PixelTriplets_src_CellularAutomaton_h
3 
4 #include <array>
5 
8 
9 #include "CACell.h"
10 #include "CAGraph.h"
11 
13 public:
15 
16  std::vector<CACell>& getAllCells() { return allCells; }
17 
19  const std::vector<const HitDoublets*>&, const TrackingRegion&, const float, const float, 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 float thetaCut,
27  const float 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 // RecoPixelVertexing_PixelTriplets_src_CellularAutomaton_h
std::vector< std::vector< CACell * > > theNtuplets
void findNtuplets(std::vector< CACell::CAntuplet > &, const unsigned int)
void createAndConnectCells(const std::vector< const HitDoublets * > &, const TrackingRegion &, const float, const float, const float)
std::vector< CACell > & getAllCells()
std::vector< CACellStatus > allStatus
CellularAutomaton(CAGraph &graph)
std::vector< unsigned int > theRootCells
std::vector< CACell > allCells
void findTriplets(const std::vector< const HitDoublets * > &hitDoublets, std::vector< CACell::CAntuplet > &foundTriplets, const TrackingRegion &region, const float thetaCut, const float phiCut, const float hardPtCut)
void evolve(const unsigned int)