How to get an Histogram ?

From: Jordi Nadal <jnadal_at_ifae.es>
Date: Wed, 7 Sep 2011 17:01:00 +0200


Hello experts,

Basically what I want to do is:

TFile *file = TFile::Open("PSE/JO_muon_PSE_RbFree/sumRootFile.root"); TTree* HangingTree = (TTree*) file->Get("HangingTree"); HangingTree->Draw(raw+">>histo");

is there a better way to "get " this histo?

I would like to do is histo->GetMean() and doing it like above I get wrong numbers…

Many thanks,
Jordi Received on Wed Sep 07 2011 - 17:01:10 CEST

This archive was generated by hypermail 2.2.0 : Wed Sep 07 2011 - 17:50:02 CEST