Reading ttree and filling hist doesn't work

The below macro basically reads a tree and plots h1 and h11 in two different ways.
However it plots h1 nicely, but h11 shows empty. I couldn’t figure out why ? Any help.
I am attaching a test.C macro.

-Sanjay
test.C (2.01 KB)

Hard to judge without your ROOT file.
Try “mc_reco->Print();” and make sure that the branch “bMass” exists and is a “Double_t”.

Note: before you exit your “test()” routine, you should say “mc_reco->ResetBranchAddresses();”.