I got a problem with my code (see below), could you maybe suggest me I solution ?
My problem is that my histogram behaves strangely… I think the problem is coming from the bitmask
e.g. bitmask = 0b100111000101
I would like perform this bitwise operation direction into the function TTree::Draw()
(i mean no redoing a loop over entries)
My histograms looks proportional to the correct value, but wrong… Since I’m getting more high histogram with TCut than the raw one…
I’m not sure that the bitwise operation & works as I expect
(since I guess it do not seems to have been implemented as well… (cF. in the documentation))
How does the actual behavior differ from your expectation. Can you take a look at the result of
t->Scan("branch1:bitmask:bitmask&0x100");cheers,
Philippe.