<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="" style="word-wrap:break-word; line-break:after-white-space">Hi Greg,
<div class=""><br class="">
</div>
<div class="">I finally managed to read your slides and reminded myself again how things work in general.</div>
<div class="">Here is one specific question: If I interpret the script “<b class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">ProcessInclusive.C</b>” correctly, you just use the helicity scaler
bank information to sum up the life-time gated FC for both individual helicities. You seem to be distinguishing 3 cases: Hel = +1, 0, -1. What is the interpretation for Hel = 0? What do you ultimately do with that information? (It might be useful to see which
fraction of HEL::SCALER events contain Hel = 0). Also, what is the relationship between the “true helicity events” and the 300 µs “settle time” events that caused all the issues earlier? Are we 100% sure that this problem is now solved, i.e., all Helicity
assignments are really for good 30 ms buckets? Is there a way to double-check that, e.g., using the clock scaler?</div>
<div class=""><br class="">
</div>
<div class="">As you know, I am concerned that, at least in some cases, normalizing the measured asymmetry to the FC actually makes it MORE ragged, instead of smoothing it out. One other piece of information that might be relevant here is that, for RG-F, one
of our students (Madhusudan Pokhrel, cc'd) did a detailed study of the various ways of extracting FC integrated charges from the data. Here is one of his findings:</div>
<div class=""></div>
</div>
<div style="word-wrap:break-word; line-break:after-white-space">
<div class=""></div>
<div class="">It shows on the horizontal axis the integrated (gated) charge from the FC from adding up all HEL::scaler events over a file, while on the vertical is the same thing using the value from RUN::scaler (which does the integration for you). Obviously,
there is a diagonal line, but there is also a lot of scatter around it, some quite drastically. So I am wondering whether there are additional issues that we need to figure out before we have a reliable measurement of integrated charge! (This goes of course
beyond RG-C and even RG-F). And, we should not forget, that we also had some issues with the FC calibration over the course of RG-C, as well. </div>
<div class=""><br class="">
</div>
<div class="">During RG-F, we had an even worse hiccup where all FC information in BOTH HEL::scaler AND RUN::scaler simply disappeared for a stretch of runs! We tried to circumvent this by using instead the gated clock from the HEL::scaler, multiplying it with
the beam current at 2C21 from the RAW::epics bank. (See complete explanation attached - Madhu can comment). Surprisingly, this led to a BETTER agreement with RUN::SCALER than the plot above:</div>
<div class=""></div>
</div>
<div style="word-wrap:break-word; line-break:after-white-space">
<div class=""></div>
<div class="">Although there are of course still outliers (probably when the beam dropped off during a time when EPICS::raw scaler wasn’t recording it). I know you already put a lot of effort into these, but since the clock is ALSO labeled by helicity, you
could try this, as well, although I’m afraid the EPICS::raw scaler is read too infrequently to get a helicity-dependent beam current out of it…</div>
<div class=""><br class="">
</div>
<div class="">- Sebastian</div>
<div class=""><br class="">
</div>
<div class=""></div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<div class=""></div>
<div class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jan 17, 2023, at 10:34 AM, Gregory Matousek via Rgc_analysis <<a href="mailto:rgc_analysis@jlab.org" class="">rgc_analysis@jlab.org</a>> wrote:</div>
<br class="x_Apple-interchange-newline">
<div class="">
<div class="x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
In the event anybody would like to look into how the target polarization are generated, I cleaned up much of my code into a repository containing all I need for the analysis.</div>
<div class="x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
<br class="">
</div>
<div class="x_elementToProof x_ContentPasted0" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Gregtom3_rgcTargetPolarization_tree_main&d=DwMFAw&c=CJqEzB1piLOyyvZjb8YUQw&r=aSEBncnFTdfouxOejKajYG--Ygz0DFQolIcHUhF20pw&m=hYYnBYUiT4BHE2lUhmdjxTnkArRQCMfZISJy6qYnIU1c0AdJccW3qHsvM0xX-5--&s=s_hZR1cUtGqOTCZ9iy4P2qEnfsvAiyJOCuxffDNtEjQ&e=" id="LPlnk358264" class="">https://github.com/Gregtom3/rgcTargetPolarization/tree/main</a><br class="">
</div>
<div class="x_elementToProof x_ContentPasted0" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
<br class="">
</div>
<div class="x_elementToProof x_ContentPasted0" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
The program for reading the sidisdvcs trains into TTrees with FCup accumulation included is<b class="">ProcessInclusive.C</b>. This includes any bare cuts I make on the event selection, as well as how I pull and save the FCup charges. </div>
<div class="x_elementToProof x_ContentPasted0" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
<br class="">
</div>
<div class="x_elementToProof x_ContentPasted0" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
The README should be helpful in explaining how the repository is to be used. What is important is that the user needs to use Jupyter Notebook to actually generate the plots. </div>
<div class="x_elementToProof x_ContentPasted0" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
<br class="">
</div>
<div class="x_elementToProof x_ContentPasted0" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
Please let me know if you have any questions on usage or how it works!</div>
<div class="x_elementToProof x_ContentPasted0" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
<br class="">
</div>
<div class="x_elementToProof x_ContentPasted0" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
Best,</div>
<div class="x_elementToProof x_ContentPasted0" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
Gregory</div>
<span class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">_______________________________________________</span><br class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">Rgc_analysis
mailing list</span><br class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="mailto:Rgc_analysis@jlab.org" class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">Rgc_analysis@jlab.org</a><br class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="https://mailman.jlab.org/mailman/listinfo/rgc_analysis" class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">https://mailman.jlab.org/mailman/listinfo/rgc_analysis</a></div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>