JeffersonLab / hps-java

HPS reconstruction and analysis framework in Java
2 stars 10 forks source link

detector compact with target #948

Open bloodyyugo opened 1 year ago

bloodyyugo commented 1 year ago

Create an example detector which includes the target

bloodyyugo commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

bloodyyugo commented 1 year ago

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