Hi, Try 'TH1* htemp = (TH1*)gROOT->FindObject("htemp")' after calling TChain->Draw. The temporary histogram exists (with the name "htemp"); it's just a hair more work to get a handle on it in compiled code than in CINT because you have to attach it to an explicitly declared variable. -Ben Norman ----- Original Message ----- From: "Cyril Lachaud" <lachaud@lpnax1.in2p3.fr> > I'm working on a shared library (so not "in line"). > > I would like to know how to access to the histo filled after the > TChain->Draw method... (to modify axis for time format for example). > > As far as I know this histo is called by default "htemp". But how can I do > htemp->GetXaxis->SetTimeFormat() ?
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:37 MET