[ROOT] TMatrix

From: Balint Radics (radbal@pegazus.phys.klte.hu)
Date: Thu Sep 23 2004 - 18:22:29 MEST


Hello,

I would like to rotate set of points (x,y,z) in 3D. Which class should I 
use to do that?I didn't find any rotational functions in the TMatrix class.
I found general transformational functions only in the TGeoMatrix classes 
but that belongs to the detector geometry classes,don't they?
Or maybe I am wrong.
And do you have little example scripts for matrix transformation?
I mean general rotation or translation functions.Like:

 m = new TMatrix(3,1,elements);
 m->Rotate(phi,theta);	

etc....

I am trying to MC-simulate ellipsoid showers of hadrons in a detector...

Thanx in advance,

radbal



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET