Hi Wim,
Thanks for the look.
I guess I was wary of using the python bool object since I thought that I read that some objects like float or double are of different sizes in python/c++. (Not a python expert)
What do you mean by this? If my tree were originally created in a c++ job I could still do what you suggest?
Looking more closely at your advice in other posts, namely:
I can just do:
Loop over Entries in Tree :
passed_skim = False
for trigger in list_of_triggers :
if(getattr(ch, trigger)) :
passed_skim = True
break
if passed_skim :
do stuff...
Which is much simpler and easier to read! Should have looked more carefully at previous posts.
Speed is not an issue for this task.
Thanks,
Justin