CPAlgorithms: distinguish between MC and data when writing output branches
We allow to pass an optional list of branch mappings varsOnlyForMC
to the Output
block. This allows the use of a single config file for both MC and data runs, when the user requests MC-specific decorations to be written to the output (e.g. truth information like HadronConeExclTruthLabelID
for jets).
Merge request reports
Activity
- Resolved by Baptiste Ravina
CI Result SUCCESS (hash c1082424)Athena AnalysisBase AthAnalysis externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
AthAnalysis: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 6188] (remote access info)removed analysis-review-required label
added analysis-review-approved label
CI Result FAILURE (hash 59b66a7f)Athena AnalysisBase AthAnalysis externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
AthAnalysis: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 6195] (remote access info)- Resolved by Nils Erik Krumnack
CI Result SUCCESS (hash f6ad6d4e)Athena AnalysisBase AthAnalysis externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
AthAnalysis: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 6222] (remote access info)added review-user-action-required label and removed review-pending-level-1 label
added review-pending-level-1 label and removed review-user-action-required label
removed review-pending-level-1 label
added review-approved label
mentioned in commit f3b98eee
mentioned in merge request !70051 (merged)
24 25 25 26 def makeAlgs (self, config) : 26 27 28 self.vars = set(self.vars) 29 self.varsOnlyForMC = set(self.varsOnlyForMC) 30 # merge the MC-specific branches into the main list only if we are not running on data 31 if config.dataType() is not DataType.Data: 32 self.vars |= self.varsOnlyForMC - Comment on lines +28 to +32
@ravinab was there any fundamental reason to go with
set
here instead of lists? This tends to randomly reshuffle the branches in the output tree.
mentioned in merge request easyjet/easyjet!609 (merged)
mentioned in merge request !71009 (merged)