Skip to content

Commit c057fe8

Browse files
committed
fixed O2 linter error
1 parent ded7348 commit c057fe8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGHF/HFL/Tasks/taskElectronWeakBoson.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -735,8 +735,8 @@ struct HfTaskElectronWeakBoson {
735735
auto child2 = RecoDecayPtEtaPhi::pVector(trackPos.pt, trackPos.eta, trackPos.phi);
736736
double invMass = RecoDecay::m(std::array{child1, child2}, std::array{o2::constants::physics::MassElectron, o2::constants::physics::MassElectron});
737737
if (invMass > massZMinQA) {
738-
float sectorneg = 18.0 * trackEle.phi / (2.0 * o2::constants::math::PI);
739-
float sectorpos = 18.0 * trackPos.phi / (2.0 * o2::constants::math::PI);
738+
float sectorneg = 18.0 * trackEle.phi / (o2::constants::math::TwoPI);
739+
float sectorpos = 18.0 * trackPos.phi / (o2::constants::math::TwoPI);
740740
// float dsectorneg = std::abs(sectorneg - TMath::Nint(sectorneg));
741741
// float dsectorpos = std::abs(sectorpos - TMath::Nint(sectorpos));
742742
// LOG(info) << "TPC sector= " << sectorneg << " ; " << sectorpos;

0 commit comments

Comments
 (0)