Skip to content
Snippets Groups Projects
Commit 8f5ce69d authored by Edward Moyse's avatar Edward Moyse Committed by Atlas Nightlybuild
Browse files

Merge branch 'master-diff-root-safety-check' into 'master'

Explicitly check the validity of the objects before asking for their elements in diff_root_files.py

See merge request atlas/athena!24861

(cherry picked from commit dfc75f37)

f6e28539 Explicitly check the validity of the objects before asking for their elements.
parent 9a9a4ea4
No related branches found
No related tags found
34 merge requests!76035Updated rel21 number,!63304adding missing electron iso WPs (Tight_VarRad, Loose_VarRad, TightTrackOnly_VarRad),!62053Merge branch 'sh_xrd_warning' into 'master',!61521fix maxPVrefit,!59663fixed a typo in HIGG8D1 format (followup of https://gitlab.cern.ch/atlas/athena/-/merge_requests/59575),!50754Return TruthTaus from truth matching tool in SUSY tools,!48850Added new HDBS derivation (HDBS3),!46643Draft:Adding MET Significance in AT,!46320Draft: Adding support for Leading3SignalJets strategy,!45689Bug fix: Use wrong vector to calculate largest bin number in findBin(),!45211Update in the FFJetSmearingTool,!44864Draft: WIP- MuonUncorrelateSystematics,!43718Modification of EXOT17.py for fractionally charged particle search,!40581Fix crash in egamma topocluster decorator,!37848Add TrigRingerRings to EGAM3, EGAM4 and EGAM9,!36766Truth class fallback max dr,!35816Add HardScatterParticles into the EXOT8 Derivation,!35273Fix JETM1: add back TruthEvents,!34244WIP: 21.2 topq1 add rc jets 2020 06 27,!34182Merge new MCTruthClassifier developments into master,!34164Use allMuons instead oc combinedOnly for BPHY15,!33109Add delta-R to nearest VR track jet decoration,!33012Adding Prompt Lepton Improved Veto to TOPQ,!32637WIP: Add tracks in R=0.4 jets to STDM11,!32353WIP: Fix rare bug in jet smearing RNG seed,!32051Fix of compilation warnings in CPAnalysisExamples,!31361WIP: AnalysisTop Update - New Muon Isolation WPs included,!30796Reducing number of warnings in MuonEfficiencyCorrections when missing dRJet decoration,!30295Move from boost::filesystem to std::filesystem,!29180WIP: Add multiplicity calculations to JetEtMiss code,!27299WIP: Turning b-jet thinning off in SUSY1 (permanent?),!27094JETM8 UFO fix,!26641Rename member functions to start with lower case,!24933Sweeping !24861 from master to 21.2. Explicitly check the validity of the objects before asking for their elements in diff_root_files.py
Pipeline #981763 passed
......@@ -261,7 +261,7 @@ def main(args):
read_old = True
read_new = True
if (args.order_trees and d_old[-1] == d_new[-1]) or d_old == d_new:
if (args.order_trees and d_old and d_new and d_old[-1] == d_new[-1]) or d_old == d_new:
n_good += 1
continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment