Creating a new leaf by making calculations in another leaf

you can use TTree::GetMaximum, Minimum,eg

double xmin = fChain->GetMinimum("unix_seconds"); double xmax = fChain->GetMaximum("unix_seconds"); TH1* timeHist = new TH1D("unix_seconds","Zeit",10000,xmin,xmax);

Rene