Skip to content

Include SimulationConfig package in AnalysisBase

Chris Meyer requested to merge cjmeyer/athena:add-sim-config-to-ab into master

This follows up on MR !56349 (merged) which added ConfigFlags to AnalysisBase. Since SimulationConfig is a very light-weight package that was made so it could be used by ConfigFlags in AthAnalysis, it likely makes sense to add it to AnalysisBase as well. This gives users the ability to check ConfigFlags for things like simulation flavour in the same way as in Athena.

@jchapman: I made a small change to the _check_G4_version() function, since AnalysisBase doesn't necessarily have this information. Essentially, it now only fails if this information isn't available in Athena/AthAnalysis, and returns an empty string in AnalysisBase. Let me know if you'd prefer something else.

Tagging @tadej, @tbold, @fwinkl as people who commented on previous portions of this campaign.

Merge request reports

Loading