Project
Loading...
Searching...
No Matches
GlobalOffsetsInfoObject.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_GLOBALOFFSETSINFOOBJECT_H
13#define O2_GLOBALOFFSETSINFOOBJECT_H
14
15#include "Rtypes.h"
16
17namespace o2
18{
19namespace ft0
20{
22{
23 public:
24 GlobalOffsetsInfoObject(short t0AC, uint64_t timestamp) : mT0AC(t0AC), mTimeStamp(timestamp){};
27
28 void setT0AC(short t0AC) { mT0AC = t0AC; }
29 [[nodiscard]] short getT0AC() const { return mT0AC; }
30
31 [[nodiscard]] int64_t getTimeStamp() const { return mTimeStamp; }
32 void setTimeStamp(int64_t timestamp) { mTimeStamp = timestamp; }
33
34 private:
35 short mT0AC;
36 uint64_t mTimeStamp;
37
38 ClassDefNV(GlobalOffsetsInfoObject, 1);
39};
40} // namespace ft0
41} // namespace o2
42
43#endif //O2_GLOBALOFFSETSINFOOBJECT_H
GlobalOffsetsInfoObject(short t0AC, uint64_t timestamp)
struct o2::upgrades_utils::@462 ft0
structure to keep V0C information
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...