Skip to content

Commit

Permalink
initial state to convolution particle
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomomagni committed Jul 11, 2024
1 parent 9119ae7 commit d2b16ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/pinefarm/external/integrability.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ def generate_pineappl(self):
params = pineappl.subgrid.SubgridParams()
# Initialize and parametrize grid
grid = pineappl.grid.Grid.create(luminosities, orders, [0.0, 1.0], params)
grid.set_key_value("initial_state_1", str(self._info.hadron_pid))
grid.set_key_value("initial_state_2", str(self._info.lepton_pid))
grid.set_key_value("convolution_particle_1", str(self._info.hadron_pid))
grid.set_key_value("convolution_particle_2", str(self._info.lepton_pid))
grid.set_key_value("runcard", json.dumps(self._info.asdict()))
grid.set_key_value("lumi_id_types", "pdg_mc_ids")
grid.set_key_value("convolution_type_1", self.convolution_type)
Expand Down
4 changes: 2 additions & 2 deletions src/pinefarm/external/positivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ def generate_pineappl(self):
grid.set_remapper(remapper)

# set the initial state PDF ids for the grid
grid.set_key_value("initial_state_1", str(self.hadron_pid))
grid.set_key_value("initial_state_2", str(self.lepton_pid))
grid.set_key_value("convolution_particle_1", str(self.hadron_pid))
grid.set_key_value("convolution_particle_2", str(self.lepton_pid))
grid.set_key_value("runcard", json.dumps(self.runcard))
grid.set_key_value("lumi_id_types", "pdg_mc_ids")
grid.set_key_value("convolution_type_1", self.convolution_type)
Expand Down

0 comments on commit d2b16ce

Please sign in to comment.