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 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 // RecoPixelVertexing_PixelTriplets_src_CellularAutomaton_h
CellularAutomaton::theNtuplets
std::vector< std::vector< CACell * > > theNtuplets
Definition: CellularAutomaton.h:37
CellularAutomaton::evolve
void evolve(const unsigned int)
Definition: CellularAutomaton.cc:91
CellularAutomaton::createAndConnectCells
void createAndConnectCells(const std::vector< const HitDoublets * > &, const TrackingRegion &, const CACut &, const CACut &, const float)
Definition: CellularAutomaton.cc:5
CellularAutomaton::theLayerGraph
CAGraph & theLayerGraph
Definition: CellularAutomaton.h:31
SeedingLayerSetsHits.h
CellularAutomaton::CellularAutomaton
CellularAutomaton(CAGraph &graph)
Definition: CellularAutomaton.h:14
CellularAutomaton::getAllCells
std::vector< CACell > & getAllCells()
Definition: CellularAutomaton.h:16
CACell.h
CellularAutomaton::allStatus
std::vector< CACellStatus > allStatus
Definition: CellularAutomaton.h:34
CellularAutomaton::theRootCells
std::vector< unsigned int > theRootCells
Definition: CellularAutomaton.h:36
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88271
CellularAutomaton
Definition: CellularAutomaton.h:12
CAGraph
Definition: CAGraph.h:50
CAGraph.h
CellularAutomaton::findTriplets
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)
Definition: CellularAutomaton.cc:139
CACut
Definition: CACut.h:16
TrackingRegion
Definition: TrackingRegion.h:41
CellularAutomaton::allCells
std::vector< CACell > allCells
Definition: CellularAutomaton.h:33
TrackingRegion.h
CellularAutomaton::findNtuplets
void findNtuplets(std::vector< CACell::CAntuplet > &, const unsigned int)
Definition: CellularAutomaton.cc:127