Skip to content

Commit 3babe77

Browse files
committed
minor fixes
1 parent c264782 commit 3babe77

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

PWGLF/Tasks/Resonances/k892hadronphoton.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
#include "Common/CCDB/EventSelectionParams.h"
2727
#include "Common/CCDB/ctpRateFetcher.h"
28-
#include "Common/Core/RecoDecay.h"
2928

3029
#include <CCDB/BasicCCDBManager.h>
3130
#include <CommonConstants/MathConstants.h>

PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -537,10 +537,6 @@ struct k892hadronphotonBkg {
537537
for (int kIdx : kshortIndices) {
538538
auto kshort = fullV0s.rawIteratorAt(kIdx);
539539

540-
float kPt = kshort.pt();
541-
float kEta = kshort.eta();
542-
float kPhi = kshort.phi();
543-
544540
for (int pIdx : photonIndices) {
545541
auto photon = fullV0s.rawIteratorAt(pIdx);
546542

@@ -554,7 +550,7 @@ struct k892hadronphotonBkg {
554550
float theta = rotRng.Uniform(o2::constants::math::PI - o2::constants::math::PI / kstarBkgConfig.rotationalCut,
555551
o2::constants::math::PI + o2::constants::math::PI / kstarBkgConfig.rotationalCut);
556552

557-
ROOT::Math::PtEtaPhiMVector kRot(kPt, kEta, kPhi + theta, o2::constants::physics::MassK0Short);
553+
ROOT::Math::PtEtaPhiMVector kRot(kshort.pt(), kshort.eta(), kshort.phi() + theta, o2::constants::physics::MassK0Short);
558554

559555
auto kstar = pGamma + kRot;
560556

@@ -751,7 +747,7 @@ struct k892hadronphotonBkg {
751747

752748
//_______________________________________________
753749
// Data process: same-event rotational + mixed-event K* background
754-
void processKStarBkg(soa::Join<aod::StraCollisions, aod::StraCents, aod::StraEvSels, aod::StraStamps> const& collisions,
750+
void processKStarBkg(soa::Join<aod::StraCollisions, aod::StraCents, aod::StraEvSels, aod::StraStamps, aod::StraEvSelExtras> const& collisions,
755751
V0StandardDerivedDatas const& fullV0s,
756752
dauTracks const&)
757753
{

0 commit comments

Comments
 (0)