Skip to content

Commit 8d0c8bc

Browse files
[PWGLF,Tutorial] Update of the tutorial repository (#13772)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent 665bee0 commit 8d0c8bc

20 files changed

+18
-1359
lines changed

Tutorials/PWGLF/Strangeness/Derived/Analysis/configuration_step3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
]
146146
},
147147
"doBCshift": "1",
148-
"useCustomRunNumber": "1",
148+
"useCustomRunNumber": "0",
149149
"axisPosition": {
150150
"values": [
151151
400,

Tutorials/PWGLF/Strangeness/Derived/Analysis/configuration_step4.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
]
115115
},
116116
"calculationMethod": "0",
117-
"calculateCascades": "-1",
117+
"calculateCascades": "1",
118118
"cascadeCalibration.qaV0DCADau": "0.5",
119119
"axisNSigma": {
120120
"values": [
@@ -131,7 +131,7 @@
131131
]
132132
},
133133
"manualRunNumber": "544122",
134-
"calculateV0TOFPIDs": "-1",
134+
"calculateV0TOFPIDs": "1",
135135
"cascadeCalibration.qaCascCosPA": "0.995",
136136
"processDerivedData": "1",
137137
"calculateV0s": "-1",
@@ -145,7 +145,7 @@
145145
]
146146
},
147147
"doBCshift": "1",
148-
"useCustomRunNumber": "1",
148+
"useCustomRunNumber": "0",
149149
"axisPosition": {
150150
"values": [
151151
400,
@@ -161,9 +161,9 @@
161161
50000
162162
]
163163
},
164-
"calculateCascTOFPIDs": "-1",
164+
"calculateCascTOFPIDs": "1",
165165
"ccdb.mVtxPath": "GLO/Calib/MeanVertex",
166-
"calculateV0TOFDebugs": "-1",
166+
"calculateV0TOFDebugs": "1",
167167
"axisSnp": {
168168
"values": [
169169
220,

Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step3.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ struct strangeness_derived_tutorial {
117117
using dauTracks = soa::Join<aod::DauTrackExtras, aod::DauTrackTPCPIDs>;
118118

119119
void process(soa::Filtered<soa::Join<aod::StraCollisions, aod::StraEvSels>>::iterator const& collision,
120-
soa::Filtered<soa::Join<aod::CascCores, aod::CascExtras, aod::CascTOFNSigmas>> const& Cascades,
120+
soa::Filtered<soa::Join<aod::CascCores, aod::CascExtras, aod::CascTOFNSigmas, aod::CascTOFPIDs>> const& Cascades,
121121
dauTracks const&)
122122
{
123123
// Fill the event counter
@@ -167,15 +167,15 @@ struct strangeness_derived_tutorial {
167167
bool xiPassTOFSelection = true;
168168
bool omegaPassTOFSelection = true;
169169
if (casc.sign() < 0) {
170-
if (posDaughterTrackCasc.hasTOF()) {
170+
if (casc.positiveHasTOF()) {
171171
if (std::abs(casc.tofNSigmaXiLaPr()) > NSigmaTOFProton) {
172172
xiPassTOFSelection &= false;
173173
}
174174
if (std::abs(casc.tofNSigmaOmLaPr()) > NSigmaTOFProton) {
175175
omegaPassTOFSelection &= false;
176176
}
177177
}
178-
if (negDaughterTrackCasc.hasTOF()) {
178+
if (casc.negativeHasTOF()) {
179179
if (std::abs(casc.tofNSigmaXiLaPi()) > NSigmaTOFPion) {
180180
xiPassTOFSelection &= false;
181181
}
@@ -184,15 +184,15 @@ struct strangeness_derived_tutorial {
184184
}
185185
}
186186
} else {
187-
if (posDaughterTrackCasc.hasTOF()) {
187+
if (casc.positiveHasTOF()) {
188188
if (std::abs(casc.tofNSigmaXiLaPi()) > NSigmaTOFPion) {
189189
xiPassTOFSelection &= false;
190190
}
191191
if (std::abs(casc.tofNSigmaOmLaPi()) > NSigmaTOFPion) {
192192
omegaPassTOFSelection &= false;
193193
}
194194
}
195-
if (negDaughterTrackCasc.hasTOF()) {
195+
if (casc.negativeHasTOF()) {
196196
if (std::abs(casc.tofNSigmaXiLaPr()) > NSigmaTOFProton) {
197197
xiPassTOFSelection &= false;
198198
}
@@ -202,7 +202,7 @@ struct strangeness_derived_tutorial {
202202
}
203203
}
204204

205-
if (bachDaughterTrackCasc.hasTOF()) {
205+
if (casc.bachelorHasTOF()) {
206206
if (std::abs(casc.tofNSigmaXiPi()) > NSigmaTOFPion) {
207207
xiPassTOFSelection &= false;
208208
}

Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step4.cxx

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ struct strangeness_derived_tutorial {
135135
using dauTracks = soa::Join<aod::DauTrackExtras, aod::DauTrackTPCPIDs, aod::DauTrackMCIds>;
136136

137137
void processRecMC(soa::Filtered<soa::Join<aod::StraCollisions, aod::StraEvSels>>::iterator const& collision,
138-
soa::Filtered<soa::Join<aod::CascCores, aod::CascExtras, aod::CascTOFNSigmas, aod::CascCoreMCLabels>> const& Cascades,
138+
soa::Filtered<soa::Join<aod::CascCores, aod::CascExtras, aod::CascTOFNSigmas, aod::CascTOFPIDs, aod::CascCoreMCLabels>> const& Cascades,
139139
dauTracks const&,
140140
aod::CascMCCores const& /*cascmccores*/)
141141
{
@@ -186,15 +186,15 @@ struct strangeness_derived_tutorial {
186186
bool xiPassTOFSelection = true;
187187
bool omegaPassTOFSelection = true;
188188
if (casc.sign() < 0) {
189-
if (posDaughterTrackCasc.hasTOF()) {
189+
if (casc.positiveHasTOF()) {
190190
if (std::abs(casc.tofNSigmaXiLaPr()) > NSigmaTOFProton) {
191191
xiPassTOFSelection &= false;
192192
}
193193
if (std::abs(casc.tofNSigmaOmLaPr()) > NSigmaTOFProton) {
194194
omegaPassTOFSelection &= false;
195195
}
196196
}
197-
if (negDaughterTrackCasc.hasTOF()) {
197+
if (casc.negativeHasTOF()) {
198198
if (std::abs(casc.tofNSigmaXiLaPi()) > NSigmaTOFPion) {
199199
xiPassTOFSelection &= false;
200200
}
@@ -203,15 +203,15 @@ struct strangeness_derived_tutorial {
203203
}
204204
}
205205
} else {
206-
if (posDaughterTrackCasc.hasTOF()) {
206+
if (casc.positiveHasTOF()) {
207207
if (std::abs(casc.tofNSigmaXiLaPi()) > NSigmaTOFPion) {
208208
xiPassTOFSelection &= false;
209209
}
210210
if (std::abs(casc.tofNSigmaOmLaPi()) > NSigmaTOFPion) {
211211
omegaPassTOFSelection &= false;
212212
}
213213
}
214-
if (negDaughterTrackCasc.hasTOF()) {
214+
if (casc.negativeHasTOF()) {
215215
if (std::abs(casc.tofNSigmaXiLaPr()) > NSigmaTOFProton) {
216216
xiPassTOFSelection &= false;
217217
}
@@ -221,16 +221,7 @@ struct strangeness_derived_tutorial {
221221
}
222222
}
223223

224-
if (bachDaughterTrackCasc.hasTOF()) {
225-
if (std::abs(casc.tofNSigmaXiPi()) > NSigmaTOFPion) {
226-
xiPassTOFSelection &= false;
227-
}
228-
if (std::abs(casc.tofNSigmaOmKa()) > NSigmaTOFKaon) {
229-
omegaPassTOFSelection &= false;
230-
}
231-
}
232-
233-
if (bachDaughterTrackCasc.hasTOF()) {
224+
if (casc.bachelorHasTOF()) {
234225
if (std::abs(casc.tofNSigmaXiPi()) > NSigmaTOFPion) {
235226
xiPassTOFSelection &= false;
236227
}

Tutorials/PWGLF/Strangeness/PbPb/Analysis/CMakeLists.txt

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

Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_skeleton.sh

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

Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh

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

Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step1.sh

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

Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step2.sh

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

Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step3.sh

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

0 commit comments

Comments
 (0)