CMS 3D CMS Logo

InputRouter.h
Go to the documentation of this file.
1 // InputRouter: sorts input stubs into layer/disk and phi region
2 #ifndef L1Trigger_TrackFindingTracklet_interface_InputRouter_h
3 #define L1Trigger_TrackFindingTracklet_interface_InputRouter_h
4 
7 
8 #include <string>
9 #include <vector>
10 #include <utility>
11 
12 namespace trklet {
13 
14  class Settings;
15  class Globals;
16  class MemoryBase;
17  class DTCLinkMemory;
18  class InputLinkMemory;
19 
20  class InputRouter : public ProcessBase {
21  public:
22  InputRouter(std::string name, Settings const& settings, Globals* global);
23 
24  ~InputRouter() override = default;
25 
26  void addOutput(MemoryBase* memory, std::string output) override;
27  void addInput(MemoryBase* memory, std::string input) override;
28 
29  void execute();
30 
31  private:
32  //The input stub memories
34 
35  //The all stub memories - the ints are layerdisk and phiregion
36  std::vector<std::pair<std::pair<unsigned int, unsigned int>, InputLinkMemory*> > irstubs_;
37  };
38 }; // namespace trklet
39 #endif
void addOutput(MemoryBase *memory, std::string output) override
Definition: InputRouter.cc:18
static std::string const input
Definition: EdmProvDump.cc:47
void addInput(MemoryBase *memory, std::string input) override
Definition: InputRouter.cc:41
~InputRouter() override=default
std::vector< std::pair< std::pair< unsigned int, unsigned int >, InputLinkMemory * > > irstubs_
Definition: InputRouter.h:36
DTCLinkMemory * dtcstubs_
Definition: InputRouter.h:33
InputRouter(std::string name, Settings const &settings, Globals *global)
Definition: InputRouter.cc:15