Skip to content

Commit 6e7264e

Browse files
committed
converting phi to radian from degree
1 parent ba48279 commit 6e7264e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sbncode/CAFMaker/FillReco.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ namespace caf
834834
p.dedx = dedx[i];
835835
p.pitch = pitch[i];
836836
p.efield = efield[i];
837-
p.phi = phi[i];
837+
p.phi = phi[i] * M_PI / 180.; // converting to radian since calo.Phi() is in degree
838838
p.x = xyz[i].x();
839839
p.y = xyz[i].y();
840840
p.z = xyz[i].z();

0 commit comments

Comments
 (0)