diff --git a/Phys/DaVinciMCTools/python/DaVinciMCTools/MCTruthAndBkgCat.py b/Phys/DaVinciMCTools/python/DaVinciMCTools/MCTruthAndBkgCat.py index 839901bb44789f20adb2aeec0c1fb0e436ae7efd..e683541752a811c674ec2495de7e58ce0f948d5c 100644 --- a/Phys/DaVinciMCTools/python/DaVinciMCTools/MCTruthAndBkgCat.py +++ b/Phys/DaVinciMCTools/python/DaVinciMCTools/MCTruthAndBkgCat.py @@ -8,7 +8,6 @@ # granted to it by virtue of its status as an Intergovernmental Organization # # or submit itself to any jurisdiction. # ############################################################################### - from typing import Optional import Functors as F # type: ignore[import] @@ -120,9 +119,7 @@ class MCTruthAndBkgCat: root_in_tes = "/Event" relations = relations_locs - mc_parts = get_mc_particles( - root_in_tes + "/MC/Particles" # type: ignore[operator] - ) + mc_parts = get_mc_particles() # Tool used by DaVinciSmartAssociator p2mctool = P2MCPFromProtoP(