-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Iss752: Add driver for overlaying signal onto beam events #756
Conversation
Are there any studies that compare this with the previous method? |
This doesn't change the way we do MC. It is just a utility for eventually
replacing one component of the procedures but it isn't being used in
production right now.
…On Tue, Jan 12, 2021 at 11:52 AM Maurik Holtrop ***@***.***> wrote:
Are there any studies that compare this with the previous method?
It seems to me that before we change the way we do MC, we need to make
sure this does not change the results.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#756 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQXV47OM2W6LIJPN7Q3QBDSZSD6LANCNFSM4UFOJSJA>
.
|
Changes would have to be made to hps-mc to actually use any of this. |
This is implemented as a standard lcsim driver. So you would just use this
in a steering file and not include the "filter bunches" component. I
included a sample steering file for reference. You would also want to pre
filter the tritrig events in case you want to throw some of them out based
on energy cuts, etc.
…On Mon, Jan 25, 2021 at 8:07 PM Cameron Bravo ***@***.***> wrote:
Changes would have to be made to hps-mc to actually use any of this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#756 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQXV436XCXR4LKPLHS3MY3S3YPXRANCNFSM4UFOJSJA>
.
|
Jeremy and I ever had a deep discussion about this driver. Generally, I would say that this driver works well. It can save space and time comparing to the old MC processing. Certainly, with application of the driver, readout steering files and hps-mc job scripts need to be updated. |
The driver works. I prefer to approve this PR, and to leave corresponding updates for readout steering files later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with TongTong
This new driver can be used externally to generate a file with combined beam and signal events, replacing usage of the FilterMCBunches and LCIO merge tools. This has several advantages, including the elimination of several steps in the job chain as well as no longer writing a large "spaced" file with the signal events before they are merged. This should reduce disk usage of MC jobs, as well as improve the overall runtime performance.
Signal events can be optionally rejected as they are read using filters on total ECAL edep and number of Hodoscope hits (more filters can easily be added, as needed, by implementing the
EventFilter
interface and adding the appropriate setter methods).I have provided an example steering file to run only the overlay and produce a combined file, as well as a sample steering file for running the overlay inline with the readout.
I verified that the new scheme produces triggers in the readout simulation by using examples in hps-mc to generate the beam and signal (tritrig) files and then running them through the sample readout configuration.