Hi,
Can any one tell me how do we get the mean , rms values of the various ntuple variables in the root file.
My try is as follows:
{
gROOT->Reset();
TFile *r = new TFile("g1onaxis.root");
TTree *tree = (TTree*)r->Get("TKR_Hits_In_Lyr_0");
Float_t mean = tree->GetMean();
}
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:45 MET