Hi Rooters,
I would like to bin my Ntuple in the log10 scale and then fill a histo with this changed ntuple.
My code at the moment looks like this:
TString Inputfile1 = “/data/mwright/DminTool/OUTPUT/AlpgenJimmyttbarlnqqNp0.root”;
TString n1 = “AntKtDminNoCal_dmin_01_”;
TFile g = new TFile(Inputfile1);
TTree b = (TTree*)gDirectory->Get(“D3PD”);
TH1F AntKtDminNoCal_dmin_01_norm1_np0 = new TH1F(“AntKtDminNoCal_dmin_01_norm1_np0”,"Jet 0-1 Dmin Value Norm to 1/LumiBinWidth Np0",10000,0,1000000);
…
…
…
b->Draw(“AntKtDminNoCal_dmin_01_>> AntKtDminNoCal_dmin_01_norm1_np0”);
I would need to take the Log10 of each bin in the AntKtDminNoCal_dmin_01_ Ntuple. Does anyone know how I would go about this?
Then stick this into the AntKtDminNoCal_dmin_01_norm1_np0 histogram
Cheers,
Mike