Hi, I don’t know I can ask here my question.
I have tried to normalization with two method.
- with DrawNormalized
- with Scale 1 and Draw.
My friend said that "DrawNormalized " also gives the plot which entries are normalized by 1. However I have obtained quite difference results for two cases.
I have attached my histograms to help your understanding
- original histogram
- Draw Normalized
- Scaled by 1 then Draw
4.second and third histogram draw “same”
I have uploaded again histograms
See the documentation of this method. You can also look at the code to see what is done exactly.
I read the “documentation” of DrawNormalized() before the posting. I saw the code also but It is not clear the meaning.
I also asked this problem to experts(than me) but they also don’t know why two drawing methods give me a different result.
That’s why I asking here.
I have tried to change like below, but I have the same results.
Can you tell me more detail why the two draw method give the different results?
2020년 4월 1일 (수) 오전 2:33, Olivier Couet via ROOT Forum firstname.lastname@example.org님이 작성:
Looking at the code we can tell that DrawNormalized do:
Double_t sum = h->GetSumOfWeights();