Skip to content

Commit ae8fb14

Browse files
authored
Update strangeness_derived_v0_step3.cxx
1 parent 88ce718 commit ae8fb14

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎Tutorials/PWGLF/Strangeness/StrangenessV0s_HandsOn/o2physics/AnalysisV0/strangeness_derived_v0_step3.cxx‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,16 +143,18 @@ struct strangeness_derived_tutorial {
143143
rLambda.fill(HIST("hMassAntiLambda"), v0.mAntiLambda());
144144

145145
// Keep only standard V0s (type 1): type 0 = not passing the standard V0 selections, 2-3 = photon-like (TPC-only)
146-
if (v0.v0Type() != 1)
146+
if (v0.v0Type() != 1) {
147147
continue;
148-
148+
}
149149
// Topological selections not applied in the Filter
150150
// (in V0Cores the cosine of pointing angle is a regular column: it could also be moved into the Filter)
151-
if (v0.v0cosPA() < v0setting_cospa)
151+
if (v0.v0cosPA() < v0setting_cospa) {
152152
continue;
153+
}
153154
// Cut on dynamic columns
154-
if (v0.v0radius() < v0setting_radius)
155+
if (v0.v0radius() < v0setting_radius) {
155156
continue;
157+
}
156158

157159
// From here on, the same V0 is tested under the three mass hypotheses (K0S, Lambda, AntiLambda):
158160
// the hypothesis-dependent selections cannot use 'continue', they are stored in booleans

0 commit comments

Comments
 (0)