-
Notifications
You must be signed in to change notification settings - Fork 3
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
Photon process #13
Comments
After some work on the Selectors (need to add units and a conversion from deg->rad->eta etc: Photon91.0 sqrts= 91: Correcting by had the .sin for whizard: Running by hand Babayaga (with the script): Not bad, I would say :) -> it could be that only the "unweighted" cross section is transmitted to LHE, however even requesting only 100 events unweighted (changed as the only parameter) leads to a minutes long processing without result. I will check with Fulvio? |
Hi @dirkzerwas, Regarding the choice of deg or rad, I would follow the experimental convention i.e if they set the resolution of the detector in degrees we use degrees. I am not aware if this is universal though between the experiments. I would vote for radians and if people complain we can always add an option to specify |
Hi @apricePhy, sounds good in LHC world it's eta, in ALEPH it was degrees in analysis (mostly for 180. and avoiding to rounding effects due to pi in analyses), but also rad for the angular acceptance of forward lumi-cals. I tried to do something (see main branch) for angles: I have used it in Whizard, Madgraph, Babyaga to ensure a consistent setting according to the generator (Babayaga needs degrees, Whizard accepts degrees, but the default is rad, so we would need to write out the unit as well, breaking the nice logic you implemented. One thing I noticed: current the "name" in the selector class is the process name, it could be helpful to add the name of the selector key (currently not transmitted), then it is easier to steer the unit (eg if "selector name == theta or rap or pseudorapidity or..... do the "deg,rad,eta" conversion. Just a thought.... Dirk
|
Carlo provided an upgrade to Babayaga to write the cross section to the LHEF. The two files are now in the hands of Gerri and Juan to update the KEY4HEP version. Once it's in the nightlies and we have checked, we can close this issue. |
Juan implemented Carlo's changes, the fix works (tested on alma). |
Hi @apricePhy,
I added PhotonProduction to the examples for Sherpa and gave Babayaga a try (runs awkwardly).
One thing I noticed:
Babayaga provides an lhe file, but the line for cross sections is empty, I will check with Fulvio if he knows,.....
There is a problem in the definition of the finalstate for whizard.py:
This usually works, but if we have two equal particles in the final state (gamma, gamma) or ZZ, the list(_finfo) will return only a single particle.
Need to look at this....
The text was updated successfully, but these errors were encountered: