Skip to content

Commit 9995505

Browse files
authored
Merge branch 'dev' into its/trk/stag
2 parents e725bd9 + bccbaff commit 9995505

File tree

180 files changed

+8166
-3515
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+8166
-3515
lines changed

.github/workflows/async-list-label.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/clean-test.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ name: Clean PR checks
1919
# Warning: the check_* keys are magic and must consist of the string
2020
# "check_" followed by the applicable check name exactly. The
2121
# "description" field is only the human-readable label for the input.
22-
'check_build/AliceO2/O2/o2/macOS':
23-
description: build/AliceO2/O2/o2/macOS
24-
type: boolean
25-
default: true
2622
'check_build/AliceO2/O2/o2/macOS-arm':
2723
description: build/AliceO2/O2/o2/macOS-arm
2824
type: boolean
@@ -31,8 +27,8 @@ name: Clean PR checks
3127
description: build/O2/fullCI
3228
type: boolean
3329
default: true
34-
'check_build/O2/o2-dataflow-cs8':
35-
description: build/O2/o2-dataflow-cs8
30+
'check_build/O2/o2-dataflow-slc9':
31+
description: build/O2/o2-dataflow-slc9
3632
type: boolean
3733
default: true
3834
'check_build/O2/o2/aarch64':

CCDB/include/CCDB/BasicCCDBManager.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ class CCDBManagerInstance
6464
bool isValid(long ts) { return ts < endvalidity && ts >= startvalidity; }
6565
bool isCacheValid(long ts)
6666
{
67-
LOGP(debug, "isCacheValid : {} : {} : {} --> {}", cacheValidFrom, ts, cacheValidUntil, ts < cacheValidUntil && ts >= cacheValidFrom);
68-
return ts < cacheValidUntil && ts >= cacheValidFrom;
67+
LOGP(debug, "isCacheValid : {} : {} : {} --> {}", cacheValidFrom, ts, cacheValidUntil, isValid(ts));
68+
return ts < cacheValidUntil && isValid(ts);
6969
}
7070
void clear()
7171
{

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
/Detectors/TPC @davidrohr @wiechula @shahor02
7474
/Detectors/TRD @f3sch @bazinski @wille10
7575
/Detectors/Upgrades @mconcas
76-
/Detectors/Upgrades/ALICE3 @mconcas @njacazio
76+
/Detectors/Upgrades/ALICE3 @mconcas @njacazio @fcolamar
7777
/Detectors/Upgrades/ITS3 @fgrosa @arossi81 @mconcas @f3sch
7878
/Detectors/ZDC @coppedis @cortesep
7979
/Detectors/CTF @shahor02

Common/MathUtils/include/MathUtils/Cartesian.h

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -284,25 +284,15 @@ GPUdi() SMatrix<T, D1, D1, MatRepSym<T, D1>> Similarity(const SMatrix<T, D1, D2,
284284
#if (!defined(GPUCA_STANDALONE) || !defined(DGPUCA_NO_ROOT)) && !defined(GPUCA_GPUCODE) && !defined(GPUCOMMONRTYPES_H_ACTIVE)
285285
std::ostream& operator<<(std::ostream& os, const o2::math_utils::Rotation2Df_t& t);
286286
std::ostream& operator<<(std::ostream& os, const o2::math_utils::Rotation2Dd_t& t);
287-
288-
namespace std
287+
namespace o2::framework
289288
{
289+
template <typename T>
290+
struct is_forced_trivially_copyable;
290291

291-
/// Defining Point3D explicitly as trivially copyable
292-
///
293-
/// std::is_trivially_copyable<ROOT::Math::Cartesian3D<T>> fails because the class
294-
/// implements a copy constructor, although it does not much more than the default copy
295-
/// constructor. We need Point3D to fulfill the condition in order to make types
296-
/// inheriting from it or using it as member can be safely detected as messageable.
297-
///
298-
/// We believe that Point3D is messageable and explicitly specialize the type trait.
299-
/// There is a unit test for checking trivial copy
300-
/// This is a workaround, we will also make suggestions to fix the cause in ROOT itself
301-
/// TODO: delete once it is fixed in ROOT
302292
template <typename T>
303-
struct is_trivially_copyable<o2::math_utils::Point3D<T>> : std::true_type {
293+
struct is_forced_trivially_copyable<o2::math_utils::Point3D<T>> : std::true_type {
304294
};
305-
} // namespace std
295+
} // namespace o2::framework
306296
#endif // Disable for GPU
307297

308298
#endif

Common/MathUtils/test/testCartesian.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ BOOST_AUTO_TEST_CASE(Cartesian_test)
7777
BOOST_AUTO_TEST_CASE(Point3D_messageable)
7878
{
7979
using ElementType = math_utils::Point3D<int>;
80-
static_assert(std::is_trivially_copyable<ElementType>::value == true);
80+
static_assert(o2::framework::is_forced_trivially_copyable<ElementType>::value == true);
8181
std::vector<ElementType> pts(10);
8282
auto makeElement = [](int idx) {
8383
return ElementType{idx, idx + 10, idx + 20};

DataFormats/Detectors/TRD/include/DataFormatsTRD/CalGain.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class CalGain
4040
if (!defaultAvg || isGoodGain(iDet))
4141
return mMPVdEdx[iDet];
4242
else {
43-
if (TMath::Abs(mMeanGain + 999.) < 1e-6)
43+
if (std::fabs(mMeanGain + 999.) < 1e-6)
4444
mMeanGain = getAverageGain();
4545
return mMeanGain;
4646
}
@@ -68,7 +68,7 @@ class CalGain
6868

6969
bool isGoodGain(int iDet) const
7070
{
71-
if (TMath::Abs(mMPVdEdx[iDet] - constants::MPVDEDXDEFAULT) > 1e-6)
71+
if (std::fabs(mMPVdEdx[iDet] - constants::MPVDEDXDEFAULT) > 1e-6)
7272
return true;
7373
else
7474
return false;

DataFormats/Detectors/TRD/include/DataFormatsTRD/CalVdriftExB.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class CalVdriftExB
4141
if (!defaultAvg || (isGoodExB(iDet) && isGoodVdrift(iDet)))
4242
return mVdrift[iDet];
4343
else {
44-
if (TMath::Abs(mMeanVdrift + 999.) < 1e-6)
44+
if (std::fabs(mMeanVdrift + 999.) < 1e-6)
4545
mMeanVdrift = getAverageVdrift();
4646
return mMeanVdrift;
4747
}
@@ -51,7 +51,7 @@ class CalVdriftExB
5151
if (!defaultAvg || (isGoodExB(iDet) && isGoodVdrift(iDet)))
5252
return mExB[iDet];
5353
else {
54-
if (TMath::Abs(mMeanExB + 999.) < 1e-6)
54+
if (std::fabs(mMeanExB + 999.) < 1e-6)
5555
mMeanExB = getAverageExB();
5656
return mMeanExB;
5757
}
@@ -102,9 +102,9 @@ class CalVdriftExB
102102
// check if value is well calibrated or not
103103
// default calibration if not enough entries
104104
// close to boundaries indicate a failed fit
105-
if (TMath::Abs(mExB[iDet] - constants::EXBDEFAULT) > 1e-6 &&
106-
TMath::Abs(mExB[iDet] - constants::EXBMIN) > 0.01 &&
107-
TMath::Abs(mExB[iDet] - constants::EXBMAX) > 0.01)
105+
if (std::fabs(mExB[iDet] - constants::EXBDEFAULT) > 1e-6 &&
106+
std::fabs(mExB[iDet] - constants::EXBMIN) > 0.01 &&
107+
std::fabs(mExB[iDet] - constants::EXBMAX) > 0.01)
108108
return true;
109109
else
110110
return false;
@@ -115,9 +115,9 @@ class CalVdriftExB
115115
// check if value is well calibrated or not
116116
// default calibration if not enough entries
117117
// close to boundaries indicate a failed fit
118-
if (TMath::Abs(mVdrift[iDet] - constants::VDRIFTDEFAULT) > 1e-6 &&
119-
TMath::Abs(mVdrift[iDet] - constants::VDRIFTMIN) > 0.1 &&
120-
TMath::Abs(mVdrift[iDet] - constants::VDRIFTMAX) > 0.1)
118+
if (std::fabs(mVdrift[iDet] - constants::VDRIFTDEFAULT) > 1e-6 &&
119+
std::fabs(mVdrift[iDet] - constants::VDRIFTMIN) > 0.1 &&
120+
std::fabs(mVdrift[iDet] - constants::VDRIFTMAX) > 0.1)
121121
return true;
122122
else
123123
return false;

DataFormats/Detectors/ZDC/include/DataFormatsZDC/FEEConfig.h

Lines changed: 0 additions & 52 deletions
This file was deleted.

DataFormats/Headers/include/Headers/DataHeader.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@ constexpr o2::header::DataDescription gDataDescriptionClusters{"CLUSTERS"};
600600
constexpr o2::header::DataDescription gDataDescriptionTracks{"TRACKS"};
601601
constexpr o2::header::DataDescription gDataDescriptionConfig{"CONFIGURATION"};
602602
constexpr o2::header::DataDescription gDataDescriptionInfo{"INFORMATION"};
603+
constexpr o2::header::DataDescription gDataDescriptionEos{"EOS"};
603604
constexpr o2::header::DataDescription gDataDescriptionROOTStreamers{"ROOT STREAMERS"};
604605
constexpr o2::header::DataDescription gDataDescriptionDISTSTF{"DISTSUBTIMEFRAME"};
605606
/// @} // end of doxygen group

0 commit comments

Comments
 (0)