Skip to content

Commit

Permalink
Update SGCandProducer.cxx
Browse files Browse the repository at this point in the history
  • Loading branch information
abylinkin authored Oct 14, 2024
1 parent 5b8e9bd commit b831ae0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PWGUD/TableProducer/SGCandProducer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <cmath>
#include "Framework/ASoA.h"
#include "Framework/AnalysisDataModel.h"
#include "ReconstructionDataFormats/Vertex.h"
#include "Common/CCDB/EventSelectionParams.h"
#include "Common/DataModel/EventSelection.h"
#include "CommonConstants/LHCConstants.h"
Expand Down Expand Up @@ -215,8 +216,7 @@ struct SGCandProducer {
// update SG candidates tables
int upc_flag = 0;
ushort flags = collision.flags();
const ushort UPCModeMask = 0x1 << 1;
if (flags & UPCModeMask)
if (flags & Vertex::UPCMode)
upc_flag = 1;
outputCollisions(bc.globalBC(), bc.runNumber(),
collision.posX(), collision.posY(), collision.posZ(), upc_flag,
Expand Down

0 comments on commit b831ae0

Please sign in to comment.