88// In applying this license CERN does not waive the privileges and immunities
99// granted to it by virtue of its status as an Intergovernmental Organization
1010// or submit itself to any jurisdiction.
11+ //
12+ // / \file straevselextrasconverter.cxx
13+ // / \brief Converts straevselsextrasconverter1 converts StraEvSelExtras_000 into StraEvSelExtras_001
14+ // /
15+ // / \author David Dobrigkeit Chinellato <david.dobrigkeit.chinellato@cern.ch>, Austrian Academy of Sciences & MBI
16+ // / \author Romain Schotter <romain.schotter@cern.ch>, Austrian Academy of Sciences & MBI
17+ //
18+ // __________________________________________________
19+ //
1120
1221#include " PWGLF/DataModel/LFStrangenessTables.h"
1322
@@ -21,7 +30,7 @@ using namespace o2;
2130using namespace o2 ::framework;
2231using namespace o2 ::aod::evsel;
2332
24- // Converts straevselsextrasconverter1 converts StraEvSelExtras_000 into StraEvSelExtras_001
33+
2534struct straevselextrasconverter {
2635 Produces<aod::StraEvSelExtras_001> straEvSelExtras_001;
2736
@@ -36,7 +45,7 @@ struct straevselextrasconverter {
3645 void processAll (soa::Join<aod::StraEvSels_005, aod::StraEvSelExtras_000> const & straEvSels_005)
3746 {
3847 straEvSelExtras_001.reserve (straEvSels_005.size ());
39- for (auto & values : straEvSels_005) {
48+ for (const auto & values : straEvSels_005) {
4049 straEvSelExtras_001 (values.multZNA (),
4150 values.multZNC (),
4251 values.multZEM1 (),
@@ -70,7 +79,7 @@ struct straevselextrasconverter {
7079 void processStraEvSelsOnly (aod::StraEvSels_005 const & straEvSels_005)
7180 {
7281 straEvSelExtras_001.reserve (straEvSels_005.size ());
73- for (auto & values : straEvSels_005) {
82+ for (const auto & values : straEvSels_005) {
7483 straEvSelExtras_001 (values.multZNA (),
7584 values.multZNC (),
7685 values.multZEM1 (),
0 commit comments