L1Trigger
TrackFindingTracklet
interface
FullMatchMemory.h
Go to the documentation of this file.
1
#ifndef L1Trigger_TrackFindingTracklet_interface_FullMatchMemory_h
2
#define L1Trigger_TrackFindingTracklet_interface_FullMatchMemory_h
3
4
#include "
L1Trigger/TrackFindingTracklet/interface/MemoryBase.h
"
5
6
#include <vector>
7
#include <string>
8
#include <utility>
9
10
namespace
trklet
{
11
12
class
Settings;
13
class
Stub;
14
class
L1TStub;
15
class
Tracklet;
16
17
class
FullMatchMemory
:
public
MemoryBase
{
18
public
:
19
FullMatchMemory
(
std::string
name
,
Settings
const
& settings,
unsigned
int
iSector);
20
21
~FullMatchMemory
()
override
=
default
;
22
23
void
addMatch
(
Tracklet
* tracklet,
const
Stub
* stub);
24
25
unsigned
int
nMatches
()
const
{
return
matches_
.size(); }
26
27
Tracklet
*
getTracklet
(
unsigned
int
i
) {
return
matches_
[
i
].first; }
28
29
std::pair<Tracklet*, const Stub*>
getMatch
(
unsigned
int
i
) {
return
matches_
[
i
]; }
30
31
void
clean
()
override
{
matches_
.clear(); }
32
33
void
writeMC
(
bool
first
);
34
35
int
layer
()
const
{
return
layer_
; }
36
int
disk
()
const
{
return
disk_
; }
37
38
private
:
39
std::vector<std::pair<Tracklet*, const Stub*> >
matches_
;
40
41
int
layer_
;
42
int
disk_
;
43
};
44
45
};
// namespace trklet
46
#endif
trklet::FullMatchMemory::~FullMatchMemory
~FullMatchMemory() override=default
mps_fire.i
i
Definition:
mps_fire.py:355
trklet::FullMatchMemory::disk_
int disk_
Definition:
FullMatchMemory.h:42
trklet::FullMatchMemory::writeMC
void writeMC(bool first)
Definition:
FullMatchMemory.cc:41
trklet::FullMatchMemory::nMatches
unsigned int nMatches() const
Definition:
FullMatchMemory.h:25
trklet::Settings
Definition:
Settings.h:26
trklet::FullMatchMemory::addMatch
void addMatch(Tracklet *tracklet, const Stub *stub)
Definition:
FullMatchMemory.cc:18
dqmdumpme.first
first
Definition:
dqmdumpme.py:55
trklet::Tracklet
Definition:
Tracklet.h:28
trklet::FullMatchMemory::getMatch
std::pair< Tracklet *, const Stub * > getMatch(unsigned int i)
Definition:
FullMatchMemory.h:29
trklet::FullMatchMemory::layer_
int layer_
Definition:
FullMatchMemory.h:41
trklet::Stub
Definition:
Stub.h:16
trklet::FullMatchMemory::disk
int disk() const
Definition:
FullMatchMemory.h:36
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
trklet::MemoryBase
Definition:
MemoryBase.h:13
trklet::FullMatchMemory::layer
int layer() const
Definition:
FullMatchMemory.h:35
trklet
Definition:
AllProjectionsMemory.h:9
trklet::FullMatchMemory::clean
void clean() override
Definition:
FullMatchMemory.h:31
trklet::FullMatchMemory::FullMatchMemory
FullMatchMemory(std::string name, Settings const &settings, unsigned int iSector)
Definition:
FullMatchMemory.cc:11
trklet::FullMatchMemory::getTracklet
Tracklet * getTracklet(unsigned int i)
Definition:
FullMatchMemory.h:27
MemoryBase.h
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
trklet::FullMatchMemory
Definition:
FullMatchMemory.h:17
trklet::FullMatchMemory::matches_
std::vector< std::pair< Tracklet *, const Stub * > > matches_
Definition:
FullMatchMemory.h:39
Generated for CMSSW Reference Manual by
1.8.16