Skip to content

Commit 0da11c7

Browse files
authored
Merge pull request #556 from sungbinoh/feature/sungbino_CAFMaker_hit_E_n_phi
Adding efield and phi into FillTrackPlaneCalo
2 parents 6b45afc + 681213c commit 0da11c7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

sbncode/CAFMaker/FillReco.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,8 @@ namespace caf
810810
const std::vector<float> &dedx = calo.dEdx();
811811
const std::vector<float> &pitch = calo.TrkPitchVec();
812812
const std::vector<float> &rr = calo.ResidualRange();
813+
const std::vector<float> &efield = calo.Efield();
814+
const std::vector<float> &phi = calo.Phi();
813815
const std::vector<geo::Point_t> &xyz = calo.XYZ();
814816
const std::vector<size_t> &tps = calo.TpIndices();
815817

@@ -831,6 +833,8 @@ namespace caf
831833
p.dqdx = dqdx[i];
832834
p.dedx = dedx[i];
833835
p.pitch = pitch[i];
836+
p.efield = efield[i];
837+
p.phi = phi[i] * M_PI / 180.; // converting to radian since calo.Phi() is in degree
834838
p.x = xyz[i].x();
835839
p.y = xyz[i].y();
836840
p.z = xyz[i].z();

0 commit comments

Comments
 (0)