Skip to content

Commit dc20981

Browse files
authored
Merge pull request #73 from alibuild/alibot-cleanup-12819
[PWGCF] Please consider the following formatting changes to #12819
2 parents f8f21f4 + cade02a commit dc20981

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

PWGCF/Flow/Tasks/flowSP.cxx

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ struct FlowSP {
8686
O2_DEFINE_CONFIGURABLE(cfgMagField, float, 99999, "Configurable magnetic field;default CCDB will be queried");
8787
O2_DEFINE_CONFIGURABLE(cfgCentMin, float, 0, "Minimum cenrality for selected events");
8888
O2_DEFINE_CONFIGURABLE(cfgCentMax, float, 90, "Maximum cenrality for selected events");
89-
O2_DEFINE_CONFIGURABLE(cfgFilterLeptons, bool, true, "Filter out leptons from MCGenerated by requiring |pdgCode| > 100");
89+
O2_DEFINE_CONFIGURABLE(cfgFilterLeptons, bool, true, "Filter out leptons from MCGenerated by requiring |pdgCode| > 100");
9090
// NUA and NUE weights
9191
O2_DEFINE_CONFIGURABLE(cfgFillWeights, bool, true, "Fill NUA weights");
9292
O2_DEFINE_CONFIGURABLE(cfgFillWeightsPOS, bool, true, "Fill NUA weights only for positive charges");
@@ -1180,7 +1180,7 @@ struct FlowSP {
11801180
}
11811181
fillPIDQA<ft, kInclusive>(track);
11821182

1183-
if(!cfgFillChargeDependenceQA)
1183+
if (!cfgFillChargeDependenceQA)
11841184
return;
11851185

11861186
if (pos) {
@@ -1339,7 +1339,7 @@ struct FlowSP {
13391339
if (cfgFillQABefore) {
13401340
fillAllQA<kBefore, kUnidentified>(track, vtxz, centrality, pos);
13411341

1342-
if (cfgFillPIDQA){
1342+
if (cfgFillPIDQA) {
13431343
switch (trackPID) {
13441344
case kPions:
13451345
fillAllQA<kBefore, kPions>(track, vtxz, centrality, pos);
@@ -1385,10 +1385,9 @@ struct FlowSP {
13851385

13861386
histos.fill(HIST("hTrackCount"), trackSel_ParticleWeights);
13871387

1388-
13891388
fillAllQA<kAfter, kUnidentified>(track, vtxz, centrality, pos, wacc, weff, waccP, weffP, waccN, weffN);
13901389

1391-
if(cfgFillPIDQA){
1390+
if (cfgFillPIDQA) {
13921391
switch (trackPID) {
13931392
case kPions:
13941393
fillAllQA<kAfter, kPions>(track, vtxz, centrality, pos, wacc, weff, waccP, weffP, waccN, weffN);
@@ -1505,7 +1504,7 @@ struct FlowSP {
15051504
if (cfgFillQABefore) {
15061505
fillAllQA<kBefore, kUnidentified>(track, vtxz, centrality, pos);
15071506

1508-
if(cfgFillPIDQA){
1507+
if (cfgFillPIDQA) {
15091508
switch (std::abs(mcParticle.pdgCode())) {
15101509
case kPions:
15111510
fillAllQA<kBefore, kPions>(track, vtxz, centrality, pos);
@@ -1527,7 +1526,7 @@ struct FlowSP {
15271526

15281527
fillAllQA<kAfter, kUnidentified>(track, vtxz, centrality, pos);
15291528

1530-
if(cfgFillPIDQA){
1529+
if (cfgFillPIDQA) {
15311530
switch (std::abs(mcParticle.pdgCode())) {
15321531
case kPions:
15331532
fillAllQA<kAfter, kPions>(track, vtxz, centrality, pos);
@@ -1622,9 +1621,9 @@ struct FlowSP {
16221621
if (std::fabs(charge) < 1)
16231622
continue;
16241623

1625-
int minVal = 100;
1626-
if(cfgFilterLeptons && std::fabs(pdgCode) < minVal) {
1627-
continue;
1624+
int minVal = 100;
1625+
if (cfgFilterLeptons && std::fabs(pdgCode) < minVal) {
1626+
continue;
16281627
}
16291628

16301629
bool pos = (charge > 0) ? true : false;

0 commit comments

Comments
 (0)