Problems with filling a histogram from Tree File

Your “photonbeam_E” branch is a variable length array of “Double_t” values (the actual length, “treeTagger” entry number specific, is given by the “nTagged” branch as an “Int_t” value), so it is not a simple “Double_t” variable.