Skip to content

Commit e0428c6

Browse files
committed
Please consider the following formatting changes
1 parent 10a6435 commit e0428c6

2 files changed

Lines changed: 25 additions & 25 deletions

File tree

PWGUD/Tasks/flowCorrelationsUpc.cxx

100755100644
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -233,20 +233,20 @@ struct FlowCorrelationsUpc {
233233
return false;
234234
}
235235
if (!collision.vtxITSTPC()) {
236-
return false;
237-
}
236+
return false;
237+
}
238238

239239
if (!collision.sbp()) {
240-
return false;
241-
}
240+
return false;
241+
}
242242

243243
if (!collision.itsROFb()) {
244-
return false;
245-
}
244+
return false;
245+
}
246246

247247
if (!collision.tfb()) {
248-
return false;
249-
}
248+
return false;
249+
}
250250

251251
if (collision.hadronicRate() > cfgIRMaxCut) {
252252
return false;
@@ -466,7 +466,7 @@ struct FlowCorrelationsUpc {
466466
auto currentRunNumber = collision.runNumber();
467467
auto runDuration = ccdb->getRunDuration(currentRunNumber);
468468

469-
if(!eventSelected(collision))
469+
if (!eventSelected(collision))
470470
return;
471471

472472
loadCorrections(runDuration.first);
@@ -532,7 +532,7 @@ struct FlowCorrelationsUpc {
532532
tracks2.size() < cfgMinMult || tracks2.size() > cfgMaxMult) {
533533
continue;
534534
}
535-
if(!eventSelected(collision1) || !eventSelected(collision2))
535+
if (!eventSelected(collision1) || !eventSelected(collision2))
536536
continue;
537537

538538
auto runDuration1 = ccdb->getRunDuration(collision1.runNumber());

PWGUD/Tasks/flowCumulantsUpc.cxx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ struct FlowCumulantsUpc {
670670
}
671671
registry.fill(HIST("hEventCount"), 1.5);
672672

673-
//zdc time cut
673+
// zdc time cut
674674
int neutronClass = -1;
675675
bool xnxn = false, onon = false, xnon = false, onxn = false;
676676
float energyCommonZNA = collision.energyCommonZNA(), energyCommonZNC = collision.energyCommonZNC();
@@ -705,15 +705,15 @@ struct FlowCumulantsUpc {
705705
neutronClass = 3;
706706
registry.fill(HIST("neutronClass"), 1, 1);
707707
}
708-
if(cfgZdcTime) {
708+
if (cfgZdcTime) {
709709
// reject 0n0n and XnXn
710-
if(neutronClass == 0 || neutronClass == 3) {
710+
if (neutronClass == 0 || neutronClass == 3) {
711711
return;
712712
}
713713
// if A or C gap is requested, keep corresponding neutron class
714-
if(cfgGapSideA || cfgGapSideC) {
715-
if((cfgGapSideA && neutronClass == 1) ||
716-
(cfgGapSideC && neutronClass == 2)) {
714+
if (cfgGapSideA || cfgGapSideC) {
715+
if ((cfgGapSideA && neutronClass == 1) ||
716+
(cfgGapSideC && neutronClass == 2)) {
717717
// accepted
718718
} else {
719719
return;
@@ -755,20 +755,20 @@ struct FlowCumulantsUpc {
755755
}
756756
registry.fill(HIST("hEventCount"), 5.5);
757757
if (!collision.vtxITSTPC()) {
758-
return;
758+
return;
759759
}
760760
registry.fill(HIST("hEventCount"), 6.5);
761761
if (!collision.sbp()) {
762-
return;
763-
}
762+
return;
763+
}
764764
registry.fill(HIST("hEventCount"), 7.5);
765765
if (!collision.itsROFb()) {
766-
return;
767-
}
766+
return;
767+
}
768768
registry.fill(HIST("hEventCount"), 8.5);
769769
if (!collision.tfb()) {
770-
return;
771-
}
770+
return;
771+
}
772772
registry.fill(HIST("hEventCount"), 9.5);
773773

774774
if (cfgRctFlagEnabled) {
@@ -871,15 +871,15 @@ struct FlowCumulantsUpc {
871871
}
872872
}
873873
registry.fill(HIST("hEventCount"), 11.5);
874-
if(collision.hadronicRate() > cfgIRMaxCut){
874+
if (collision.hadronicRate() > cfgIRMaxCut) {
875875
return;
876876
}
877877
registry.fill(HIST("interactionRate"), collision.hadronicRate());
878878
registry.fill(HIST("hEventCount"), 12.5);
879879

880880
// Filling Flow Container
881881
for (uint l_ind = 0; l_ind < corrconfigs.size(); l_ind++) {
882-
fillFC(corrconfigs.at(l_ind), independent, lRandom);
882+
fillFC(corrconfigs.at(l_ind), independent, lRandom);
883883
}
884884
}
885885
PROCESS_SWITCH(FlowCumulantsUpc, processData, "processData", true);

0 commit comments

Comments
 (0)