Skip to content

Commit 52b117d

Browse files
authored
Change getDeltaPhi to static and update mJetRadius
1 parent be8a29e commit 52b117d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/Tasks/Strangeness/strangenessInJets.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ struct StrangenessInJets {
408408
}
409409

410410
// Delta phi calculation
411-
double getDeltaPhi(double a1, double a2)
411+
static double getDeltaPhi(const double a1, const double a2)
412412
{
413413
const double phi1 = TVector2::Phi_0_2pi(a1);
414414
const double phi2 = TVector2::Phi_0_2pi(a2);
@@ -443,7 +443,7 @@ struct StrangenessInJets {
443443
bool isInUE1() const { return mInUE1; }
444444
bool isInUE2() const { return mInUE2; }
445445

446-
static double mJetRadius = 0.f;
446+
static double mJetRadius;
447447

448448
private:
449449
bool mInJet = false;

0 commit comments

Comments
 (0)