Hi there
I have two histograms being filled out in two different FOR loops:
h_hit_hitsperchannel1->Fill(hit.Channel());
AND
h_hit_hitsperchannel2->Fill(hit.Channel());
Remember they are in different FOR loops, which take different root files as input and hence they have different entries in them.
now to plot the residue (difference) I do the following, outside both the FOR loops:
h_hit_residue->Fill(h_hit_hitsperchannel1 - h_hit_hitsperchannel2);
When i do this, I see an empty canvas for residue (Image attached)
The entries for the two histograms are 21748 and 21326.
Could you guys please help with this?
Let me know if you need any more info.
-Avinay