Hi all,
I noticed a thing which I cannot explain.
I have a chain and every event have many hits. hit_energy is a vector.
chain.Draw(“Max$(hit_energy*(hit_layer == 2))”)
chain.Draw(“Max$(hit_energy)”, “hit_layer == 2”)
I Would expect those two histograms to have the same number of entries. Equal the number of events in the chain.
First line give me this number of entries as expected = Nevents
But number of entries from 2nd line is MORE than number of events.
And it varies if I change layer (3,4,5…).
As I expected the Max$ should give me only 1 hit_max per event.
Though this is not the case.
Am I missing something?
Thanks
ROOT Version: 6.18
Platform: Scientific Linux 7
Compiler: gcc 4.8.5