Skip to content

Commit c73660d

Browse files
author
Prottay Das
committed
updated 2
1 parent 46050fa commit c73660d

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

PWGLF/TableProducer/Resonances/cksspinalignment.cxx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -507,15 +507,15 @@ struct cksspinalignment {
507507
// v0.distovertotmom(collision.posX(), collision.posY(), collision.posZ()) *
508508
// o2::constants::physics::MassK0;
509509

510-
selectedK0s.push_back({k0s.Px(),
511-
k0s.Py(),
512-
k0s.Pz(),
513-
k0s.M(),
514-
v0.v0cosPA(),
515-
v0.v0radius(),
516-
std::abs(v0.dcapostopv()),
517-
std::abs(v0.dcanegtopv()),
518-
std::abs(v0.dcaV0daughters()),
510+
selectedK0s.push_back({static_cast<float>(k0s.Px()),
511+
static_cast<float>(k0s.Py()),
512+
static_cast<float>(k0s.Pz()),
513+
static_cast<float>(k0s.M()),
514+
static_cast<float>(v0.v0cosPA()),
515+
static_cast<float>(v0.v0radius()),
516+
static_cast<float>(std::abs(v0.dcapostopv())),
517+
static_cast<float>(std::abs(v0.dcanegtopv())),
518+
static_cast<float>(std::abs(v0.dcaV0daughters())),
519519
// lifetime,
520520
posId,
521521
negId});

PWGLF/Tasks/Resonances/phiflowder.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,9 +460,9 @@ struct phiflowder {
460460
nMixedPairs += fillMixedPairs(posGroup2,
461461
negGroup1,
462462
centrality2, qxZDCA, qxZDCC, qyZDCA, qyZDCC);
463-
}
464463

465-
histos.fill(HIST("hMixpairs"), nMixedPairs);
464+
histos.fill(HIST("hMixpairs"), nMixedPairs);
465+
}
466466
}
467467

468468
PROCESS_SWITCH(phiflowder, processMixedData, "Process mixed-event K+K- pairs", true);

0 commit comments

Comments
 (0)