Project
Loading...
Searching...
No Matches
ChannelMatching.cxx
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
13
14namespace o2::framework
15{
16
18{
19 name = std::string("out_") + std::string(DataSpecUtils::label(spec));
20}
21
23{
24 return this->name < other.name;
25}
26
28{
29 name.value = std::string("out_") + std::string(DataSpecUtils::label(spec));
30}
31
33{
34 return this->name.value < other.name.value;
35}
36
38{
39 char buffer[16];
40 auto channel = LogicalChannelRange(spec);
41 id = channel.name + (snprintf(buffer, 16, "_%d", count), buffer);
42}
43
45{
46 return this->id < other.id;
47}
48
50{
51 char buffer[16];
52 auto channel = LogicalChannelDomain(spec);
53 id.value = channel.name.value + (snprintf(buffer, 16, "_%d", count), buffer);
54}
55
57{
58 return this->id.value < other.id.value;
59}
60} // namespace o2::framework
GLint GLsizei count
Definition glcorearb.h:399
GLuint buffer
Definition glcorearb.h:655
GLuint const GLchar * name
Definition glcorearb.h:781
Defining PrimaryVertex explicitly as messageable.
Definition TFIDInfo.h:20
static std::string label(InputSpec const &spec)
bool operator<(LogicalChannelDomain const &other) const
LogicalChannelDomain(InputSpec const &spec)
LogicalChannelRange(OutputSpec const &spec)
bool operator<(LogicalChannelRange const &other) const
PhysicalChannelDomain(InputSpec const &spec, int count)
bool operator<(PhysicalChannelDomain const &other) const
bool operator<(PhysicalChannelRange const &other) const
PhysicalChannelRange(OutputSpec const &spec, int count)
VectorOfTObjectPtrs other