Hello,
I am drawing histograms from my tree the easy way:
TH1F *h_fakeet1 = new TH1F(“h_fakeet1”,“h_fakeet1”,50,-2.,2.);
tfull2->Draw(“etTrueminusRecN/etTrueNonInt>>h_fakeet1”,cu1&&cu2);
(Where tfull2 is my tree and cu1 and cu2 are cuts.)
I then want to superimpose the same histogram without cut 2:
TH1F *h_fakeet1w = new TH1F(“h_fakeet1”,“h_fakeet1”,50,-2.,2.);
tfull2->Draw(“etTrueminusRecN/etTrueNonInt>>h_fakeet1w”,cu1,“SAME”);
But now I need to scale them… but adding scale factors does not appear to work here, ie
tfull2->Draw(“etTrueminusRecN/etTrueNonInt>>h_fakeet1w”,cu1,65,“SAME”);
(and so on) don’t make sense to root.
So what I really want to do is create the histogram without drawing it, so that I can then normalize it before drawing it.
Thankyou in advance for any suggestions
Lily