Project
Loading...
Searching...
No Matches
BaselineParam.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_BASELINECALIB_PARAM_H
13#define ZDC_BASELINECALIB_PARAM_H
14
15#include "ZDCBase/Constants.h"
16#include <Rtypes.h>
17#include <vector>
18
22
23namespace o2
24{
25namespace zdc
26{
27
29
31 std::array<bool, NChannels> modified{};
32 float baseline[NChannels] = {}; // configuration per channel
33 void setCalib(uint32_t ich, float val, bool ismodified = true);
34 float getCalib(uint32_t ich) const;
35 void print(bool printall = true) const;
36
38};
39
40} // namespace zdc
41} // namespace o2
42
43#endif
void print() const
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 ...
float baseline[NChannels]
float getCalib(uint32_t ich) const
ClassDefNV(BaselineParam, 1)
void setCalib(uint32_t ich, float val, bool ismodified=true)
std::array< bool, NChannels > modified