Project
Loading...
Searching...
No Matches
ZDCEnergy.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 "
DataFormatsZDC/ZDCEnergy.h
"
13
14
using namespace
o2::zdc
;
15
16
void
ZDCEnergy::print
()
const
17
{
18
auto
id
= this->
ch
();
19
printf(
"%2d (%s): %9u = %9.2f\n"
,
id
,
channelName
(
id
),
value
&
EnergyChMask
,
energy
());
20
}
ZDCEnergy.h
Container class to store energy released in the ZDC.
value
GLsizei const GLfloat * value
Definition
glcorearb.h:819
o2::zdc
Definition
ZDCConstants.h:23
o2::zdc::EnergyChMask
constexpr uint32_t EnergyChMask
Definition
Constants.h:86
o2::zdc::channelName
constexpr const char * channelName(int channel)
Definition
Constants.h:318
o2::zdc::ZDCEnergy::print
void print() const
Definition
ZDCEnergy.cxx:16
o2::zdc::ZDCEnergy::energy
float energy() const
Definition
ZDCEnergy.h:54
o2::zdc::ZDCEnergy::ch
uint8_t ch() const
Definition
ZDCEnergy.h:58
DataFormats
Detectors
ZDC
src
ZDCEnergy.cxx
Generated on Tue Feb 25 2025 23:16:11 for Project by
1.9.8