CMS 3D CMS Logo

MatchEngine.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTracklet_interface_MatchEngine_h
2 #define L1Trigger_TrackFindingTracklet_interface_MatchEngine_h
3 
5 #include <vector>
6 
7 namespace trklet {
8 
9  class Settings;
10  class Globals;
11  class MemoryBase;
12  class VMStubsMEMemory;
13  class VMProjectionsMemory;
14  class CandidateMatchMemory;
15 
16  class MatchEngine : public ProcessBase {
17  public:
18  MatchEngine(std::string name, Settings const& settings, Globals* global, unsigned int iSector);
19 
20  ~MatchEngine() override = default;
21 
22  void addOutput(MemoryBase* memory, std::string output) override;
23  void addInput(MemoryBase* memory, std::string input) override;
24 
25  void execute();
26 
27  private:
30 
32 
33  int layer_;
34  int disk_;
35 
36  //used in the layers
37  std::vector<bool> table_;
38 
39  //used in the disks
40  std::vector<bool> tablePS_;
41  std::vector<bool> table2S_;
42  };
43 
44 }; // namespace trklet
45 #endif
trklet::MatchEngine::layer_
int layer_
Definition: MatchEngine.h:33
trklet::MatchEngine::vmprojs_
VMProjectionsMemory * vmprojs_
Definition: MatchEngine.h:29
trklet::MatchEngine::table2S_
std::vector< bool > table2S_
Definition: MatchEngine.h:41
trklet::MatchEngine::MatchEngine
MatchEngine(std::string name, Settings const &settings, Globals *global, unsigned int iSector)
Definition: MatchEngine.cc:16
trklet::VMStubsMEMemory
Definition: VMStubsMEMemory.h:16
input
static const std::string input
Definition: EdmProvDump.cc:48
trklet::MatchEngine::disk_
int disk_
Definition: MatchEngine.h:34
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
trklet::Settings
Definition: Settings.h:26
trklet::Globals
Definition: Globals.h:32
trklet::VMProjectionsMemory
Definition: VMProjectionsMemory.h:14
trklet::MatchEngine::table_
std::vector< bool > table_
Definition: MatchEngine.h:37
trklet::MatchEngine::~MatchEngine
~MatchEngine() override=default
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
trklet::MemoryBase
Definition: MemoryBase.h:13
trklet::MatchEngine
Definition: MatchEngine.h:16
trklet::MatchEngine::tablePS_
std::vector< bool > tablePS_
Definition: MatchEngine.h:40
trklet
Definition: AllProjectionsMemory.h:9
trklet::CandidateMatchMemory
Definition: CandidateMatchMemory.h:17
ProcessBase.h
trklet::MatchEngine::candmatches_
CandidateMatchMemory * candmatches_
Definition: MatchEngine.h:31
trklet::ProcessBase
Definition: ProcessBase.h:12
trklet::MatchEngine::execute
void execute()
Definition: MatchEngine.cc:117
trklet::MatchEngine::addInput
void addInput(MemoryBase *memory, std::string input) override
Definition: MatchEngine.cc:97
mps_setup.memory
memory
Definition: mps_setup.py:156
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
trklet::MatchEngine::vmstubs_
VMStubsMEMemory * vmstubs_
Definition: MatchEngine.h:28
trklet::MatchEngine::addOutput
void addOutput(MemoryBase *memory, std::string output) override
Definition: MatchEngine.cc:83