The dark photon decay vertex should be placed within the decay volume, it seems it is using incorrect value for both the end of the balloon and for the start, using target z0 which is the start of the target ??
|
P8gen.SetLmin((ship_geo.Chamber1.z - ship_geo.chambers.Tub1length) - ship_geo.target.z0 ) |
|
P8gen.SetLmax(ship_geo.TrackStation1.z - ship_geo.target.z0 ) |
@olantwin How can we best set them in the current FairShip definitions, such that it would not rely too much on what is put in front: maybe the end position using the SST first layer - decay volume length ?
Or maybe I misunderstand those params, but that is how they are used in the DPPythia8Generator class:
|
Double_t LS = gRandom->Uniform(fLmin, fLmax); // mm, G4 and Pythia8 units |
So should be start and end of vessel, simply...
The dark photon decay vertex should be placed within the decay volume, it seems it is using incorrect value for both the end of the balloon and for the start, using target z0 which is the start of the target ??
FairShip/macro/run_simScript.py
Lines 349 to 350 in ba0b073
@olantwin How can we best set them in the current FairShip definitions, such that it would not rely too much on what is put in front: maybe the end position using the SST first layer - decay volume length ?
Or maybe I misunderstand those params, but that is how they are used in the DPPythia8Generator class:
FairShip/shipgen/DPPythia8Generator.cxx
Line 260 in 4814bbf
So should be start and end of vessel, simply...