Alignment and tracking

Hi all,
what should I do to navigate a geometry in which I used TGeoPhysicalNode to (mis)align volumes?

Can I simply do it in 3 steps:

  1. create TGeoPhysicalNode’s
  2. (mis)align them with new matrices
  3. use TGeoNavigator::FindNextBoundaryAndStep() method
    ?

How is the (mis)aligned geometry propagated to navigator?

Many thanks in advance,
Marco

Hi all,
I think I found a solution. I was missing a

void RefreshPhysicalNodes(Bool_t lock = kTRUE)

 

call. And I was (wrongly) looking only at global coordinates in navigation (which are of course unaffected by local misalignement); checking navigation points in local coordinates gave me the right answer.

Marco