Skip to content

Commit

Permalink
Update DGBCCandProducer.cxx
Browse files Browse the repository at this point in the history
  • Loading branch information
abylinkin authored Oct 14, 2024
1 parent aa23c52 commit 4fc509f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PWGUD/TableProducer/DGBCCandProducer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ struct DGBCCandProducer {
rtrwTOF = udhelpers::rPVtrwTOF<true>(colTracks, col.numContrib());
nCharge = udhelpers::netCharge<true>(colTracks);
int flag = 0;
if (col.flags()) 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 +614,7 @@ struct DGBCCandProducer {
auto nCharge = udhelpers::netCharge<true>(colTracks);
udhelpers::getFITinfo(fitInfo, bc, bcs, ft0s, fv0as, fdds);
int flag = 0;
if (col.flags()) 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 +685,7 @@ struct DGBCCandProducer {

int64_t colID = withCollision ? col.globalIndex() : -1;
int flag = 0;
if (col.flags()) 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

0 comments on commit 4fc509f

Please sign in to comment.