Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detector compact with target #948

Open
bloodyyugo opened this issue Mar 1, 2023 · 5 comments
Open

detector compact with target #948

bloodyyugo opened this issue Mar 1, 2023 · 5 comments
Assignees

Comments

@bloodyyugo
Copy link
Contributor

bloodyyugo commented Mar 1, 2023

Create an example detector which includes the target

@bloodyyugo bloodyyugo self-assigned this Mar 1, 2023
@bloodyyugo
Copy link
Contributor Author

I pushed branch iss948 with a new detector called "Target-Test" which includes the target. The compact is just a copy of the HPS_PhysicsRun2019-v2-FEE-Pass0 compact with the target inserted as an 8u Tungsten "box" at -7.5mm.

I also set up the target as a scoring plane so that MC "hits" and interactions can be saved. The should be saved in a collection of SimTrackerHits called "TargetScoring".

One thing I did not do here was rotate the target the 30mrad around the y-axis. Probably that should be done.

Below is an hps-eve display of the target and first few Si layers for the Target-Test detector. The target is red, the orangish blob is the origin (0,0,0).

image

@mholtrop
Copy link
Collaborator

mholtrop commented Mar 1, 2023

Hey Matt,
Do you really need to rotate the target by 30mrad? I think that the actual target in the detector is not rotated, and we rotate the beam in MC by ~30mrad to correspond to the actual direction of the beam as it hits the target.
Is this detector to do beam background studies?
We need to be careful when using this detector with the standard MC chain, where the target is handled by EGS5, so we don't double count the target. But I assume you knew that already.

@normangraf
Copy link
Contributor

As Maurik points out, we need to be very careful when we simulate the target as part of the detector. It introduces a world of complications that can really mess things up. We should have a meeting (advertised well in advance) to discuss how best to proceed.

@bloodyyugo
Copy link
Contributor Author

Clearly this test compact including the target is intended to test simulations using GEANT4 for electrons through the target and not EGS.

@bloodyyugo
Copy link
Contributor Author

Regarding the rotation...I wasn't sure whether we need it or not so I left it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants