Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.

Commit c38af09

Browse files
committed
Correct order of arguments
1 parent 3aea21f commit c38af09

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

python/photonuclear_models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,11 @@ def __init__(self, name):
111111
self.min_products = 1
112112
self.pdg_ids = []
113113

114-
def kaon(min_products = 1, hard_particle_threshold):
114+
def kaon(min_products = 1, hard_particle_threshold=200.):
115115
# Note: By default, this is requiring at least 1 kaon with at least 200
116116
# MeV. You may want a different energy threshold depending on your needs.
117117
model = BertiniAtLeastNProductsModel(f"{min_products}_kaon_model")
118+
model.hard_particle_threshold=hard_particle_threshold
118119
model.pdg_ids = [
119120
130, # K_L^0
120121
310, # K_S^0

0 commit comments

Comments
 (0)