124 TypeRegexes type_regexes = {
125 {
".*_isDefaults"_r, EDMType::CHAR},
126 {
"sumPt2|sumPt|chi2Over_ndf|z_asymmetry|weighted_z_asymmetry|z_kurtosis|z_skewness|photon_deltaz|photon_deltaPhi|actualIntPerXing"_r, EDMType::FLOAT},
127 {
"ntrk"_r, EDMType::INT},
128 {
"(log_)?pt|abs_eta|eta|phi|energy|mass"_r, EDMType::CUSTOM_GETTER},
132 {
"ntrk|sumPt2|sumPt|chi2Over_ndf|z_asymmetry|weighted_z_asymmetry|z_kurtosis|z_skewness|photon_deltaz|photon_deltaPhi|actualIntPerXing"_r,
""},
133 {
"((log_)?pt|abs_eta|eta|phi|energy|mass)"_r,
""}};
135 std::vector<HSGNNInputConfig> input_config;
137 std::vector<std::string> input_names;
138 for (
const auto&
var:
node.variables) {
139 input_names.push_back(
var.name);
141 input_config = get_input_config(input_names, type_regexes, default_flag_regexes);
145 std::vector<std::pair<std::string, std::vector<std::string>>> constituent_names;
148 std::vector<std::string>
names;
149 for (
const auto&
var:
node.variables) {
155 std::vector<ConstituentsInputConfig> constituent_configs;
156 for (
auto el: constituent_names){
157 constituent_configs.push_back(
161 return std::make_tuple(input_config, constituent_configs);