Skip to content

Commit 6f92fa9

Browse files
authored
[PWGCF] FemtoUniverse: Fixing cent and mult datatype to float (#8682)
1 parent c920037 commit 6f92fa9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerTask.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ struct femtoUniverseProducerTask {
762762
void fillCollisions(CollisionType const& col, TrackType const& tracks)
763763
{
764764
const auto vtxZ = col.posZ();
765-
int mult = 0;
765+
float mult = 0;
766766
int multNtr = 0;
767767
if (ConfIsRun3) {
768768
mult = col.multFV0M();
@@ -805,7 +805,7 @@ struct femtoUniverseProducerTask {
805805
{
806806
for (auto& c : col) {
807807
const auto vtxZ = c.posZ();
808-
int mult = 0;
808+
float mult = 0;
809809
int multNtr = 0;
810810

811811
if (std::abs(vtxZ) > ConfEvtZvtx) {
@@ -824,7 +824,7 @@ struct femtoUniverseProducerTask {
824824
void fillCollisionsCentRun2(CollisionType const& col, TrackType const& tracks)
825825
{
826826
const auto vtxZ = col.posZ();
827-
int cent = 0;
827+
float cent = 0;
828828
int multNtr = 0;
829829
if (!ConfIsRun3) {
830830
cent = col.centRun2V0M();
@@ -852,7 +852,7 @@ struct femtoUniverseProducerTask {
852852
void fillCollisionsCentRun3(CollisionType const& col, TrackType const& tracks, V0Type const& fullV0s, CascadeType const& fullCascades, double irrate)
853853
{
854854
const auto vtxZ = col.posZ();
855-
int cent = 0;
855+
float cent = 0;
856856
int multNtr = 0;
857857
if (ConfIsRun3) {
858858
multNtr = col.multNTracksPV();

0 commit comments

Comments
 (0)