<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<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); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted1">
Just to be sure, I double checked this. Here is a snippet from <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Gregtom3_rgcTargetPolarization_blob_main_ProcessInclusive.C&d=DwMF-g&c=CJqEzB1piLOyyvZjb8YUQw&r=aSEBncnFTdfouxOejKajYG--Ygz0DFQolIcHUhF20pw&m=ip6lDgLHi8vDxcuf7kw8oQmGgq-_v4LJrtviTOFepXbs-B7ejp8SEzQ-b1TUxAZB&s=PuRx2_NuoJ5s1RtMSOnfCHLByxXZuQsgEASaQhooS6A&e=" id="LPlnkOWALinkPreview">https://github.com/Gregtom3/rgcTargetPolarization/blob/main/ProcessInclusive.C</a> .
I make sure to skip events with helicity == 0. Feel free to look over the code to, perhaps I missed something. Point being that, in the end, the "hel" branch of the output TTree is what I use to read the number of helicity=+1 vs. -1 events. </div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1">
<div id="LPBorder_GTaHR0cHM6Ly9naXRodWIuY29tL0dyZWd0b20zL3JnY1RhcmdldFBvbGFyaXphdGlvbi9ibG9iL21haW4vUHJvY2Vzc0luY2x1c2l2ZS5D" class="LPBorder259845" style="width: 100%; margin-top: 16px; margin-bottom: 16px; position: relative; max-width: 800px; min-width: 424px;">
<table id="LPContainer259845" role="presentation" style="padding: 12px 36px 12px 12px; width: 100%; border-width: 1px; border-style: solid; border-color: rgb(200, 200, 200); border-radius: 2px;">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td>
<div id="LPImageContainer259845" style="position: relative; margin-right: 12px; height: 120px; overflow: hidden; width: 240px;">
<a target="_blank" id="LPImageAnchor259845" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Gregtom3_rgcTargetPolarization_blob_main_ProcessInclusive.C&d=DwMF-g&c=CJqEzB1piLOyyvZjb8YUQw&r=aSEBncnFTdfouxOejKajYG--Ygz0DFQolIcHUhF20pw&m=ip6lDgLHi8vDxcuf7kw8oQmGgq-_v4LJrtviTOFepXbs-B7ejp8SEzQ-b1TUxAZB&s=PuRx2_NuoJ5s1RtMSOnfCHLByxXZuQsgEASaQhooS6A&e="><img id="LPThumbnailImageId259845" alt="" height="120" style="display: block;" width="240" src="https://opengraph.githubassets.com/5e4a935c86ae2b3d5f7bc69843f3498b164cdb1eed55cb5b87fbd9e1a31d0ef0/Gregtom3/rgcTargetPolarization"></a></div>
</td>
<td style="width: 100%;">
<div id="LPTitle259845" style="font-size: 21px; font-weight: 300; margin-right: 8px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px;">
<a target="_blank" id="LPUrlAnchor259845" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Gregtom3_rgcTargetPolarization_blob_main_ProcessInclusive.C&d=DwMF-g&c=CJqEzB1piLOyyvZjb8YUQw&r=aSEBncnFTdfouxOejKajYG--Ygz0DFQolIcHUhF20pw&m=ip6lDgLHi8vDxcuf7kw8oQmGgq-_v4LJrtviTOFepXbs-B7ejp8SEzQ-b1TUxAZB&s=PuRx2_NuoJ5s1RtMSOnfCHLByxXZuQsgEASaQhooS6A&e=" style="text-decoration: none; color: var(--themePrimary);">rgcTargetPolarization/ProcessInclusive.C at main · Gregtom3/rgcTargetPolarization</a></div>
<div id="LPDescription259845" style="font-size: 14px; max-height: 100px; color: rgb(102, 102, 102); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px; margin-right: 8px; overflow: hidden;">
A repository for extracting the target polarization from RGC runs @ CLAS12 - rgcTargetPolarization/ProcessInclusive.C at main · Gregtom3/rgcTargetPolarization</div>
<div id="LPMetadata259845" style="font-size: 14px; font-weight: 400; color: rgb(166, 166, 166); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif;">
github.com</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<img style="max-width:100%" class="ContentPasted0 w-473 h-264" size="20229" contenttype="image/png" data-outlook-trace="F:1|T:1" src="cid:794f3553-6a63-4263-aeaf-38d7cc7ca546"><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> Hayward, Timothy <timothy.hayward@uconn.edu><br>
<b>Sent:</b> Monday, February 20, 2023 2:46 PM<br>
<b>To:</b> Gregory Matousek <gregory.matousek@duke.edu><br>
<b>Cc:</b> rgc_analysis@jlab.org <rgc_analysis@jlab.org>; Anselm Vossen, Ph.D. <anselm.vossen@duke.edu>; Kayleigh Gates (PGR) <k.gates.1@research.gla.ac.uk><br>
<b>Subject:</b> Re: [Rgc_analysis] [EXTERNAL] Question about HWP and TPol when cooking</font>
<div> </div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space">Hi Gregory,
<div class=""><br class="">
</div>
<div class="">Check that you aren’t including helicity = 0 in your helicity = 1 counts (perhaps with some sort of “else” statement?). About 3% of events have unassigned helicities.</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Timothy<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Feb 20, 2023, at 2:41 PM, 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="">
<p class="" style="margin-top:0px; margin-bottom:0px; font-family:Helvetica; font-size:18px; 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">
</p>
<div class="" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; background-color:rgb(255,235,156); width:789px; border:1pt none rgb(250,235,204); padding:10pt; font-size:11pt; line-height:12pt; font-family:Calibri; text-align:left">
<span class="" style="color:rgb(156,101,0)"></span>*Message sent from a system outside of UConn.*</div>
<br class="" style="font-family:Helvetica; font-size:18px; 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">
<p class="" style="margin-top:0px; margin-bottom:0px; font-family:Helvetica; font-size:18px; 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">
</p>
<div class="" style="font-family:Helvetica; font-size:18px; 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">
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
Hello,</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
<br class="">
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
I had a question about how helicity is stored in the HEL::online bank of the sidisdvcs trains ( or any hipo file for that matter ). There are several recent NH3 runs which I am analyzing, and I am getting some counterintuitive results for N+ and N- for each
run. I am referring to the 8.5.0 HBT cooks. </div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
<br class="">
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
For example, Run 17577 has HWP in, and NMR Pt > 0. I find from my DIS channel that 51% of events have<span class="x_Apple-converted-space"> </span><b class="">helicity = +1<span class="x_Apple-converted-space"> </span></b>, and the remaining 49% have<span class="x_Apple-converted-space"> </span><b class="">helicity
= -1.<span class="x_Apple-converted-space"> </span></b>I would have initially thought that there would be more<span class="x_Apple-converted-space"> </span><b class="">helicity = -1<span class="x_Apple-converted-space"> </span></b>events? I was wondering if
the cooking had been accounting for the fact that the HWP was in, and was correctly "flipping" the electron's helicity when storing it in the hipo bank. </div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
<br class="">
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
Next, we look at Run 17589, with HWP out and NMR Pt>0. Here, I counter-intuitvely find 49% of events have<span class="x_Apple-converted-space"> </span><b class="">helicity = +1<span class="x_Apple-converted-space"> </span></b>, and now 51% have<span class="x_Apple-converted-space"> </span><b class="">helicity
= -1</b>. Again, I am just reading the entries in HEL::online. This is odd, because since our asymmetry is positive, this would calculate a negative target polarization in the end (N+ < N-)</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
<br class="">
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
For Run 17604, with HWP out and NMR Pt <0. We find 50.88% of events with<span class="x_Apple-converted-space"> </span><b class="">helicity = +1<span class="x_Apple-converted-space"> </span></b>and 49.12% with<span class="x_Apple-converted-space"> </span><b class="">helicity
= -1</b>. This is backwards from how I thought the asymmetries would work.</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
<br class="">
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
Does anybody familiar with the newest coatjava know how the HEL::online bank is formed? Does it read from the CCDB in anyway to adjust the helicity information based on the HWP or Tpol status? At the moment, the solution is for me to swap N+ <--> N- . </div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
<br class="">
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
<br class="">
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
Here, then, are the DIS polarizations I am getting for the NH3 runs. It looks like we were near -80% polarization two days ago. </div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
<br class="">
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
<span id="x_cid:24e9a450-d431-4bd0-baf5-19aa17361cff"><image.png></span><span id="x_cid:f6616463-fded-4ce4-80da-780bf5fffa97"><image.png></span><br class="">
</div>
</div>
<span class="" style="font-family:Helvetica; font-size:18px; 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:18px; 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:18px; 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:18px; 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:18px; 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:18px; 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://urldefense.com/v3/__https://mailman.jlab.org/mailman/listinfo/rgc_analysis__;!!OToaGQ!u9u04b7XKqNsfKLVO6pOt4bRkfNXt74Uu4jQ48tx-YWjztPL_W0UIXz3AbOAnYN2pN_LALopX7PMeCFC0kW0FGok-8rP5WrnhEhR$" class="" style="font-family:Helvetica; font-size:18px; 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>