Hi,
I’d like to be able to access the name of a Histogram eg:
TH1F * theMCMETHist = new TH1F(“mcMET”,“MC MET <>”,200,0.,500.);
Is this possible? I can’t see anything obvious in the documentation. I’m using version 3.10/02
Cheers
Simon
Hi,
I’d like to be able to access the name of a Histogram eg:
TH1F * theMCMETHist = new TH1F(“mcMET”,“MC MET <>”,200,0.,500.);
Is this possible? I can’t see anything obvious in the documentation. I’m using version 3.10/02
Cheers
Simon
Hi Simon,
You can get the title (“MC MET”) by
and the name (mcMET) by:
Cheers, Ilka
Ahh great, thought it was something simple but didn’t spot these in root.cern.ch/root/html310/TH1.html (I forgot to look down at TNamed).
Thanks!