Re: Using THashTable

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Mar 11 1999 - 17:28:46 MET


Hi Piotr,

 sorry for the late reply. Could you try to put the TROOT ctor inside
the
main program. Like:

main()
{
  TROOT t("t","test THashTable and MPar");
  MPar params[3];
  THashTable tb;
  ...
}

TROOT initializes the registered dictionaries. Sometimes it might happen
that
at the time the global TROOT is called some dictionaries have not yet
been
registered (via other global objects, since the order of initialization
is
in principle undefined).

Cheers, Fons.


Piotr Swiat wrote:
> 
> I've tried to used THashTable class in order to give every parameter in
> event
> a nickname. I am using root v2.20 and I have following files:
> 

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:30 MET