add syntactic sugar for type registration
With this change set, the following are equivalent:
-
handler().registerType<YODA::BinnedEstimate<double, int, string, double>>(); handler().registerType<YODA::BinnedHisto<double, int, string, double>>(); handler().registerType<YODA::BinnedProfile<double, int, string, double>>();
-
RIVET_REGISTER_TYPE(YODA::BinnedEstimate<double, int, string, double>); RIVET_REGISTER_TYPE(YODA::BinnedHisto<double, int, string, double>); RIVET_REGISTER_TYPE(YODA::BinnedProfile<double, int, string, double>);
-
RIVET_REGISTER_BINNED_SET(double, int, string, double);