TGraphs not created in directory

Hi all,

I was wondering why TH1 are created on the directory while TGraphs don’t:

TGraphErrors *g = new TGraphErrors(10); 
g->SetNameTitle("g","gt"); 
TH1F* h = new TH1F("h", "ht", 10, -1, 1); 
gDirectory.ls();

Results in:

 OBJ: TH1F      h       ht : 0 at: 0x2026e00

N.

Only TH1, TTree and TEventList objects are automatically managed in the current directory (see chapter about object ownership).

Rene