[ROOT] TClonesArray of tracks : case of tracks with error matrices

From: Pasha Murat (630)840-8237@169G ((630)840-8237@169G)
Date: Wed Apr 18 2001 - 06:54:55 MEST


Dear ROOTers,

recently I came across a technical problem, which hopefully has already been 
solved. Here it is:

- I have a list of reconstructed tracks, each of tracks has its 
  covariance matrix defined. Track data is a fixed length record.

- for many reasons, in particular, in order to optimize the performance,
  I'd like to keep the tracks in TClonesArray.

- the problem is related to the choice of the representation for the 
  track error matrices: I don't see a proper matrix class in ROOT, which would
  allow to store tracks in TClonesArray. TMatrix* classes allocate memory 
  dynamically and this seems to exclude them from the consideration. 

I certainly realize that I can use TObjArrays to keep tracks. THe question,
however is if there is any way to have track covariance matrix represented by 
one of the ROOT matrix classes and the tracks stored in TClonesArray's?

							thanks, Pasha



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:43 MET