Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please consider the following formatting changes to #7975 #73

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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()==2) flag = 1;
if (collision.flags() == 2)
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
Loading