From c6b76d64e74bd4bebeca11db9e9916444ac0785a Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Wed, 9 Sep 2020 02:29:45 +0200 Subject: [PATCH] fixed obs level --- Documentation/Examples/em_shower.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/Examples/em_shower.cc b/Documentation/Examples/em_shower.cc index 594a95845..297ab1f67 100644 --- a/Documentation/Examples/em_shower.cc +++ b/Documentation/Examples/em_shower.cc @@ -151,8 +151,8 @@ int main(int argc, char** argv) { process::longitudinal_profile::LongitudinalProfile longprof{showerAxis}; Plane const obsPlane(showerCore, Vector<dimensionless_d>(rootCS, {0., 0., 1.})); - process::observation_plane::ObservationPlane observationLevel(obsPlane, - "particles.dat"); + process::observation_plane::ObservationPlane observationLevel( + obsPlane, Vector<dimensionless_d>(rootCS, {1., 0., 0.}), "particles.dat"); auto sequence = process::sequence(proposalCounted, em_continuous, longprof, cut, observationLevel, trackWriter); -- GitLab