RecoPixelVertexing
PixelTriplets
src
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
6
#include "
RecoTracker/TkTrackingRegions/interface/TrackingRegion.h
"
7
#include "
TrackingTools/TransientTrackingRecHit/interface/SeedingLayerSetsHits.h
"
8
9
#include "
CACell.h
"
10
#include "
CAGraph.h
"
11
12
class
CellularAutomaton
{
13
public
:
14
CellularAutomaton
(
CAGraph
& graph) :
theLayerGraph
(graph) {}
15
16
std::vector<CACell>&
getAllCells
() {
return
allCells
; }
17
18
void
createAndConnectCells
(
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
:
31
CAGraph
&
theLayerGraph
;
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:86
CellularAutomaton::createAndConnectCells
void createAndConnectCells(const std::vector< const HitDoublets * > &, const TrackingRegion &, const float, const float, 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
CellularAutomaton
Definition:
CellularAutomaton.h:12
CAGraph
Definition:
CAGraph.h:44
CAGraph.h
CellularAutomaton::findTriplets
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)
Definition:
CellularAutomaton.cc:134
HLT_2018_cff.region
region
Definition:
HLT_2018_cff.py:81479
TrackingRegion
Definition:
TrackingRegion.h:38
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:122
Generated for CMSSW Reference Manual by
1.8.16