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