Project
Loading...
Searching...
No Matches
O2LongInt.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
/*
13
Due to the root bug https://github.com/root-project/root/issues/17216
14
we cannot safely use std::pair<std::int64_t,...> since it is saved in the
15
root file as long int, on the MacOS considered to be different from int64_t or
16
UInt64_t. Thererefor, we define out own O2LongInt and make sure that it is at
17
least 8 bytes long.
18
*/
19
20
#ifndef O2_FRAMEWORK_O2LONGINT_H_
21
#define O2_FRAMEWORK_O2LONGINT_H_
22
23
namespace
o2
24
{
25
26
static_assert
(
sizeof
(
long
int
) >= 8,
"long int on this machine is < 8 bytes."
);
27
28
using
O2LongInt
=
long
int
;
29
using
O2LongUInt
=
unsigned
long
int
;
30
31
}
// namespace o2
32
#endif
// O2_FRAMEWORK_O2LONGINT_H_
int
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
o2::O2LongUInt
unsigned long int O2LongUInt
Definition
O2LongInt.h:29
o2::O2LongInt
long int O2LongInt
Definition
O2LongInt.h:28
Framework
Foundation
include
Framework
O2LongInt.h
Generated on Tue Feb 25 2025 17:03:22 for Project by
1.9.8