src
L1Trigger
DemonstratorTools
src
LinkId.cc
Go to the documentation of this file.
1
2
#include "
L1Trigger/DemonstratorTools/interface/LinkId.h
"
3
4
namespace
l1t::demo
{
5
6
bool
operator<
(
const
LinkId
& x,
const
LinkId
& y) {
7
int
c
=
x
.interface.compare(y.interface);
8
return
c
== 0 ? (
x
.channel < y.channel) : (
c
< 0);
9
}
10
11
}
// namespace l1t::demo
l1t::demo::LinkId
Logical ID for link within any given time slice (e.g. ["tracks", 0] -> ["tracks", 17] for links from ...
Definition:
LinkId.h:10
l1t::demo::operator<
bool operator<(const LinkId &, const LinkId &)
Definition:
LinkId.cc:6
LinkId.h
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:56
l1t::demo
Definition:
BoardData.h:10
x
float x
Definition:
beamSpotDipStandalone.cc:55
Generated for CMSSW Reference Manual by
1.8.14