Skip to content

Commit 07464ba

Browse files
authored
Merge branch 'AliceO2Group:master' into master
2 parents c6cbe6c + 517402f commit 07464ba

459 files changed

Lines changed: 31267 additions & 12819 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/mega-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949

5050
# Upload MegaLinter artifacts
5151
- name: Archive production artifacts
52-
uses: actions/upload-artifact@v6
52+
uses: actions/upload-artifact@v7
5353
if: success() || failure()
5454
with:
5555
name: MegaLinter reports

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
- id: trailing-whitespace
88
- id: end-of-file-fixer
99
- repo: https://github.com/pre-commit/mirrors-clang-format
10-
rev: v21.1.8 # clang-format version
10+
rev: v20.1.3 # clang-format version (keep synced with https://github.com/alisw/ali-bot/blob/master/.github/workflows/c++-code-formatting.yml)
1111
hooks:
1212
- id: clang-format
1313
- repo: https://github.com/cpplint/cpplint

ALICE3/Core/Decayer.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@
2121

2222
#include "ALICE3/Core/TrackUtilities.h"
2323

24-
#include "ReconstructionDataFormats/Track.h"
24+
#include <CommonConstants/PhysicsConstants.h>
25+
#include <MathUtils/Primitive2D.h>
26+
#include <ReconstructionDataFormats/Track.h>
2527

26-
#include <TDatabasePDG.h>
27-
#include <TDecayChannel.h>
28+
#include <TDecayChannel.h> // IWYU pragma: keep
2829
#include <TGenPhaseSpace.h>
2930
#include <TLorentzVector.h>
30-
#include <TParticlePDG.h>
3131
#include <TRandom3.h>
3232

3333
#include <array>
3434
#include <cmath>
35-
#include <string>
35+
#include <cstddef>
3636
#include <vector>
3737

3838
namespace o2

ALICE3/Core/DelphesO2LutWriter.cxx

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,27 @@
2525
#include "ALICE3/Core/FastTracker.h"
2626
#include "ALICE3/Core/TrackUtilities.h"
2727

28-
#include "TAxis.h"
29-
#include "TDatabasePDG.h"
30-
#include "TLorentzVector.h"
31-
#include "TMatrixD.h"
32-
#include "TMatrixDSymEigen.h"
33-
#include "TVectorD.h"
34-
28+
#include <Framework/Logger.h>
29+
#include <ReconstructionDataFormats/Track.h>
30+
31+
#include <TAxis.h>
32+
#include <TDatabasePDG.h>
33+
#include <TGraph.h>
34+
#include <TLorentzVector.h>
35+
#include <TMatrixD.h> // IWYU pragma: keep (do not replace with TMatrixDfwd.h)
36+
#include <TMatrixDSymEigen.h>
37+
#include <TMatrixDSymfwd.h>
38+
#include <TMatrixDfwd.h>
39+
#include <TParticlePDG.h>
40+
#include <TString.h>
41+
#include <TVectorDfwd.h>
42+
43+
#include <Rtypes.h>
44+
45+
#include <cmath>
3546
#include <cstdio>
47+
#include <cstdlib>
48+
#include <fstream>
3649
#include <string>
3750

3851
// #define USE_FWD_PARAM

ALICE3/Core/DelphesO2LutWriter.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,13 @@
2323
#include "ALICE3/Core/DelphesO2TrackSmearer.h"
2424
#include "ALICE3/Core/FastTracker.h"
2525

26-
#include "ReconstructionDataFormats/PID.h"
26+
#include <ReconstructionDataFormats/PID.h>
2727

28-
#include "TGraph.h"
28+
#include <TGraph.h>
2929

30+
#include <Rtypes.h>
31+
32+
#include <cstddef>
3033
#include <string>
3134

3235
namespace o2::fastsim

ALICE3/Core/DelphesO2TrackSmearer.cxx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,18 @@
2828
/// @author: Roberto Preghenella
2929
/// @email: preghenella@bo.infn.it
3030

31-
// #include "TrackSmearer.hh"
32-
// #include "TrackUtils.hh"
33-
// #include "TRandom.h"
34-
// #include <iostream>
35-
// #include <fstream>
36-
3731
#include "ALICE3/Core/DelphesO2TrackSmearer.h"
3832

3933
#include "ALICE3/Core/GeometryContainer.h"
4034

4135
#include <CommonConstants/PhysicsConstants.h>
4236
#include <Framework/Logger.h>
4337

44-
#include <map>
38+
#include <TRandom.h>
39+
40+
#include <cmath>
41+
#include <fstream>
42+
#include <ostream>
4543
#include <string>
4644

4745
namespace o2

ALICE3/Core/DelphesO2TrackSmearer.h

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,14 @@
2727
#include <CCDB/BasicCCDBManager.h>
2828
#include <ReconstructionDataFormats/Track.h>
2929

30-
#include <TRandom.h>
31-
30+
#include <cmath>
3231
#include <cstdio>
33-
#include <fstream>
34-
#include <iostream>
35-
#include <map>
36-
#include <string>
32+
#include <cstdlib>
3733

3834
///////////////////////////////
3935
/// DelphesO2/src/lutCovm.hh //
4036
///////////////////////////////
4137

42-
/// @author: Roberto Preghenella
43-
/// @email: preghenella@bo.infn.it
44-
45-
// #pragma // once
4638
#define LUTCOVM_VERSION 20210801
4739

4840
struct map_t {
@@ -154,17 +146,6 @@ struct lutEntry_t {
154146
/// DelphesO2/src/TrackSmearer.hh //
155147
////////////////////////////////////
156148

157-
/// @author: Roberto Preghenella
158-
/// @email: preghenella@bo.infn.it
159-
160-
// #ifndef _DelphesO2_TrackSmearer_h_
161-
// #define _DelphesO2_TrackSmearer_h_
162-
163-
// #include "ReconstructionDataFormats/Track.h"
164-
// #include "classes/DelphesClasses.h"
165-
// #include "lutCovm.hh"
166-
// #include <map>
167-
168149
using O2Track = o2::track::TrackParCov;
169150

170151
namespace o2
@@ -269,10 +250,9 @@ class TrackSmearer
269250
} // namespace delphes
270251
} // namespace o2
271252

272-
// #endif /** _DelphesO2_TrackSmearer_h_ **/
273-
274253
namespace o2::delphes
275254
{
276255
using DelphesO2TrackSmearer = TrackSmearer;
277256
}
257+
278258
#endif // ALICE3_CORE_DELPHESO2TRACKSMEARER_H_

ALICE3/Core/DetLayer.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@
2121
#include <CommonConstants/MathConstants.h>
2222
#include <Framework/Logger.h>
2323

24+
#include <TGraph.h>
25+
#include <TString.h>
26+
2427
#include <string>
25-
#include <vector>
2628

2729
namespace o2::fastsim
2830
{

ALICE3/Core/DetLayer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <TGraph.h>
2323
#include <TString.h>
2424

25+
#include <ostream>
2526
#include <string>
2627

2728
namespace o2::fastsim

ALICE3/Core/FastTracker.cxx

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,37 @@
1111

1212
#include "FastTracker.h"
1313

14-
#include "Common/Core/TableHelper.h"
15-
14+
#include "DetLayer.h"
15+
#include "GeometryContainer.h"
16+
17+
#include <CCDB/BasicCCDBManager.h>
18+
#include <CommonConstants/MathConstants.h>
19+
#include <Framework/Logger.h>
20+
#include <MathUtils/Utils.h>
21+
#include <ReconstructionDataFormats/Track.h>
1622
#include <ReconstructionDataFormats/TrackParametrization.h>
1723

18-
#include <TEnv.h>
19-
#include <THashList.h>
20-
#include <TMath.h>
21-
#include <TMatrixD.h>
24+
#include <TFile.h>
25+
#include <TGraph.h>
26+
#include <TMathBase.h>
27+
#include <TMatrixD.h> // IWYU pragma: keep (do not replace with TMatrixDfwd.h)
2228
#include <TMatrixDSymEigen.h>
29+
#include <TMatrixDSymfwd.h>
30+
#include <TMatrixDfwd.h>
2331
#include <TObject.h>
2432
#include <TRandom.h>
25-
#include <TSystem.h>
33+
#include <TString.h>
34+
#include <TVectorDfwd.h>
35+
36+
#include <Rtypes.h>
37+
#include <RtypesCore.h>
2638

27-
#include <chrono>
28-
#include <fstream>
29-
#include <map>
39+
#include <array>
40+
#include <cmath>
41+
#include <cstddef>
42+
#include <cstdint>
43+
#include <cstdlib>
3044
#include <string>
31-
#include <thread>
3245
#include <vector>
3346

3447
namespace o2

0 commit comments

Comments
 (0)