From bf653f3d64de46ca33f838b1b95c643e9823e3f1 Mon Sep 17 00:00:00 2001 From: Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> Date: Mon, 15 Jul 2024 10:44:02 +0200 Subject: [PATCH] Remove or change a few headers for objects and collections (#641) Co-authored-by: jmcarcell --- python/templates/Collection.h.jinja2 | 5 +---- python/templates/MutableObject.h.jinja2 | 3 +-- python/templates/Object.h.jinja2 | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/python/templates/Collection.h.jinja2 b/python/templates/Collection.h.jinja2 index b57864cc7..56a2c5e89 100644 --- a/python/templates/Collection.h.jinja2 +++ b/python/templates/Collection.h.jinja2 @@ -7,7 +7,6 @@ #define {{ package_name.upper() }}_{{ class.bare_type }}Collection_H // datamodel specific includes -#include "{{ incfolder }}{{ class.bare_type }}Data.h" #include "{{ incfolder }}{{ class.bare_type }}.h" #include "{{ incfolder }}Mutable{{ class.bare_type }}.h" #include "{{ incfolder }}{{ class.bare_type }}Obj.h" @@ -16,15 +15,13 @@ // podio specific includes #include "podio/ICollectionProvider.h" #include "podio/CollectionBase.h" -#include "podio/CollectionIDTable.h" #if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__) #include "nlohmann/json_fwd.hpp" #endif -#include +#include #include -#include #include #include #include diff --git a/python/templates/MutableObject.h.jinja2 b/python/templates/MutableObject.h.jinja2 index 19af5e3a3..be0cd8805 100644 --- a/python/templates/MutableObject.h.jinja2 +++ b/python/templates/MutableObject.h.jinja2 @@ -15,8 +15,7 @@ #include "podio/utilities/MaybeSharedPtr.h" -#include -#include +#include #if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__) #include "nlohmann/json_fwd.hpp" diff --git a/python/templates/Object.h.jinja2 b/python/templates/Object.h.jinja2 index acee909be..077fe8763 100644 --- a/python/templates/Object.h.jinja2 +++ b/python/templates/Object.h.jinja2 @@ -14,7 +14,7 @@ #include "podio/utilities/MaybeSharedPtr.h" #include -#include +#include #if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__) #include "nlohmann/json_fwd.hpp"