public :
TH1F* test;
private :
TFile* f;
whereas in the code of my class I do :
f=new TFile("data.root");
test=new TH1F(.........); // ... represent the usual arguments
test->Add(h1,h2);
The result is that in my browser I see under ROOT files indeed the
file "data.root" with all the original histograms and also the new
histo "test".
However, I would like to have the histo "test" present in the "memory
mapped files" which appears in my browser.
How can I achieve that ?
Thanks,
Nick.
*----------------------------------------------------------------------*
Dr. Nick van Eijndhoven Department of Subatomic Physics
email : nick@fys.ruu.nl Utrecht University / NIKHEF
tel. +31-30-2532331 (direct) P.O. Box 80.000
tel. +31-30-2531492 (secr.) NL-3508 TA Utrecht
fax. +31-30-2518689 The Netherlands
WWW : http://www.fys.ruu.nl/~nick Office : Ornstein lab. 172
----------------------------------------------------------------------
tel. +41-22-7679751 (direct) CERN PPE Division / ALICE exp.
tel. +41-22-7675857 (secr.) CH-1211 Geneva 23
fax. +41-22-7679480 Switzerland
CERN beep : 13+7294 Office : B 160 1-012
*----------------------------------------------------------------------*