EVE sign of charge or field wrong

Hello,

I have noticed that particles are bending the wrong way in a uniform magnetic field.
I create TEveTracks using the TParticle constructor, which has PDG code in it.
I have seen this post Locate like command but everyone in the world knows which way an electron should bend in the magnetic field. Shouldn’t this be fixed?

Cheers,
Whit

Hi Whit,

Historically, this bug comes from a wrong MF sign in ALICE simulation :slight_smile:

Changing this now would break everybody’s code. Just change the sign of magnetic field when you pass it to Eve.

Cheers,
Matevz

Hi Matevz,

Then I would suggest that this mistake be heavily documented, not just on the forums. :laughing:

Cheers,
Whit

Hi Whit,

Agreed … and done :slight_smile: I always thought of it as an initiation test :wink:

Cheers,
Matevz