Project
Loading...
Searching...
No Matches
NoiseParam.h
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#ifndef ZDC_NOISECALIB_PARAM_H
13#define ZDC_NOISECALIB_PARAM_H
14
15#include "ZDCBase/Constants.h"
16#include <Rtypes.h>
17#include <vector>
18
22
23namespace o2
24{
25namespace zdc
26{
27
28struct NoiseParam {
29 NoiseParam() = default;
30 float noise[NChannels] = {0}; // RMS of noise
31 uint64_t entries[NChannels] = {0}; // Number of processed entries
32 void setCalib(uint32_t ich, float val);
33 float getCalib(uint32_t ich) const;
34 void print() const;
35
37};
38
39} // namespace zdc
40} // namespace o2
41
42#endif
GLuint GLfloat * val
Definition glcorearb.h:1582
struct o2::upgrades_utils::@463 zdc
structure to keep FT0 information
constexpr int NChannels
Definition Constants.h:65
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
ClassDefNV(NoiseParam, 1)
uint64_t entries[NChannels]
Definition NoiseParam.h:31
float getCalib(uint32_t ich) const
float noise[NChannels]
Definition NoiseParam.h:30
void setCalib(uint32_t ich, float val)
void print() const