@@ -168,17 +168,18 @@ struct strangeness_derived_tutorial {
168168 rLambda.fill (HIST (" hMassAntiLambda" ), v0.mAntiLambda ());
169169
170170 // Keep only standard V0s (type 1): type 0 = not passing the standard V0 selections, 2-3 = photon-like (TPC-only)
171- if (v0.v0Type () != 1 )
171+ if (v0.v0Type () != 1 ) {
172172 continue ;
173-
173+ }
174174 // Topological selections not applied in the Filter
175175 // (in V0Cores the cosine of pointing angle is a regular column: it could also be moved into the Filter)
176- if (v0.v0cosPA () < v0setting_cospa)
176+ if (v0.v0cosPA () < v0setting_cospa) {
177177 continue ;
178+ }
178179 // Cut on dynamic columns
179- if (v0.v0radius () < v0setting_radius)
180+ if (v0.v0radius () < v0setting_radius) {
180181 continue ;
181-
182+ }
182183 // From here on, the same V0 is tested under the three mass hypotheses (K0S, Lambda, AntiLambda):
183184 // the hypothesis-dependent selections cannot use 'continue', they are stored in booleans
184185
@@ -302,13 +303,15 @@ struct strangeness_derived_tutorial {
302303 const soa::SmallGroups<soa::Join<aod::StraCollisions, o2::aod::StraEvSels, aod::StraCollLabels>>& collisions,
303304 const soa::SmallGroups<soa::Join<aod::V0MCCores, aod::V0MCCollRefs>>& v0MC)
304305 {
305- if (collisions.size () < 1 ) // to process generated collisions that've been reconstructed at least once
306+ if (collisions.size () < 1 ) { // to process generated collisions that've been reconstructed at least once
306307 return ;
308+ }
307309 rEventSelection.fill (HIST (" hVertexZGen" ), mcCollision.posZ ());
308310
309311 for (const auto & v0mc : v0MC) {
310- if (!v0mc.isPhysicalPrimary ())
312+ if (!v0mc.isPhysicalPrimary ()) {
311313 continue ;
314+ }
312315 // rapidityMC(i): i = 0 -> K0S mass hypothesis, 1 -> Lambda, 2 -> AntiLambda
313316 if (v0mc.pdgCode () == PDG_t::kK0Short && std::abs (v0mc.rapidityMC (0 )) < v0setting_rapidity) {
314317 rGenParticles.fill (HIST (" hPtK0ShortGen" ), v0mc.ptMC ());
0 commit comments