Fix IDPVM to run on data samples
Very simple typo fix that adds a missing comma such that TruthPileupEvents
is set to the empty string instead of None
when running on data. Otherwise the following error pops up:
Traceback (most recent call last):
File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-06-06T2101/Athena/23.0.0/InstallArea/x86_64-centos7-gcc11-opt/share/runIDPVM.py", line 65, in <module>
acc.merge(InDetPhysValMonitoringCfg(ConfigFlags))
File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-06-06T2101/Athena/23.0.0/InstallArea/x86_64-centos7-gcc11-opt/python/InDetPhysValMonitoring/InDetPhysValMonitoringConfig.py", line 318, in InDetPhysValMonitoringCfg
monMan.AthenaMonTools += [ acc.popToolsAndMerge(creator(flags)) ]
File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-06-06T2101/Athena/23.0.0/InstallArea/x86_64-centos7-gcc11-opt/python/InDetPhysValMonitoring/InDetPhysValMonitoringConfig.py", line 152, in InDetPhysValMonitoringToolCfg
tool = CompFactory.InDetPhysValMonitoringTool(**kwargs)
File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-06-06T2101/AthenaExternals/23.0.0/InstallArea/x86_64-centos7-gcc11-opt/python/GaudiConfig2/_configurables.py", line 167, in __init__
setattr(self, key, value)
File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-06-06T2101/AthenaExternals/23.0.0/InstallArea/x86_64-centos7-gcc11-opt/python/GaudiConfig2/_configurables.py", line 61, in __set__
instance._properties[self.name] = self.semantics.store(value)
File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-06-06T2101/Athena/23.0.0/InstallArea/x86_64-centos7-gcc11-opt/python/AthenaConfiguration/AtlasSemantics.py", line 70, in store
raise TypeError(f"cannot assign {value!r} ({type(value)}) to {self.name}"
TypeError: cannot assign None (<class 'NoneType'>) to TruthPileupEvents, expected string or DataHandle
Merge request reports
Activity
added InnerDetector master review-pending-level-1 labels
CI Result SUCCESS (hash aaad0930)Athena AthSimulation AthGeneration AnalysisBase AthAnalysis DetCommon externals cmake make required tests optional 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
AthSimulation: number of compilation errors 0, warnings 0
AthGeneration: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
AthAnalysis: number of compilation errors 0, warnings 0
DetCommon: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 53786]added review-approved label and removed review-pending-level-1 label
mentioned in commit 476272b2
added sweep:ignore label