key4hep / k4GeneratorsConfig

0 stars 1 forks source link

Spin/Polarization per particle in HepMC #12

Open dirkzerwas opened 2 months ago

dirkzerwas commented 2 months ago

Whizard running pol (DiFermion_Polarized, but turning off Beamstrahlung) results in the following hepmc output: WhizardPolarized.txt

From the description of HepMC I would have expected two attributes per polarized particle: theta and phi, but from the file I see no information.

In the Whizard converter to HepMC the theta and phi attributes are filled here: https://gitlab.tp.nt.uni-siegen.de/whizard/public/-/blob/master/src/hepmc/HepMC3Wrap.cpp?ref_type=heads#L383 but it's not in the output? Never called/filled?

apricePhy commented 2 months ago

Very odd, they are normaly quite reliable when it comes to polarization

On 22. Apr 2024, at 17:50, Dirk Zerwas @.***> wrote:

UWAGA: Wiadomość pochodzi od zewnętrznego nadawcy.

Whizard running pol (DiFermion_Polarized, but turning off Beamstrahlung) results in the following hepmc output: WhizardPolarized.txthttps://github.com/key4hep/k4GeneratorsConfig/files/15065370/WhizardPolarized.txt

From the description of HepMC I would have expected two attributes per polarized particle: theta and phi, but from the file I see no information.

In the Whizard converter to HepMC the theta and phi attributes are filled here: https://gitlab.tp.nt.uni-siegen.de/whizard/public/-/blob/master/src/hepmc/HepMC3Wrap.cpp?ref_type=heads#L383 but it's not in the output? Never called/filled?

— Reply to this email directly, view it on GitHubhttps://github.com/key4hep/k4GeneratorsConfig/issues/12, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BC3NHSDL2UCPT5J2IIB7KWTY6UWS7AVCNFSM6AAAAABGTBTHIKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TMOBZGY2TSNQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>

dirkzerwas commented 2 months ago

Hi @apricePhy,

do you have a SHERPA output hepmc3 with polarization? 10 events are enough. It's just to test the decoding in the Writer while I wait for Juergen's answer.

Cheers, Dirk

apricePhy commented 2 months ago

Hi Dirk,

I do not. It seems we do not write out polarization information. I will iterate with the other sherpas

Cheers, Alan

On 23. Apr 2024, at 11:51, Dirk Zerwas @.***> wrote:

UWAGA: Wiadomość pochodzi od zewnętrznego nadawcy.

Hi @apricePhyhttps://github.com/apricePhy,

do you have a SHERPA output hepmc3 with polarization? 10 events are enough. It's just to test the decoding in the Writer while I wait for Juergen's answer.

Cheers, Dirk

— Reply to this email directly, view it on GitHubhttps://github.com/key4hep/k4GeneratorsConfig/issues/12#issuecomment-2071885581, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BC3NHSARH3G7CSUHD5HZTVDY6YVL5AVCNFSM6AAAAABGTBTHIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRHA4DKNJYGE. You are receiving this because you were mentioned.Message ID: @.***>