L1Trigger
TrackFindingTracklet
interface
VMProjectionsMemory.h
Go to the documentation of this file.
1
// VMProjectionsMemory: Class to hold a reduced format of the tracklet projections (from ProjectionRouter)
2
#ifndef L1Trigger_TrackFindingTracklet_interface_VMProjectionsMemory_h
3
#define L1Trigger_TrackFindingTracklet_interface_VMProjectionsMemory_h
4
5
#include "
L1Trigger/TrackFindingTracklet/interface/MemoryBase.h
"
6
7
#include <vector>
8
9
namespace
trklet
{
10
11
class
Settings;
12
class
Tracklet;
13
14
class
VMProjectionsMemory
:
public
MemoryBase
{
15
public
:
16
VMProjectionsMemory
(
std::string
name
,
Settings
const
& settings,
unsigned
int
iSector);
17
18
~VMProjectionsMemory
()
override
=
default
;
19
20
void
addTracklet
(
Tracklet
* tracklet,
unsigned
int
allprojindex);
21
22
unsigned
int
nTracklets
()
const
{
return
tracklets_
.size(); }
23
24
Tracklet
*
getTracklet
(
unsigned
int
i
) {
return
tracklets_
[
i
].first; }
25
int
getAllProjIndex
(
unsigned
int
i
)
const
{
return
tracklets_
[
i
].second; }
26
27
void
writeVMPROJ
(
bool
first
);
28
29
void
clean
()
override
{
tracklets_
.clear(); }
30
31
int
layer
()
const
{
return
layer_
; }
32
int
disk
()
const
{
return
disk_
; }
33
34
private
:
35
int
layer_
;
36
int
disk_
;
37
std::vector<std::pair<Tracklet*, unsigned int> >
tracklets_
;
38
};
39
40
};
// namespace trklet
41
#endif
trklet::VMProjectionsMemory::tracklets_
std::vector< std::pair< Tracklet *, unsigned int > > tracklets_
Definition:
VMProjectionsMemory.h:37
mps_fire.i
i
Definition:
mps_fire.py:428
trklet::VMProjectionsMemory::disk
int disk() const
Definition:
VMProjectionsMemory.h:32
trklet::VMProjectionsMemory::clean
void clean() override
Definition:
VMProjectionsMemory.h:29
trklet::VMProjectionsMemory::nTracklets
unsigned int nTracklets() const
Definition:
VMProjectionsMemory.h:22
trklet::VMProjectionsMemory::disk_
int disk_
Definition:
VMProjectionsMemory.h:36
trklet::Settings
Definition:
Settings.h:26
dqmdumpme.first
first
Definition:
dqmdumpme.py:55
trklet::Tracklet
Definition:
Tracklet.h:28
trklet::VMProjectionsMemory
Definition:
VMProjectionsMemory.h:14
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
trklet::VMProjectionsMemory::getAllProjIndex
int getAllProjIndex(unsigned int i) const
Definition:
VMProjectionsMemory.h:25
trklet::VMProjectionsMemory::~VMProjectionsMemory
~VMProjectionsMemory() override=default
trklet::MemoryBase
Definition:
MemoryBase.h:13
trklet::VMProjectionsMemory::layer
int layer() const
Definition:
VMProjectionsMemory.h:31
trklet
Definition:
AllProjectionsMemory.h:9
trklet::VMProjectionsMemory::VMProjectionsMemory
VMProjectionsMemory(std::string name, Settings const &settings, unsigned int iSector)
Definition:
VMProjectionsMemory.cc:9
trklet::VMProjectionsMemory::writeVMPROJ
void writeVMPROJ(bool first)
Definition:
VMProjectionsMemory.cc:23
MemoryBase.h
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
trklet::VMProjectionsMemory::getTracklet
Tracklet * getTracklet(unsigned int i)
Definition:
VMProjectionsMemory.h:24
trklet::VMProjectionsMemory::addTracklet
void addTracklet(Tracklet *tracklet, unsigned int allprojindex)
Definition:
VMProjectionsMemory.cc:14
trklet::VMProjectionsMemory::layer_
int layer_
Definition:
VMProjectionsMemory.h:35
Generated for CMSSW Reference Manual by
1.8.16