src
L1Trigger
TrackFindingTracklet
interface
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
5
#include "
L1Trigger/TrackFindingTracklet/interface/ProcessBase.h
"
6
#include "
L1Trigger/TrackFindingTracklet/interface/FPGAWord.h
"
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
33
DTCLinkMemory
*
dtcstubs_
;
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
trklet::InputRouter::execute
void execute()
Definition:
InputRouter.cc:54
trklet::DTCLinkMemory
Definition:
DTCLinkMemory.h:17
trklet::InputRouter::addOutput
void addOutput(MemoryBase *memory, std::string output) override
Definition:
InputRouter.cc:18
trklet::Settings
Definition:
Settings.h:56
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
input
static std::string const input
Definition:
EdmProvDump.cc:50
FPGAWord.h
trklet::InputRouter::addInput
void addInput(MemoryBase *memory, std::string input) override
Definition:
InputRouter.cc:41
trklet::InputRouter::~InputRouter
~InputRouter() override=default
trklet::InputRouter::irstubs_
std::vector< std::pair< std::pair< unsigned int, unsigned int >, InputLinkMemory * > > irstubs_
Definition:
InputRouter.h:36
trklet::InputRouter::dtcstubs_
DTCLinkMemory * dtcstubs_
Definition:
InputRouter.h:33
memory
Definition:
HGCRecHitSoA.h:20
trklet::Globals
Definition:
Globals.h:30
ProcessBase.h
trklet::ProcessBase
Definition:
ProcessBase.h:12
trklet::MemoryBase
Definition:
MemoryBase.h:13
output
Definition:
output.py:1
trklet::InputLinkMemory
Definition:
InputLinkMemory.h:16
trklet::InputRouter
Definition:
InputRouter.h:20
trklet
Definition:
AllInnerStubsMemory.h:10
trklet::InputRouter::InputRouter
InputRouter(std::string name, Settings const &settings, Globals *global)
Definition:
InputRouter.cc:15
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
Generated for CMSSW Reference Manual by
1.8.14