Skip to content

Commit

Permalink
Please consider the following formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alibuild committed Oct 14, 2024
1 parent 4fc509f commit 999b6e5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
9 changes: 6 additions & 3 deletions PWGUD/TableProducer/DGBCCandProducer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,8 @@ struct DGBCCandProducer {
rtrwTOF = udhelpers::rPVtrwTOF<true>(colTracks, col.numContrib());
nCharge = udhelpers::netCharge<true>(colTracks);
int flag = 0;
if (col.flags()==2) flag = 1;
if (col.flags() == 2)
flag = 1;
updateUDTables(false, col.globalIndex(), bc.globalBC(), bc.runNumber(), col.posX(), col.posY(), col.posZ(), flag,
col.numContrib(), nCharge, rtrwTOF, colTracks, fitInfo);
}
Expand Down Expand Up @@ -614,7 +615,8 @@ struct DGBCCandProducer {
auto nCharge = udhelpers::netCharge<true>(colTracks);
udhelpers::getFITinfo(fitInfo, bc, bcs, ft0s, fv0as, fdds);
int flag = 0;
if (col.flags()==2) flag = 1;
if (col.flags() == 2)
flag = 1;
updateUDTables(false, col.globalIndex(), bcnum, bc.runNumber(), col.posX(), col.posY(), col.posZ(), flag,
col.numContrib(), nCharge, rtrwTOF, colTracks, fitInfo);
// fill UDZdcs
Expand Down Expand Up @@ -685,7 +687,8 @@ struct DGBCCandProducer {

int64_t colID = withCollision ? col.globalIndex() : -1;
int flag = 0;
if (col.flags()==2) flag = 1;
if (col.flags() == 2)
flag = 1;
updateUDTables(false, colID, bcnum, tibc.runNumber(), vpos[0], vpos[1], vpos[2], flag,
tracksArray.size(), nCharge, rtrwTOF, tracksArray, fitInfo);
// fill UDZdcs
Expand Down
3 changes: 2 additions & 1 deletion PWGUD/TableProducer/DGCandProducer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,8 @@ struct DGCandProducer {
// update DG candidates tables
auto rtrwTOF = udhelpers::rPVtrwTOF<true>(tracks, collision.numContrib());
int flag = 0;
if (collision.flags()) flag = 1;
if (collision.flags())
flag = 1;
outputCollisions(bc.globalBC(), bc.runNumber(),
collision.posX(), collision.posY(), collision.posZ(), flag,
collision.numContrib(), udhelpers::netCharge<true>(tracks),
Expand Down
3 changes: 2 additions & 1 deletion PWGUD/TableProducer/SGCandProducer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ struct SGCandProducer {
udhelpers::getFITinfo(fitInfo, newbc, bcs, ft0s, fv0as, fdds);
// update SG candidates tables
int flag = 0;
if (collision.flags()) flag = 1;
if (collision.flags())
flag = 1;
outputCollisions(bc.globalBC(), bc.runNumber(),
collision.posX(), collision.posY(), collision.posZ(), flag,
collision.numContrib(), udhelpers::netCharge<true>(tracks),
Expand Down

0 comments on commit 999b6e5

Please sign in to comment.