Skip to content

Commit 0c701bc

Browse files
authored
Replace cone radius calculation with rJet
1 parent a8d638d commit 0c701bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGLF/Tasks/Strangeness/strangenessInJets.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ struct StrangenessInJets {
14551455

14561456
// Set up two perpendicular cone axes for underlying event estimation
14571457
const TVector3 jetAxis(jet.px(), jet.py(), jet.pz());
1458-
const double coneRadius = std::sqrt(jet.area() / PI);
1458+
const double coneRadius = rJet;
14591459
TVector3 ueAxis1(0, 0, 0), ueAxis2(0, 0, 0);
14601460
getPerpendicularDirections(jetAxis, ueAxis1, ueAxis2);
14611461
if (ueAxis1.Mag() == 0 || ueAxis2.Mag() == 0) {

0 commit comments

Comments
 (0)