Linear Collider Forum

Home » Software Tools » org.lcsim » SpacePoint, SpaceVector etc
Re: SpacePoint, SpaceVector etc [message #1251 is a reply to message #1250] Fri, 02 November 2007 14:37 Go to previous messageGo to previous message
Dmitry Onoprienko
Messages: 26
Registered: May 2004
Location: Kansas State University
Hi Rob,

One advantage of SpacePoint compared to BasicHep3Vector is that it does "lazy" transformations between cartesian, spherical, and cylindrical representations. I also like having SpacePointVector to represent straight line segments in space (silicon strips, for example).

A serious disadvantage in my view is that any SpacePoint is a heavyweight object compared to BasicHep3Vector - it holds 7 doubles and a reference. So if I used it as a field in any hit class, for example, I would be wasting memory.

No idea why there are two spacegeom packages.

- Dima.

[Updated on: Sat, 10 November 2007 21:52]

Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bug in AIDA.SaveaAsZip
Next Topic:Units for material properties
Goto Forum:

Current Time: Wed Nov 20 22:26:38 Pacific Standard Time 2019
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software