Project
Loading...
Searching...
No Matches
BaselineCalibConfig.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 O2_ZDC_BASELINECALIBCONFIG_H
13#define O2_ZDC_BASELINECALIBCONFIG_H
14
15#include "ZDCBase/Constants.h"
16#include <Rtypes.h>
17#include <string>
18
22
23namespace o2
24{
25namespace zdc
26{
28
30
33 uint32_t min_e[NChannels] = {0};
34 std::string desc = "";
35
36 void print() const;
37 void resetCuts();
38 void setMinEntries(uint32_t val);
39 void setMinEntries(int ih, uint32_t val);
40 void setCutLow(int val);
41 void setCutHigh(int val);
42 void setCutLow(int ih, int val);
43 void setCutHigh(int ih, int val);
44 void setCuts(int low, int high);
45 void setCuts(int ih, int low, int high);
46 void setDescription(std::string d) { desc = d; }
47
49};
50} // namespace zdc
51} // namespace o2
52
53#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 ...
int cutHigh[NChannels]
Baseline cut low.
ClassDefNV(BaselineCalibConfig, 1)
uint32_t min_e[NChannels]
Baseline cut high.
std::string desc
Minimum entries to compute baseline.
void setCuts(int low, int high)