[ROOT] TTree, std::map

From: Phil Adamson (pa@hep.ucl.ac.uk)
Date: Wed Sep 12 2001 - 18:09:33 MEST


Hi Folks, 

I have a map (in fact, map<pair<int,int>,int>) that I would like to use as
a branch in a TTree. As far as I can see from the documentation, I can
only put basic types or TObjects into TTrees. So does that mean that I
have to wrap my map in a TObject? Have I misread the docs, and I can put
bare maps in a TTree?

Is anyone else putting maps in a TTree? What do you do?
	
	Phil



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