Hi there
I’d like to define TTreeFormula using enum names. With a naive implementation, an error is returned saying the enum name is not recognized. Is there a way we can make TTreeFormula aware of the existence of extra enums?
An example:
enum eventType{
SubGeV_elike_0dcy = 1,
SubGeV_elike_1dcy
};
f = new TTreeFormula("f", "type == SubGeV_elike_0dcy", myTree);
Cheers!
Adrien
Please read tips for efficient and successful posting and posting code
ROOT Version: 6.22/08
Platform: macOS
Compiler: clang