sherpa is hosted by Hepforge, IPPP Durham
close Warning:
  • Error with navigation contributor "BrowserModule"
  • Failed to sync with repository "(default)": instance.__dict__ not accessible in restricted mode; repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 10 years ago

#36 closed enhancement (fixed)

Weights not filled properly in sherpa.evts for enhance_factor

Reported by: anonymous Owned by: Frank Siegert
Priority: major Milestone:
Component: Unknown Version: 1.1.2
Keywords: Cc: Thorsten.Kuhl@cern.ch

Description

While running sherpa with enhance_factor to enhance processes and write them out in sherpa format I get event weight = 1 instead 1/enhance_factor as fourth argument in the first line of an event record.

Attachments (2)

sherpa-weight.patch (4.9 KB) - added by Frank Siegert 15 years ago.
sherpa-weight.1.1.3.patch (5.0 KB) - added by Frank Siegert 15 years ago.
Patch for Sherpa version 1.1.3.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 15 years ago by Frank Siegert

Status: newassigned

Thanks for the report, I'll prepare a patch as soon as possible. Frank

comment:2 Changed 15 years ago by Frank Siegert

Resolution: fixed
Status: assignedclosed

I am attaching a patch, which should do what you need. Can you test, whether it helps, and reopen the ticket otherwise?

  cd SHERPA-MC-1.1.2
  patch -p0 < sherpa-weight.patch
  TOOLS/makeinstall

Thanks, Frank

Changed 15 years ago by Frank Siegert

Attachment: sherpa-weight.patch added

comment:4 Changed 15 years ago by Frank Siegert

The attached sherpa-weight.patch applies to version 1.1.2. In case somebody needs that patch for version 1.1.3 as well, I am attaching it separately as sherpa-weight-1.1.3.patch

Changed 15 years ago by Frank Siegert

Attachment: sherpa-weight.1.1.3.patch added

Patch for Sherpa version 1.1.3.

comment:5 Changed 12 years ago by Frank Siegert

Milestone: rel-old

comment:6 Changed 10 years ago by Stefan Hoeche

Milestone: old

Milestone old deleted

Modify Ticket

Change Properties
Action
as closed The owner will remain Frank Siegert.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.