Instead of using double I should declare a numeric type I want to use throughout. Alternatively use templates (but they are scary =(...).
This and others could be added to some header file called definitions.h or something that also contain other definitions like name of expected tree elements in root files.
I have created a definitions.h header file that, among other things, does contain the type I will be using. I still haven't updated all the code to use this instead of hard-coding double.
Instead of using double I should declare a numeric type I want to use throughout. Alternatively use templates (but they are scary =(...).
This and others could be added to some header file called
definitions.h
or something that also contain other definitions like name of expected tree elements in root files.