Project
Loading...
Searching...
No Matches
InterCalibData.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_INTERCALIB_DATA_H
13#define _ZDC_INTERCALIB_DATA_H
14
15#include "ZDCBase/Constants.h"
16#include <array>
17#include <Rtypes.h>
18
22
23namespace o2
24{
25namespace zdc
26{
27
29 static constexpr int NPAR = 6;
30 static constexpr int NH = 9;
31 double mSum[NH][NPAR][NPAR] = {0};
32 uint64_t mCTimeBeg = 0;
33 uint64_t mCTimeEnd = 0;
34 static constexpr const char* DN[NH] = {"ZNA", "ZPA", "ZNC", "ZPC", "ZEM", "ZNI", "ZPI", "ZPAX", "ZPCX"};
36 int getEntries(int ih) const;
37 void print() const;
38 void setCreationTime(uint64_t ctime);
40};
41
42} // namespace zdc
43} // namespace o2
44
45#endif
struct o2::upgrades_utils::@463 zdc
structure to keep FT0 information
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
int getEntries(int ih) const
double mSum[NH][NPAR][NPAR]
ZNA, ZPA, ZNC, ZPC, ZEM, ZNI, ZPI, ZPAX, ZPCX.
ClassDefNV(InterCalibData, 2)
static constexpr int NH
Dimension of matrix (1 + 4 coefficients + offset)
uint64_t mCTimeEnd
Time of processed time frame.
static constexpr int NPAR
static constexpr const char * DN[NH]
Time of processed time frame.
uint64_t mCTimeBeg
Cumulated sums.
void setCreationTime(uint64_t ctime)
InterCalibData & operator+=(const InterCalibData &other)
VectorOfTObjectPtrs other