Project

General

Profile

Support #1719

double xyz[3] or TVector3?

Added by Mark Messier about 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
08/22/2011
Due date:
% Done:

0%

Estimated time:
Duration:

Description

The NOvA Geometry is coded to represent 3 vectors almost exclusively as arrays of doubles while the RecoBase classes use ROOT's TVector3 almost exclusively. I think it would be best in the long run to pick a standard. The issues as I see them:

- TVector3 provides lots of nice functionality at the expense of C++ overhead
- arrays of doubles make for faster code but frequently require one to reinvent some of the TVector3 functionality

Thoughts?



Also available in: Atom PDF