diff --git a/python/LIController.py b/python/LIController.py index 58b993a2..95f53af5 100644 --- a/python/LIController.py +++ b/python/LIController.py @@ -142,7 +142,7 @@ def InputDarkNewsModel(self, for cross_section in self.DN_processes.cross_sections: if primary_type == LI.dataclasses.Particle.ParticleType(cross_section.ups_case.nu_projectile.pdgid): primary_cross_sections.append(cross_section) - primary_interaction_collection = LI.crosssections.InteractionCollection(primary_type, primary_cross_sections) + primary_interaction_collection = LI.interactions.InteractionCollection(primary_type, primary_cross_sections) # Initialize secondary processes and define secondary InteractionCollection objects secondary_decays = {} diff --git a/python/LIDarkNews.py b/python/LIDarkNews.py index 597886cf..6ff05750 100644 --- a/python/LIDarkNews.py +++ b/python/LIDarkNews.py @@ -9,7 +9,7 @@ # LeptonInjector methods import leptoninjector as LI -from leptoninjector.crosssections import DarkNewsCrossSection,DarkNewsDecay +from leptoninjector.interactions import DarkNewsCrossSection,DarkNewsDecay from leptoninjector.dataclasses import Particle # DarkNews methods @@ -728,4 +728,4 @@ def SampleRecordFromDarkNews(self,record,random): secondary_momenta.insert(lepplus_idx,list(np.squeeze(four_momenta["P_decay_ell_plus"]))) secondary_momenta.insert(nu_idx,list(np.squeeze(four_momenta["P_decay_N_daughter"]))) record.secondary_momenta = secondary_momenta - return record \ No newline at end of file + return record