Skip to content

Commit

Permalink
Update DGBCCandProducer.cxx
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
rolavick authored Oct 14, 2024
1 parent 3518cd8 commit 2147ce2
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 @@ -418,7 +418,7 @@ struct DGBCCandProducer {
nCharge = udhelpers::netCharge<true>(colTracks);
int upc_flag = 0;
ushort flags = col.flags();
if (flags & o2::aod::dataformats::Vertex::Flags::)
if (flags & o2::aod::dataformats::Vertex::Flags::UPCMode::)
upc_flag = 1;
updateUDTables(false, col.globalIndex(), bc.globalBC(), bc.runNumber(), col.posX(), col.posY(), col.posZ(), upc_flag,
col.numContrib(), nCharge, rtrwTOF, colTracks, fitInfo);
Expand Down Expand Up @@ -618,7 +618,7 @@ struct DGBCCandProducer {
udhelpers::getFITinfo(fitInfo, bc, bcs, ft0s, fv0as, fdds);
int upc_flag = 0;
ushort flags = col.flags();
if (flags & o2::aod::dataformats::Vertex::Flags::)
if (flags & o2::aod::dataformats::Vertex::Flags::UPCMode::)
upc_flag = 1;
updateUDTables(false, col.globalIndex(), bcnum, bc.runNumber(), col.posX(), col.posY(), col.posZ(), upc_flag,
col.numContrib(), nCharge, rtrwTOF, colTracks, fitInfo);
Expand Down Expand Up @@ -691,7 +691,7 @@ struct DGBCCandProducer {
int64_t colID = withCollision ? col.globalIndex() : -1;
int upc_flag = 0;
ushort flags = col.flags();
if (flags & o2::aod::dataformats::Vertex::Flags::)
if (flags & o2::aod::dataformats::Vertex::Flags::UPCMode::)
upc_flag = 1;
updateUDTables(false, colID, bcnum, tibc.runNumber(), vpos[0], vpos[1], vpos[2], upc_flag,
tracksArray.size(), nCharge, rtrwTOF, tracksArray, fitInfo);
Expand Down

0 comments on commit 2147ce2

Please sign in to comment.