# How to get the distribution of the beam spots

**URL:** <https://root-forum.cern.ch/t/how-to-get-the-distribution-of-the-beam-spots/56733>\
**Category:** Garfield++\
**Created:** [October 16, 2023, 3:56am UTC](https://root-forum.cern.ch/t/how-to-get-the-distribution-of-the-beam-spots/56733 "2023-10-16T03:56:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![XiCheng](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/x/aca169/32.png) [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Post date:** [October 16, 2023, 3:56am UTC](https://root-forum.cern.ch/t/how-to-get-the-distribution-of-the-beam-spots/56733/1 "2023-10-16T03:56:38Z")

</div>

I want to set up a situation like this ,when the proton beam pass through the position gas ionization chamber, according the signal information collected by the copper strips in the X and Y direction, then finally get the distribution of the beam spots almost like the plot in the below. How should I do.

 ![image](https://root-forum.cern.ch/uploads/default/original/3X/c/0/c0cc61b35f35d4c6ce3bb4bdb42bcbe5e3a0dc11.jpeg)

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [October 16, 2023, 10:49am UTC](https://root-forum.cern.ch/t/how-to-get-the-distribution-of-the-beam-spots/56733/2 "2023-10-16T10:49:57Z")

</div>

What exactly is plotted in this histogram?

---

<div class="post-metadata">

**Author:** ![XiCheng](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/x/aca169/32.png) [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Post date:** [October 17, 2023, 11:20am UTC](https://root-forum.cern.ch/t/how-to-get-the-distribution-of-the-beam-spots/56733/3 "2023-10-17T11:20:38Z")

</div>

It’s about the situation that when the proton beam passing through a position gas ionization chamber including X direction and Y direction copper strip as the electron collector like the plot below. while the coordinate information of the electrons collected in the copper strip on the two directions would be generated a distribution, I think it to be the beam spot, which can show the position information about the proton beam.

 ![image](https://root-forum.cern.ch/uploads/default/original/3X/5/0/5034e2452fcc8cd3cfb77961f74b45b9ba8350f1.jpeg)

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [October 17, 2023, 11:29am UTC](https://root-forum.cern.ch/t/how-to-get-the-distribution-of-the-beam-spots/56733/4 "2023-10-17T11:29:05Z")

</div>

I guess @hschindl can help you.

---

<div class="post-metadata">

**Author:** ![XiCheng](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/x/aca169/32.png) [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Post date:** [October 30, 2023, 1:01am UTC](https://root-forum.cern.ch/t/how-to-get-the-distribution-of-the-beam-spots/56733/5 "2023-10-30T01:01:13Z")

</div>

It is just like when a electron passing through the X position plate would have a coordinate in the X direction, while the same as the Y position plate. Put the X coordinate and Y coordinate information together in one plot ,then we can get the specific position information of the electron as well as the whole distribution.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [November 13, 2023, 1:01am UTC](https://root-forum.cern.ch/t/how-to-get-the-distribution-of-the-beam-spots/56733/6 "2023-11-13T01:01:53Z")

</div>

Closed on November 13, 2023, 1:01am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
