Project
Loading...
Searching...
No Matches
DsChannelId.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.
11
12
#include "
DataFormatsMCH/DsChannelGroup.h
"
13
#include <fmt/core.h>
14
15
namespace
o2::mch
16
{
17
std::string
DsChannelId::asString
()
const
18
{
19
return
fmt::format(
"solarid {:4d} elinkid {:4d} ch {:2d}"
,
20
getSolarId
(),
getElinkId
(),
getChannel
());
21
}
22
}
// namespace o2::mch
DsChannelGroup.h
o2::mch::DsChannelId::asString
std::string asString() const
Definition
DsChannelId.cxx:17
o2::mch::DsChannelId::getElinkId
uint8_t getElinkId() const
Definition
DsChannelId.h:48
o2::mch::DsChannelId::getSolarId
uint16_t getSolarId() const
Definition
DsChannelId.h:47
o2::mch::DsChannelId::getChannel
uint8_t getChannel() const
Definition
DsChannelId.h:51
o2::mch
Definition
SimTraits.h:155
DataFormats
Detectors
MUON
MCH
src
DsChannelId.cxx
Generated on Tue Feb 25 2025 23:16:10 for Project by
1.9.8