CMS 3D CMS Logo

LinkId.cc
Go to the documentation of this file.
1 
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
Logical ID for link within any given time slice (e.g. ["tracks", 0] -> ["tracks", 17] for links from ...
Definition: LinkId.h:10
bool operator<(const LinkId &, const LinkId &)
Definition: LinkId.cc:6
float x