Skip to content

Commit 204301b

Browse files
Merge branch 'master' into pwglf-antinuclei-mod
2 parents 12479bb + 6dd28c1 commit 204301b

File tree

304 files changed

+13875
-6819
lines changed

Some content is hidden

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

304 files changed

+13875
-6819
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v5.0.0
5+
rev: v6.0.0
66
hooks:
77
- id: trailing-whitespace
88
- id: end-of-file-fixer
99
- repo: https://github.com/pre-commit/mirrors-clang-format
10-
rev: v20.1.5 # clang-format version
10+
rev: v21.1.8 # clang-format version
1111
hooks:
1212
- id: clang-format
1313
- repo: https://github.com/cpplint/cpplint

ALICE3/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ add_subdirectory(Core)
1414
# add_subdirectory(DataModel)
1515
add_subdirectory(Tasks)
1616
add_subdirectory(TableProducer)
17-
# add_subdirectory(Tools)
17+
add_subdirectory(Macros)

ALICE3/Macros/CMakeLists.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
install(FILES Configuration/a3geo.ini
13+
Configuration/a3geometry_v2.ini
14+
Configuration/a3geometry_v4.ini
15+
PERMISSIONS GROUP_READ GROUP_EXECUTE OWNER_EXECUTE OWNER_WRITE OWNER_READ WORLD_EXECUTE WORLD_READ
16+
DESTINATION share/alice3/)
17+
Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
# Example of the ALICE3 geometry file in TEnv format
2+
# Example of layers configuration for FastTracker
3+
# Each layer is defined by a set of parameters
4+
# Format:
5+
# <layer_name>.<parameter>: <value>
6+
# Example:
7+
# layer1.r: 0.5 # radius in cm
8+
# layer1.z: 250 # half-length in cm
9+
# layer1.x0: 0.001 # radiation length
10+
# layer1.xrho: 0 # density in g/cm^2
11+
# layer1.resRPhi: 0.0001 # resolution in R-Phi in cm
12+
# layer1.resZ: 0.0001 # resolution in Z in cm
13+
# layer1.eff: 1.0 # efficiency (0 to 1)
14+
# layer1.type: 1 # type of layer (0: passive, 1: active)
15+
# layer1.deadPhiRegions: /path/to/dead_regions.root # optional dead regions file
16+
17+
218
bpipe0.r: 0.48
319
bpipe0.z: 250
420
bpipe0.x0: 0.001592
@@ -7,7 +23,6 @@ bpipe0.resRPhi: 0.0
723
bpipe0.resZ: 0.0
824
bpipe0.eff: 0.0
925
bpipe0.type: 0
10-
bpipe0.deadPhiRegions: /tmp/asd.root
1126

1227
B00.r: 0.5
1328
B00.z: 250
@@ -144,5 +159,4 @@ B10.resZ: 0.001
144159
B10.eff: 1.
145160
B10.type: 1
146161

147-
148-
162+
global.lutEl: /tmp/lutCovm.el.20kG.rmin20.geometry_v2.dat
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
2+
3+
bpipe0.r: 0.48
4+
bpipe0.z: 250
5+
bpipe0.x0: 0.00042
6+
bpipe0.xrho: 2.772e-02
7+
bpipe0.resRPhi: 0.0f
8+
bpipe0.resZ: 0.0f
9+
bpipe0.eff: 0.0f
10+
bpipe0.type: 0
11+
12+
13+
B00.r: 0.5
14+
B00.z: 250
15+
B00.x0: 0.001
16+
B00.xrho: 2.3292e-02
17+
B00.resRPhi: 0.00025
18+
B00.resZ: 0.00025
19+
B00.eff: 1.00
20+
B00.type: 1
21+
22+
B01.r: 1.2
23+
B01.z: 250
24+
B01.x0: 0.001
25+
B01.xrho: 2.3292e-02
26+
B01.resRPhi: 0.00025
27+
B01.resZ: 0.00025
28+
B01.eff: 1.00
29+
B01.type: 1
30+
31+
B02.r: 2.5
32+
B02.z: 250
33+
B02.x0: 0.001
34+
B02.xrho: 2.3292e-02
35+
B02.resRPhi: 0.00025
36+
B02.resZ: 0.00025
37+
B02.eff: 1.00
38+
B02.type: 1
39+
40+
bpipe1.r: 3.7
41+
bpipe1.z: 250
42+
bpipe1.x0: 0.0014
43+
bpipe1.xrho: 9.24e-02
44+
bpipe1.resRPhi: 0.0f
45+
bpipe1.resZ: 0.0f
46+
bpipe1.eff: 0.0f
47+
bpipe1.type: 0
48+
49+
B03.r: 3.75
50+
B03.z: 250
51+
B03.x0: 0.01
52+
B03.xrho: 2.3292e-01
53+
B03.resRPhi: 0.001
54+
B03.resZ: 0.001
55+
B03.eff: 1.00
56+
B03.type: 1
57+
58+
B04.r: 7.
59+
B04.z: 250
60+
B04.x0: 0.01
61+
B04.xrho: 2.3292e-01
62+
B04.resRPhi: 0.001
63+
B04.resZ: 0.001
64+
B04.eff: 1.00
65+
B04.type: 1
66+
67+
B05.r: 12.
68+
B05.z: 250
69+
B05.x0: 0.01
70+
B05.xrho: 2.3292e-01
71+
B05.resRPhi: 0.001
72+
B05.resZ: 0.001
73+
B05.eff: 1.00
74+
B05.type: 1
75+
76+
B06.r: 20.
77+
B06.z: 250
78+
B06.x0: 0.01
79+
B06.xrho: 2.3292e-01
80+
B06.resRPhi: 0.001
81+
B06.resZ: 0.001
82+
B06.eff: 1.00
83+
B06.type: 1
84+
85+
B07.r: 30.
86+
B07.z: 250
87+
B07.x0: 0.01
88+
B07.xrho: 2.3292e-01
89+
B07.resRPhi: 0.001
90+
B07.resZ: 0.001
91+
B07.eff: 1.00
92+
B07.type: 1
93+
94+
B08.r: 45.
95+
B08.z: 250
96+
B08.x0: 0.01
97+
B08.xrho: 2.3292e-01
98+
B08.resRPhi: 0.001
99+
B08.resZ: 0.001
100+
B08.eff: 1.00
101+
B08.type: 1
102+
103+
B09.r: 60.
104+
B09.z: 250
105+
B09.x0: 0.01
106+
B09.xrho: 2.3292e-01
107+
B09.resRPhi: 0.001
108+
B09.resZ: 0.001
109+
B09.eff: 1.00
110+
B09.type: 1
111+
112+
B10.r: 80.
113+
B10.z: 250
114+
B10.x0: 0.01
115+
B10.xrho: 2.3292e-01
116+
B10.resRPhi: 0.001
117+
B10.resZ: 0.001
118+
B10.eff: 1.00
119+
B10.type: 1
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
bpipe0.r: 0.48
2+
bpipe0.z: 250
3+
bpipe0.x0: 0.00042
4+
bpipe0.xrho: 2.772e-02
5+
bpipe0.resRPhi: 0.0f
6+
bpipe0.resZ: 0.0f
7+
bpipe0.eff: 0.0f
8+
bpipe0.type: 0
9+
10+
ddd0.r: 0.5
11+
ddd0.z: 250
12+
ddd0.x0: 0.001
13+
ddd0.xrho: 1.1646e-02
14+
ddd0.resRPhi: 0.00025
15+
ddd0.resZ: 0.00025
16+
ddd0.eff: 1.00
17+
ddd0.type: 1
18+
19+
20+
ddd1.r: 1.2
21+
ddd1.z: 250
22+
ddd1.x0: 0.001
23+
ddd1.xrho: 1.1646e-02
24+
ddd1.resRPhi: 0.00025
25+
ddd1.resZ: 0.00025
26+
ddd1.eff: 1.00
27+
ddd1.type: 1
28+
29+
30+
ddd2.r: 2.5
31+
ddd2.z: 250
32+
ddd2.x0: 0.001
33+
ddd2.xrho: 1.1646e-02
34+
ddd2.resRPhi: 0.00025
35+
ddd2.resZ: 0.00025
36+
ddd2.eff: 1.00
37+
ddd2.type: 1
38+
39+
bpipe1.r: 5.7
40+
bpipe1.z: 250
41+
bpipe1.x0: 0.0014
42+
bpipe1.xrho: 9.24e-02
43+
bpipe1.resRPhi: 0.0f
44+
bpipe1.resZ: 0.0f
45+
bpipe1.eff: 0.0f
46+
bpipe1.type: 0
47+
48+
ddd3.r: 7.
49+
ddd3.z: 250
50+
ddd3.x0: 0.005
51+
ddd3.xrho: 1.1646e-01
52+
ddd3.resRPhi: 0.001
53+
ddd3.resZ: 0.001
54+
ddd3.eff: 1.00
55+
ddd3.type: 1
56+
57+
ddd4.r: 10.
58+
ddd4.z: 250
59+
ddd4.x0: 0.005
60+
ddd4.xrho: 1.1646e-01
61+
ddd4.resRPhi: 0.001
62+
ddd4.resZ: 0.001
63+
ddd4.eff: 1.00
64+
ddd4.type: 1
65+
66+
ddd5.r: 13.
67+
ddd5.z: 250
68+
ddd5.x0: 0.005
69+
ddd5.xrho: 1.1646e-01
70+
ddd5.resRPhi: 0.001
71+
ddd5.resZ: 0.001
72+
ddd5.eff: 1.00
73+
ddd5.type: 1
74+
75+
ddd6.r: 16.
76+
ddd6.z: 250
77+
ddd6.x0: 0.005
78+
ddd6.xrho: 1.1646e-01
79+
ddd6.resRPhi: 0.001
80+
ddd6.resZ: 0.001
81+
ddd6.eff: 1.00
82+
ddd6.type: 1
83+
84+
ddd7.r: 25.
85+
ddd7.z: 250
86+
ddd7.x0: 0.005
87+
ddd7.xrho: 1.1646e-01
88+
ddd7.resRPhi: 0.001
89+
ddd7.resZ: 0.001
90+
ddd7.eff: 1.00
91+
ddd7.type: 1
92+
93+
ddd8.r: 40.
94+
ddd8.z: 250
95+
ddd8.x0: 0.005
96+
ddd8.xrho: 1.1646e-01
97+
ddd8.resRPhi: 0.001
98+
ddd8.resZ: 0.001
99+
ddd8.eff: 1.00
100+
ddd8.type: 1
101+
102+
ddd9.r: 45.
103+
ddd9.z: 250
104+
ddd9.x0: 0.005
105+
ddd9.xrho: 1.1646e-01
106+
ddd9.resRPhi: 0.001
107+
ddd9.resZ: 0.001
108+
ddd9.eff: 1.00
109+
ddd9.type: 1

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
/PWGEM @alibuild @feisenhu @dsekihat @ivorobye @jokonig
4040
/PWGEM/Dilepton @alibuild @mikesas @rbailhac @dsekihat @ivorobye @feisenhu @hscheid @jokonig
4141
/PWGEM/PhotonMeson @alibuild @mikesas @rbailhac @m-c-danisch @novitzky @mhemmer-cern @dsekihat @jokonig
42-
/PWGHF @alibuild @vkucera @fcolamar @fgrosa @fcatalan92 @mfaggin @mmazzilli @deepathoms @NicoleBastid @hahassan7 @jpxrk @apalasciano @zhangbiao-phy @gluparel @stefanopolitano @xinyepeng
42+
/PWGHF @alibuild @vkucera @fcolamar @fgrosa @fcatalan92 @mfaggin @mmazzilli @deepathoms @NicoleBastid @hahassan7 @jpxrk @apalasciano @zhangbiao-phy @gluparel @stefanopolitano @xinyepeng @singhra1994
4343
# PWG-LF
4444
/PWGLF @alibuild @sustripathy @skundu692 @mpuccio
4545
/PWGLF/DataModel @alibuild @sustripathy @skundu692 @mpuccio @gbencedi @abmodak @fmazzasc @maciacco @dmallick2 @smaff92 @ercolessi @romainschotter

Common/Core/TableHelper.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <Framework/RunningWorkflowInfo.h>
2626

2727
#include <string>
28+
#include <vector>
2829

2930
namespace o2::common::core
3031
{
@@ -89,6 +90,10 @@ bool getTaskOptionValue(o2::framework::InitContext& initContext, const std::stri
8990
value = option.defaultValue.get<ValueType>();
9091
if (verbose) {
9192
if constexpr (!std::is_same_v<ValueType, o2::framework::LabeledArray<float>>) {
93+
LOG(info) << " Found option '" << optName << " of type LabeledArray<float>";
94+
} else if constexpr (!std::is_same_v<ValueType, std::vector<std::string>>) {
95+
LOG(info) << " Found option '" << optName << " of type vector<string>";
96+
} else {
9297
LOG(info) << " Found option '" << optName << "' with value '" << value << "'";
9398
}
9499
found = true;

0 commit comments

Comments
 (0)