Skip to content

Commit 37aa59f

Browse files
authored
Merge branch 'AliceO2Group:dev' into fd3_digits
2 parents 6e5fb5a + 081240b commit 37aa59f

118 files changed

Lines changed: 2721 additions & 1071 deletions

File tree

Some content is hidden

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

.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':
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

.skills/create-a-new-file/SKILL.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: create-a-new-file
3+
description: describes how to create a new file
4+
---
5+
6+
## Copyright statements
7+
8+
The copyright statement for ALICE / O2 is found in ./o2-copyright-statement.md. It should be at the beginning of
9+
the new file using the proper commenting syntax for the given programming language. For example in C++ it should be commented via
10+
multiline comments:
11+
12+
``` C++
13+
// Copyright 2019-<current-year> CERN and copyright holders of ALICE O2.
14+
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
15+
// ...
16+
```
17+
18+
The only part which needs to be adapted by you is the `<current-year>` which you need to replace with the actual current year.
19+
20+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Copyright 2019-<current-year> 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+

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
{

CLAUDE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
This is the main repository of the ALICE Experiment Simulation, Reconstruction and Analysis Framework.
2+
3+
The skills specific to developing code for this repository can be found in
4+
the `.skills/` folder of this project.
5+

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)