Skip to content

Commit

Permalink
updating some names in python files
Browse files Browse the repository at this point in the history
  • Loading branch information
nickkamp1 committed Jan 11, 2024
1 parent 9c110ec commit b6dddbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/LIController.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down
4 changes: 2 additions & 2 deletions python/LIDarkNews.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
return record

0 comments on commit b6dddbd

Please sign in to comment.