Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we import instrument-specific XML attributes file? #511

Open
prjemian opened this issue Aug 27, 2024 · 4 comments
Open

Can we import instrument-specific XML attributes file? #511

prjemian opened this issue Aug 27, 2024 · 4 comments
Labels

Comments

@prjemian
Copy link
Contributor

We want a main attributes file that imports from a detector-specific file. Is this possible now? What work would it take to add it?

@EmilioPeJu
Copy link
Member

Do you mean if including another file is supported?

@prjemian
Copy link
Contributor Author

prjemian commented Oct 3, 2024 via email

@MarkRivers
Copy link
Member

@prjemian what is the syntax for that? Are there any examples in AdSimDetector or elsewhere?

@mp49
Copy link
Contributor

mp49 commented Nov 11, 2024

We handle this by using an external script that builds multiple XML files, each one for a different detector.

Although, there seems to be built-in XML support for this:
https://stackoverflow.com/questions/5121052/can-we-import-xml-file-into-another-xml-file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants