Hi,
Is there a simple way to use a TGeoHMatrix to transform vectors and points? I can’t find one…
cheers
Joa
Hi,
Is there a simple way to use a TGeoHMatrix to transform vectors and points? I can’t find one…
cheers
Joa
Hi,
For any class deriving from TGeoMatrix you can convert points/vectors from master<->local frame using:
LocalToMaster(const Double_t *local, Double_t *master)
LocalToMasterVect(same args, but representing the components of a vector)
MasterToLocal(const Double_t *master, Double_t *local)
MasterToLocalVect(same args)
Regards,
Hi,
Thanks. You’re fast
cheers
Joa