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  bool barrel_;
37  int nvm_;
38  int nvmbits_;
39 
40  //used in the layers
41  std::vector<bool> table_;
42 
43  //used in the disks
44  std::vector<bool> tablePS_;
45  std::vector<bool> table2S_;
46  };
47 
48 }; // namespace trklet
49 #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:45
trklet::MatchEngine::MatchEngine
MatchEngine(std::string name, Settings const &settings, Globals *global, unsigned int iSector)
Definition: MatchEngine.cc:18
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
memory
Definition: HGCRecHitSoA.h:20
trklet::Settings
Definition: Settings.h:31
trklet::Globals
Definition: Globals.h:32
trklet::VMProjectionsMemory
Definition: VMProjectionsMemory.h:14
trklet::MatchEngine::table_
std::vector< bool > table_
Definition: MatchEngine.h:41
trklet::MatchEngine::nvmbits_
int nvmbits_
Definition: MatchEngine.h:38
trklet::MatchEngine::~MatchEngine
~MatchEngine() override=default
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
trklet::MatchEngine::barrel_
bool barrel_
Definition: MatchEngine.h:36
trklet::MemoryBase
Definition: MemoryBase.h:13
trklet::MatchEngine
Definition: MatchEngine.h:16
trklet::MatchEngine::tablePS_
std::vector< bool > tablePS_
Definition: MatchEngine.h:44
trklet::MatchEngine::nvm_
int nvm_
Definition: MatchEngine.h:37
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:140
trklet::MatchEngine::addInput
void addInput(MemoryBase *memory, std::string input) override
Definition: MatchEngine.cc:120
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:106