L1Trigger
TrackFindingTracklet
interface
DTCLink.h
Go to the documentation of this file.
1
// This class holds a list of stubs that are in a given layer and DCT region
2
#ifndef L1Trigger_TrackFindingTracklet_interface_DTCLink_h
3
#define L1Trigger_TrackFindingTracklet_interface_DTCLink_h
4
5
#include "
L1Trigger/TrackFindingTracklet/interface/L1TStub.h
"
6
#include "
L1Trigger/TrackFindingTracklet/interface/Stub.h
"
7
8
namespace
trklet
{
9
10
class
DTCLink
{
11
public
:
12
DTCLink
(
double
phimin
,
double
phimax
);
13
14
~DTCLink
() =
default
;
15
16
void
addStub
(std::pair<Stub*, L1TStub*> stub);
17
18
bool
inRange
(
double
phi,
bool
overlaplayer);
19
20
unsigned
int
nStubs
()
const
{
return
stubs_
.size(); }
21
22
Stub
*
getFPGAStub
(
unsigned
int
i
)
const
{
return
stubs_
[
i
].first; }
23
L1TStub
*
getL1TStub
(
unsigned
int
i
)
const
{
return
stubs_
[
i
].second; }
24
std::pair<Stub*, L1TStub*>
getStub
(
unsigned
int
i
)
const
{
return
stubs_
[
i
]; }
25
26
void
clean
() {
stubs_
.clear(); }
27
28
private
:
29
double
phimin_
;
30
double
phimax_
;
31
std::vector<std::pair<Stub*, L1TStub*> >
stubs_
;
32
};
33
};
// namespace trklet
34
#endif
L1TStub.h
mps_fire.i
i
Definition:
mps_fire.py:355
trklet::DTCLink::phimax_
double phimax_
Definition:
DTCLink.h:30
phimin
float phimin
Definition:
ReggeGribovPartonMCHadronizer.h:107
trklet::L1TStub
Definition:
L1TStub.h:12
trklet::DTCLink::nStubs
unsigned int nStubs() const
Definition:
DTCLink.h:20
trklet::DTCLink::clean
void clean()
Definition:
DTCLink.h:26
trklet::Stub
Definition:
Stub.h:16
trklet::DTCLink::DTCLink
DTCLink(double phimin, double phimax)
Definition:
DTCLink.cc:6
trklet::DTCLink::phimin_
double phimin_
Definition:
DTCLink.h:29
trklet::DTCLink::inRange
bool inRange(double phi, bool overlaplayer)
Definition:
DTCLink.cc:18
trklet::DTCLink
Definition:
DTCLink.h:10
trklet::DTCLink::addStub
void addStub(std::pair< Stub *, L1TStub * > stub)
Definition:
DTCLink.cc:16
trklet::DTCLink::stubs_
std::vector< std::pair< Stub *, L1TStub * > > stubs_
Definition:
DTCLink.h:31
trklet
Definition:
AllProjectionsMemory.h:9
phimax
float phimax
Definition:
ReggeGribovPartonMCHadronizer.h:106
trklet::DTCLink::getL1TStub
L1TStub * getL1TStub(unsigned int i) const
Definition:
DTCLink.h:23
trklet::DTCLink::getFPGAStub
Stub * getFPGAStub(unsigned int i) const
Definition:
DTCLink.h:22
trklet::DTCLink::~DTCLink
~DTCLink()=default
trklet::DTCLink::getStub
std::pair< Stub *, L1TStub * > getStub(unsigned int i) const
Definition:
DTCLink.h:24
Stub.h
Generated for CMSSW Reference Manual by
1.8.16