Project
Loading...
Searching...
No Matches
TDCCalibData.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_TDCCALIB_DATA_H
13#define _ZDC_TDCCALIB_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 NTDC = 10;
30 uint64_t mCTimeBeg = 0;
31 uint64_t mCTimeEnd = 0;
32 static constexpr const char* CTDC[NTDC] = {"ZNAC", "ZNAS", "ZPAC", "ZPAS", "ZEM1", "ZEM2", "ZNCC", "ZNCS", "ZPCC", "ZPCS"};
33 int entries[NTDC] = {0};
35 int getEntries(int ih) const;
36 void print() const;
37 void setCreationTime(uint64_t ctime);
39};
40
41} // namespace zdc
42} // namespace o2
43
44#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 ...
uint64_t mCTimeBeg
ZNAC, ZNAS, ZPAC, ZPAS, ZEM1, ZEM2, ZNCC, ZNCS, ZPCC, ZPCS.
TDCCalibData & operator+=(const TDCCalibData &other)
int getEntries(int ih) const
uint64_t mCTimeEnd
Time of processed time frame.
void setCreationTime(uint64_t ctime)
static constexpr const char * CTDC[NTDC]
Time of processed time frame.
static constexpr int NTDC
ClassDefNV(TDCCalibData, 1)
VectorOfTObjectPtrs other