<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you, Alex, that is really helpful. <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Peter, please let me know how I should generate the map for the PrimEx data set. <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
tks ig.<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Alexander Austregesilo <aaustreg@jlab.org><br>
<b>Sent:</b> Thursday, January 21, 2021 5:25 PM<br>
<b>To:</b> Igal Jaegle <ijaegle@jlab.org><br>
<b>Cc:</b> primexd@jlab.org <primexd@jlab.org>; Peter Pauli (PGR) <p.pauli.1@research.gla.ac.uk><br>
<b>Subject:</b> Random trigger skims</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Igal,<br>
<br>
We have a plugin called randomtrigger_skim to filter out the random <br>
triggers from any evio input and convert them into the hddm format that <br>
can be mixed into the simulation by mcsmear. To be more realistic, we <br>
only accept random triggers that fall into a time period were the beam <br>
was actually on. The plugin takes this beam fiducial map into account, <br>
but it has to be generated beforehand. Peter Pauli (cc) was just working <br>
on an improved scheme for this extraction, maybe he can help you also <br>
for the PrimEx data.<br>
<br>
Once the fiducial map is ready, you just have to run the plugin over all <br>
evio files. Afterwards, we can concatenate the hddm skims from <br>
individual evio files so that we have one file per run.<br>
<br>
Before you have the fiducial map, you can also include the option <br>
`RANDSKIM:USEBEAM 0` into your config file to simply write out all <br>
random triggers. This serves already as a good approximation.<br>
<br>
Let me know if you have any questions,<br>
<br>
Alex<br>
<br>
</div>
</span></font></div>
</body>
</html>