Skip to content

Commit 0cb0676

Browse files
author
jimun_lee
committed
[PWGLF] Fixed std::cout --> LOG(info) also
1 parent be153d8 commit 0cb0676

1 file changed

Lines changed: 8 additions & 17 deletions

File tree

PWGLF/Tasks/Resonances/kstarInOO.cxx

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
#include <string>
5454
#include <utility>
5555
#include <vector>
56-
5756
#include <stdlib.h>
5857

5958
using namespace o2;
@@ -1041,9 +1040,8 @@ struct kstarInOO {
10411040
{
10421041
if (cDebugLevel > 0) {
10431042
nJetEvents++;
1044-
if ((nJetEvents + 1) % 10000 == 0) {
1043+
if ((nJetEvents + 1) % 10000 == 0)
10451044
LOG(info) << "Processed Jet Data Events: " << nJetEvents;
1046-
}
10471045
}
10481046
histos.fill(HIST("nEvents"), 0.5); // Raw event
10491047

@@ -1164,9 +1162,8 @@ struct kstarInOO {
11641162
{
11651163
if (cDebugLevel > 0) {
11661164
nJetMCEvents++;
1167-
if ((nJetMCEvents + 1) % 10000 == 0) {
1165+
if ((nJetMCEvents + 1) % 10000 == 0)
11681166
LOG(info) << "Processed Jet MC Events: " << nJetMCEvents;
1169-
}
11701167
}
11711168
histos.fill(HIST("nEvents"), 0.5); // Gen event
11721169

@@ -1357,9 +1354,8 @@ struct kstarInOO {
13571354
{
13581355
if (cDebugLevel > 0) {
13591356
nEvents++;
1360-
if ((nEvents + 1) % 10000 == 0) {
1357+
if ((nEvents + 1) % 10000 == 0)
13611358
LOG(info) << "Processed Data Events: " << nEvents;
1362-
}
13631359
}
13641360
histos.fill(HIST("nEvents"), 0.5);
13651361

@@ -1404,9 +1400,8 @@ struct kstarInOO {
14041400
for (const auto& [collision1, tracks1, collision2, tracks2] : pairs) {
14051401
if (cDebugLevel > 0) {
14061402
nEventsMix++;
1407-
if ((nEventsMix + 1) % 10000 == 0) {
1403+
if ((nEventsMix + 1) % 10000 == 0)
14081404
LOG(info) << "Processed DATA Mixed Events : " << nEventsMix;
1409-
}
14101405
}
14111406
auto [goodEv1, code1] = eventSelection(collision1, false);
14121407
auto [goodEv2, code2] = eventSelection(collision2, false);
@@ -1488,9 +1483,8 @@ struct kstarInOO {
14881483
for (const auto& [collision1, tracks1, collision2, tracks2] : pairs) {
14891484
if (cDebugLevel > 0) {
14901485
nEventsMCMix++;
1491-
if ((nEventsMCMix + 1) % 10000 == 0) {
1486+
if ((nEventsMCMix + 1) % 10000 == 0)
14921487
LOG(info) << "Processed Mixed Events: " << nEventsMCMix;
1493-
}
14941488
}
14951489
auto [goodEv1, code1] = eventSelection(collision1, false);
14961490
auto [goodEv2, code2] = eventSelection(collision2, false);
@@ -1513,9 +1507,8 @@ struct kstarInOO {
15131507
{
15141508
if (cDebugLevel > 0) {
15151509
++nEventsGen;
1516-
if (nEventsGen % 10000 == 0) {
1510+
if (nEventsGen % 10000 == 0)
15171511
LOG(info) << "Processed MC (GEN) Events: " << nEventsGen;
1518-
}
15191512
}
15201513
if (cfgMCHistos) {
15211514
histos.fill(HIST("nEvents_Gen"), 0.5); // Gen events
@@ -1610,9 +1603,8 @@ struct kstarInOO {
16101603
{
16111604
if (cDebugLevel > 0) {
16121605
++nprocessGenEvents;
1613-
if (nprocessGenEvents % 10000 == 0) {
1606+
if (nprocessGenEvents % 10000 == 0)
16141607
LOG(info) << "Processed MC (GEN) Events: " << nprocessGenEvents;
1615-
}
16161608
}
16171609
if (cfgJetMCHistos) {
16181610
histos.fill(HIST("nEvents_Gen"), 0.5);
@@ -1715,9 +1707,8 @@ struct kstarInOO {
17151707
{
17161708
if (cDebugLevel > 0) {
17171709
++ndRtest;
1718-
if (ndRtest % 10000 == 0) {
1710+
if (ndRtest % 10000 == 0)
17191711
LOG(info) << "Processed dR test: " << ndRtest;
1720-
}
17211712
}
17221713

17231714
bool INELgt0 = false;

0 commit comments

Comments
 (0)