Could someone please post or point me to a working example that calls the function TH1::SetDefaultSumw2? I’m unsure of the syntax, and what if any header files must be included.
I’ve tried using:
#include<TH1.h>
and later in the macro:
TH1::SetDefaultSumw2();
but upon compilation I recieve the message:
error: SetDefaultSumw2' is not a member of
TH1’
Thanks very much for your help,
Shannon