Without code example we cannot reproduce the problem. TEveProjection::kPT_XZ is valid constant for projection types.
Probably @matevz could help more once you provide code which is not working.
Ah Ok, so it could be that we are projecting into some strange plane. I was more thinking it could be some sort of plotting feature which might be easy to recognise, like some sort of leak (although this is the first events so unlikely). The helix is made of a series to TEveLines. Points on the lines are derived from a Kalman Fit. Prining out the x,y,z coordinates and plotting those in a simple XZ (Z=horiztonal) plane in a plotting macro shows a “sine wave” like structure which is what I was expecting to see. I cant really visualize if this type of feature is a result then of this being projected into some strange plane or if its a plotting feature. The reason I was favouring this being in some plotting feature is that the distortion seems to vary. Some tracks look almost correct in shape but others have jagged lines such as in this example.
As an update I made a XZ plot but intead of using X I used SQRT(X^2+Y^2)*SIGN(Y) as per the wiki you sent…the track looks like my event display so I expect that this is just the issue…I will wait until we upgrade to v6.24…
It depends where your y=0 plane is. If the helix is at y<0 or y>0 all the time, you won’t see a “jump” … it happens when y=0 plane is crossed and x is non-zero.
Yes, the center of the tracker is 0,0,0 so it is crossing that plane. I can try to do some transformation and see if that helps. It could be that the tracks which look OK are all to one side of y=0…that would make sense
Yes, shifting the track to be above or below y seems to work. The only issue is I need to shift the detector too. The detector is a TEveGeoShape…presumably I can do a basic translation with such an object?
Hmmh … it seems you are really after side-view, not RhoZ view. We could add other projection types like TEveProjection::kPT_XZ to cover other coordinate combinations … probably YZ for side-view along x-axis.
Unless your detector really has cylindrical geometry.
See also the top of https://root.cern.ch/doc/master/classTEveTrackPropagator.html
for enum EProjTrackBreaking_e { kPTB_Break, kPTB_UseFirstPointPos, kPTB_UseLastPointPos } that controls what happens when projected tracks cross sub-space of a projection.