L1Trigger
TrackFindingTracklet
interface
InputLinkMemory.h
Go to the documentation of this file.
1
// This class holds a list of stubs for an input link.
2
// This modules 'owns' the pointers to the stubs. All subsequent modules that handles stubs uses a pointer to the original stored here.
3
#ifndef L1Trigger_TrackFindingTracklet_interface_InputLinkMemory_h
4
#define L1Trigger_TrackFindingTracklet_interface_InputLinkMemory_h
5
6
#include "
L1Trigger/TrackFindingTracklet/interface/MemoryBase.h
"
7
8
#include <vector>
9
10
namespace
trklet
{
11
12
class
Settings;
13
class
Globals;
14
class
Stub;
15
16
class
InputLinkMemory
:
public
MemoryBase
{
17
public
:
18
InputLinkMemory
(
std::string
name
,
Settings
const
& settings,
double
,
double
);
19
20
~InputLinkMemory
()
override
=
default
;
21
22
void
addStub
(
Stub
* stub);
23
24
unsigned
int
nStubs
()
const
{
return
stubs_
.size(); }
25
26
Stub
*
getStub
(
unsigned
int
i
) {
return
stubs_
[
i
]; }
27
28
void
writeStubs
(
bool
first
,
unsigned
int
iSector);
29
30
void
clean
()
override
;
31
32
private
:
33
std::vector<Stub*>
stubs_
;
34
};
35
36
};
// namespace trklet
37
#endif
first
auto first
Definition:
CAHitNtupletGeneratorKernelsImpl.h:127
trklet::InputLinkMemory::writeStubs
void writeStubs(bool first, unsigned int iSector)
Definition:
InputLinkMemory.cc:19
mps_fire.i
i
Definition:
mps_fire.py:429
trklet::Settings
Definition:
Settings.h:52
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
MemoryBase.h
trklet::InputLinkMemory::~InputLinkMemory
~InputLinkMemory() override=default
trklet::InputLinkMemory::addStub
void addStub(Stub *stub)
Definition:
InputLinkMemory.cc:17
trklet::InputLinkMemory::clean
void clean() override
Definition:
InputLinkMemory.cc:31
trklet::InputLinkMemory::stubs_
std::vector< Stub * > stubs_
Definition:
InputLinkMemory.h:33
trklet::MemoryBase
Definition:
MemoryBase.h:13
trklet::Stub
Definition:
Stub.h:18
trklet::InputLinkMemory::nStubs
unsigned int nStubs() const
Definition:
InputLinkMemory.h:24
trklet::InputLinkMemory
Definition:
InputLinkMemory.h:16
trklet
Definition:
AllInnerStubsMemory.h:10
trklet::InputLinkMemory::InputLinkMemory
InputLinkMemory(std::string name, Settings const &settings, double, double)
Definition:
InputLinkMemory.cc:15
trklet::InputLinkMemory::getStub
Stub * getStub(unsigned int i)
Definition:
InputLinkMemory.h:26
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
Generated for CMSSW Reference Manual by
1.8.14