<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.anl.gov/wiki_heliosdaq/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ttang</id>
	<title>HELIOS Digital DAQ - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.anl.gov/wiki_heliosdaq/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ttang"/>
	<link rel="alternate" type="text/html" href="https://wiki.anl.gov/heliosdaq/Special:Contributions/Ttang"/>
	<updated>2026-06-24T05:28:51Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Locations&amp;diff=2513</id>
		<title>Locations</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Locations&amp;diff=2513"/>
		<updated>2026-02-06T23:38:03Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Nat Box / Rounter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Physical Location =&lt;br /&gt;
&lt;br /&gt;
[[File:PhysicalLocation.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Network Location Information =&lt;br /&gt;
&lt;br /&gt;
A drawing of the network is like this (2021-01-21).&lt;br /&gt;
&lt;br /&gt;
The CISCO router is the only way to the onenet and internet. &lt;br /&gt;
&lt;br /&gt;
The HP Switch is a main switch for all devices, like the DAQ PC and the MAC.&lt;br /&gt;
&lt;br /&gt;
The HELIOS-DB and the windowsXP connects to the onenet directly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- [[File:NetworkLocation.png|800px|frameless]] --&amp;gt;&lt;br /&gt;
[[File:NetworkConnection20210121.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
We added 2 Network Power switch&lt;br /&gt;
&lt;br /&gt;
 IP: 192.168.1.106 for Target fan&lt;br /&gt;
 IP: 192.168.1.115 for DAQ&lt;br /&gt;
&lt;br /&gt;
= DAQ Computer =&lt;br /&gt;
The data acquisition computer for digital HELIOS sits behind a NAT box. The NAT box is located at &lt;br /&gt;
 digios1.onenet (192.168.203.52)&lt;br /&gt;
or from the Mac&lt;br /&gt;
 192.168.1.2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;The HELIOS-DB, Mac2017 and the windowsXP connect to the onenet, the IPs are&lt;br /&gt;
&lt;br /&gt;
 HELIOS-DB : 192.168.203.23 (nickname: heliosdb)&lt;br /&gt;
&lt;br /&gt;
 windowsXP : 192.168.203.37&lt;br /&gt;
&lt;br /&gt;
 mac2017 : 192.168.203.34 (nickname: mac2017)&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Login outside ANL =&lt;br /&gt;
&lt;br /&gt;
only for PC at onenet.&lt;br /&gt;
&lt;br /&gt;
 ssh -J &amp;lt;username&amp;gt;@login.phy.anl.gov &amp;lt;accountName&amp;gt;@&amp;lt;onenet_IP&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 {| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PC  ||  accountName || onenetIP&lt;br /&gt;
|-&lt;br /&gt;
| DAQ || helios || digios1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Nat Box / Rounter =&lt;br /&gt;
The login for the cisco ([http://www.cisco.com/c/en/us/products/collateral/routers/rv180-vpn-router/c78-697397_data_sheet.html cisco data page]) is uname &#039;&#039;cisco&#039;&#039; and the gammasphere password&lt;br /&gt;
 192.168.1.1&lt;br /&gt;
Notes on cisco setup:&lt;br /&gt;
network -&amp;gt; wan -&amp;gt; iPv4 -&amp;gt; static -&amp;gt; 192.168.203.52 -&amp;gt; default .1 -&amp;gt; DNS .1&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Computer || IP&lt;br /&gt;
|-&lt;br /&gt;
| IOCs     || 192.168.1.2X&lt;br /&gt;
|-&lt;br /&gt;
| DAQ      || 192.168.1.2&lt;br /&gt;
|-&lt;br /&gt;
|MAC2020   || 192.168.1.164&lt;br /&gt;
|-&lt;br /&gt;
|MAC2017   || 192.168.1.193&lt;br /&gt;
|-&lt;br /&gt;
|Windows XP || 192.168.1.191&lt;br /&gt;
|-&lt;br /&gt;
|DAQ power switch ||  192.168.1.115&lt;br /&gt;
|-&lt;br /&gt;
|Terminal server || 192.168.1.3&lt;br /&gt;
|-&lt;br /&gt;
| HELIOS Mag Ctrl Pi || 192.168.1.208&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To scan all &amp;quot;active&amp;quot; devices in the CISCO network:&lt;br /&gt;
 $nmap -F 192.168.1.*&lt;br /&gt;
&lt;br /&gt;
= Terminal Server = &lt;br /&gt;
[https://www.digi.com/pdf/prd_ts_portserverts816.pdf Portserver TS16 MEI]&lt;br /&gt;
&lt;br /&gt;
Info? (2.6.23-431.5.1.el6.i686 (RH 4.4.7-3)&lt;br /&gt;
Login with &#039;&#039;root&#039;&#039; and gammasphere pswrd&lt;br /&gt;
&lt;br /&gt;
 telnet 192.168.1.3 200[1-X]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the DAQ-PC, the IP and the corresponding &amp;quot;nickname&amp;quot; are saved in &lt;br /&gt;
 /etc/hosts&lt;br /&gt;
&lt;br /&gt;
 $cat /etc/hosts&lt;br /&gt;
 127.0.0.1		localhost.localdomain localhost&lt;br /&gt;
 ::1		localhost6.localdomain6 localhost6&lt;br /&gt;
 192.168.1.1	digios1&lt;br /&gt;
 192.168.1.3	ts&lt;br /&gt;
 192.168.1.20	ioc0&lt;br /&gt;
 192.168.1.21	ioc1&lt;br /&gt;
 192.168.1.22	ioc2&lt;br /&gt;
 192.168.1.23	ioc3&lt;br /&gt;
 192.168.1.24	ioc4&lt;br /&gt;
 192.168.1.234	tllptgs&lt;br /&gt;
&lt;br /&gt;
== Physical Locations and ID&#039;s of Digitizers / Routers / Triggers ==&lt;br /&gt;
&lt;br /&gt;
Really need a few figures with labels / diagrams.&lt;br /&gt;
&lt;br /&gt;
* Serial numbers of system hardware&lt;br /&gt;
* Board ID numbers for data processing&lt;br /&gt;
* IP address and names of modules&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Locations&amp;diff=2512</id>
		<title>Locations</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Locations&amp;diff=2512"/>
		<updated>2025-06-27T16:54:59Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Nat Box / Rounter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Physical Location =&lt;br /&gt;
&lt;br /&gt;
[[File:PhysicalLocation.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Network Location Information =&lt;br /&gt;
&lt;br /&gt;
A drawing of the network is like this (2021-01-21).&lt;br /&gt;
&lt;br /&gt;
The CISCO router is the only way to the onenet and internet. &lt;br /&gt;
&lt;br /&gt;
The HP Switch is a main switch for all devices, like the DAQ PC and the MAC.&lt;br /&gt;
&lt;br /&gt;
The HELIOS-DB and the windowsXP connects to the onenet directly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- [[File:NetworkLocation.png|800px|frameless]] --&amp;gt;&lt;br /&gt;
[[File:NetworkConnection20210121.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
We added 2 Network Power switch&lt;br /&gt;
&lt;br /&gt;
 IP: 192.168.1.106 for Target fan&lt;br /&gt;
 IP: 192.168.1.115 for DAQ&lt;br /&gt;
&lt;br /&gt;
= DAQ Computer =&lt;br /&gt;
The data acquisition computer for digital HELIOS sits behind a NAT box. The NAT box is located at &lt;br /&gt;
 digios1.onenet (192.168.203.52)&lt;br /&gt;
or from the Mac&lt;br /&gt;
 192.168.1.2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;The HELIOS-DB, Mac2017 and the windowsXP connect to the onenet, the IPs are&lt;br /&gt;
&lt;br /&gt;
 HELIOS-DB : 192.168.203.23 (nickname: heliosdb)&lt;br /&gt;
&lt;br /&gt;
 windowsXP : 192.168.203.37&lt;br /&gt;
&lt;br /&gt;
 mac2017 : 192.168.203.34 (nickname: mac2017)&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Login outside ANL =&lt;br /&gt;
&lt;br /&gt;
only for PC at onenet.&lt;br /&gt;
&lt;br /&gt;
 ssh -J &amp;lt;username&amp;gt;@login.phy.anl.gov &amp;lt;accountName&amp;gt;@&amp;lt;onenet_IP&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 {| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PC  ||  accountName || onenetIP&lt;br /&gt;
|-&lt;br /&gt;
| DAQ || helios || digios1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Nat Box / Rounter =&lt;br /&gt;
The login for the cisco ([http://www.cisco.com/c/en/us/products/collateral/routers/rv180-vpn-router/c78-697397_data_sheet.html cisco data page]) is uname &#039;&#039;cisco&#039;&#039; and the gammasphere password&lt;br /&gt;
 192.168.1.1&lt;br /&gt;
Notes on cisco setup:&lt;br /&gt;
network -&amp;gt; wan -&amp;gt; iPv4 -&amp;gt; static -&amp;gt; 192.168.203.52 -&amp;gt; default .1 -&amp;gt; DNS .1&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Computer || IP&lt;br /&gt;
|-&lt;br /&gt;
| IOCs     || 192.168.1.2X&lt;br /&gt;
|-&lt;br /&gt;
| DAQ      || 192.168.1.2&lt;br /&gt;
|-&lt;br /&gt;
|MAC2020   || 192.168.1.164&lt;br /&gt;
|-&lt;br /&gt;
|MAC2017   || 192.168.1.193&lt;br /&gt;
|-&lt;br /&gt;
|Windows XP || 192.168.1.191&lt;br /&gt;
|-&lt;br /&gt;
|DAQ power switch ||  192.168.1.115&lt;br /&gt;
|-&lt;br /&gt;
|Terminal server || 192.168.1.3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To scan all &amp;quot;active&amp;quot; devices in the CISCO network:&lt;br /&gt;
 $nmap -F 192.168.1.*&lt;br /&gt;
&lt;br /&gt;
= Terminal Server = &lt;br /&gt;
[https://www.digi.com/pdf/prd_ts_portserverts816.pdf Portserver TS16 MEI]&lt;br /&gt;
&lt;br /&gt;
Info? (2.6.23-431.5.1.el6.i686 (RH 4.4.7-3)&lt;br /&gt;
Login with &#039;&#039;root&#039;&#039; and gammasphere pswrd&lt;br /&gt;
&lt;br /&gt;
 telnet 192.168.1.3 200[1-X]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the DAQ-PC, the IP and the corresponding &amp;quot;nickname&amp;quot; are saved in &lt;br /&gt;
 /etc/hosts&lt;br /&gt;
&lt;br /&gt;
 $cat /etc/hosts&lt;br /&gt;
 127.0.0.1		localhost.localdomain localhost&lt;br /&gt;
 ::1		localhost6.localdomain6 localhost6&lt;br /&gt;
 192.168.1.1	digios1&lt;br /&gt;
 192.168.1.3	ts&lt;br /&gt;
 192.168.1.20	ioc0&lt;br /&gt;
 192.168.1.21	ioc1&lt;br /&gt;
 192.168.1.22	ioc2&lt;br /&gt;
 192.168.1.23	ioc3&lt;br /&gt;
 192.168.1.24	ioc4&lt;br /&gt;
 192.168.1.234	tllptgs&lt;br /&gt;
&lt;br /&gt;
== Physical Locations and ID&#039;s of Digitizers / Routers / Triggers ==&lt;br /&gt;
&lt;br /&gt;
Really need a few figures with labels / diagrams.&lt;br /&gt;
&lt;br /&gt;
* Serial numbers of system hardware&lt;br /&gt;
* Board ID numbers for data processing&lt;br /&gt;
* IP address and names of modules&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Locations&amp;diff=2511</id>
		<title>Locations</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Locations&amp;diff=2511"/>
		<updated>2025-06-27T16:54:45Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Nat Box / Rounter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Physical Location =&lt;br /&gt;
&lt;br /&gt;
[[File:PhysicalLocation.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Network Location Information =&lt;br /&gt;
&lt;br /&gt;
A drawing of the network is like this (2021-01-21).&lt;br /&gt;
&lt;br /&gt;
The CISCO router is the only way to the onenet and internet. &lt;br /&gt;
&lt;br /&gt;
The HP Switch is a main switch for all devices, like the DAQ PC and the MAC.&lt;br /&gt;
&lt;br /&gt;
The HELIOS-DB and the windowsXP connects to the onenet directly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- [[File:NetworkLocation.png|800px|frameless]] --&amp;gt;&lt;br /&gt;
[[File:NetworkConnection20210121.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
We added 2 Network Power switch&lt;br /&gt;
&lt;br /&gt;
 IP: 192.168.1.106 for Target fan&lt;br /&gt;
 IP: 192.168.1.115 for DAQ&lt;br /&gt;
&lt;br /&gt;
= DAQ Computer =&lt;br /&gt;
The data acquisition computer for digital HELIOS sits behind a NAT box. The NAT box is located at &lt;br /&gt;
 digios1.onenet (192.168.203.52)&lt;br /&gt;
or from the Mac&lt;br /&gt;
 192.168.1.2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;The HELIOS-DB, Mac2017 and the windowsXP connect to the onenet, the IPs are&lt;br /&gt;
&lt;br /&gt;
 HELIOS-DB : 192.168.203.23 (nickname: heliosdb)&lt;br /&gt;
&lt;br /&gt;
 windowsXP : 192.168.203.37&lt;br /&gt;
&lt;br /&gt;
 mac2017 : 192.168.203.34 (nickname: mac2017)&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Login outside ANL =&lt;br /&gt;
&lt;br /&gt;
only for PC at onenet.&lt;br /&gt;
&lt;br /&gt;
 ssh -J &amp;lt;username&amp;gt;@login.phy.anl.gov &amp;lt;accountName&amp;gt;@&amp;lt;onenet_IP&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 {| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PC  ||  accountName || onenetIP&lt;br /&gt;
|-&lt;br /&gt;
| DAQ || helios || digios1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Nat Box / Rounter =&lt;br /&gt;
The login for the cisco ([http://www.cisco.com/c/en/us/products/collateral/routers/rv180-vpn-router/c78-697397_data_sheet.html cisco data page]) is uname &#039;&#039;cisco&#039;&#039; and the gammasphere password&lt;br /&gt;
 192.168.1.1&lt;br /&gt;
Notes on cisco setup:&lt;br /&gt;
network -&amp;gt; wan -&amp;gt; iPv4 -&amp;gt; static -&amp;gt; 192.168.203.52 -&amp;gt; default .1 -&amp;gt; DNS .1&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Computer || IP&lt;br /&gt;
|-&lt;br /&gt;
| IOCs     || 192.168.1.2X&lt;br /&gt;
|-&lt;br /&gt;
| DAQ      || 192.168.1.2&lt;br /&gt;
|-&lt;br /&gt;
|MAC2020   || 192.168.1.164&lt;br /&gt;
|-&lt;br /&gt;
|MAC2017   || 192.168.1.193&lt;br /&gt;
|-&lt;br /&gt;
|Windows XP || 192.168.1.191&lt;br /&gt;
|-&lt;br /&gt;
|DAQ power switch ||  192.168.1.115&lt;br /&gt;
|-&lt;br /&gt;
|Terminal server || 192.168.1.3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are some unknown IP&lt;br /&gt;
 192.168.1.3&lt;br /&gt;
 192.168.1.81&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To scan all &amp;quot;active&amp;quot; devices in the CISCO network:&lt;br /&gt;
 $nmap -F 192.168.1.*&lt;br /&gt;
&lt;br /&gt;
= Terminal Server = &lt;br /&gt;
[https://www.digi.com/pdf/prd_ts_portserverts816.pdf Portserver TS16 MEI]&lt;br /&gt;
&lt;br /&gt;
Info? (2.6.23-431.5.1.el6.i686 (RH 4.4.7-3)&lt;br /&gt;
Login with &#039;&#039;root&#039;&#039; and gammasphere pswrd&lt;br /&gt;
&lt;br /&gt;
 telnet 192.168.1.3 200[1-X]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the DAQ-PC, the IP and the corresponding &amp;quot;nickname&amp;quot; are saved in &lt;br /&gt;
 /etc/hosts&lt;br /&gt;
&lt;br /&gt;
 $cat /etc/hosts&lt;br /&gt;
 127.0.0.1		localhost.localdomain localhost&lt;br /&gt;
 ::1		localhost6.localdomain6 localhost6&lt;br /&gt;
 192.168.1.1	digios1&lt;br /&gt;
 192.168.1.3	ts&lt;br /&gt;
 192.168.1.20	ioc0&lt;br /&gt;
 192.168.1.21	ioc1&lt;br /&gt;
 192.168.1.22	ioc2&lt;br /&gt;
 192.168.1.23	ioc3&lt;br /&gt;
 192.168.1.24	ioc4&lt;br /&gt;
 192.168.1.234	tllptgs&lt;br /&gt;
&lt;br /&gt;
== Physical Locations and ID&#039;s of Digitizers / Routers / Triggers ==&lt;br /&gt;
&lt;br /&gt;
Really need a few figures with labels / diagrams.&lt;br /&gt;
&lt;br /&gt;
* Serial numbers of system hardware&lt;br /&gt;
* Board ID numbers for data processing&lt;br /&gt;
* IP address and names of modules&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Locations&amp;diff=2510</id>
		<title>Locations</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Locations&amp;diff=2510"/>
		<updated>2025-06-26T18:25:58Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Nat Box / Rounter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Physical Location =&lt;br /&gt;
&lt;br /&gt;
[[File:PhysicalLocation.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Network Location Information =&lt;br /&gt;
&lt;br /&gt;
A drawing of the network is like this (2021-01-21).&lt;br /&gt;
&lt;br /&gt;
The CISCO router is the only way to the onenet and internet. &lt;br /&gt;
&lt;br /&gt;
The HP Switch is a main switch for all devices, like the DAQ PC and the MAC.&lt;br /&gt;
&lt;br /&gt;
The HELIOS-DB and the windowsXP connects to the onenet directly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- [[File:NetworkLocation.png|800px|frameless]] --&amp;gt;&lt;br /&gt;
[[File:NetworkConnection20210121.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
We added 2 Network Power switch&lt;br /&gt;
&lt;br /&gt;
 IP: 192.168.1.106 for Target fan&lt;br /&gt;
 IP: 192.168.1.115 for DAQ&lt;br /&gt;
&lt;br /&gt;
= DAQ Computer =&lt;br /&gt;
The data acquisition computer for digital HELIOS sits behind a NAT box. The NAT box is located at &lt;br /&gt;
 digios1.onenet (192.168.203.52)&lt;br /&gt;
or from the Mac&lt;br /&gt;
 192.168.1.2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;The HELIOS-DB, Mac2017 and the windowsXP connect to the onenet, the IPs are&lt;br /&gt;
&lt;br /&gt;
 HELIOS-DB : 192.168.203.23 (nickname: heliosdb)&lt;br /&gt;
&lt;br /&gt;
 windowsXP : 192.168.203.37&lt;br /&gt;
&lt;br /&gt;
 mac2017 : 192.168.203.34 (nickname: mac2017)&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Login outside ANL =&lt;br /&gt;
&lt;br /&gt;
only for PC at onenet.&lt;br /&gt;
&lt;br /&gt;
 ssh -J &amp;lt;username&amp;gt;@login.phy.anl.gov &amp;lt;accountName&amp;gt;@&amp;lt;onenet_IP&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 {| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PC  ||  accountName || onenetIP&lt;br /&gt;
|-&lt;br /&gt;
| DAQ || helios || digios1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Nat Box / Rounter =&lt;br /&gt;
The login for the cisco ([http://www.cisco.com/c/en/us/products/collateral/routers/rv180-vpn-router/c78-697397_data_sheet.html cisco data page]) is uname &#039;&#039;cisco&#039;&#039; and the gammasphere password&lt;br /&gt;
 192.168.1.1&lt;br /&gt;
Notes on cisco setup:&lt;br /&gt;
network -&amp;gt; wan -&amp;gt; iPv4 -&amp;gt; static -&amp;gt; 192.168.203.52 -&amp;gt; default .1 -&amp;gt; DNS .1&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Computer || IP&lt;br /&gt;
|-&lt;br /&gt;
| IOCs     || 192.168.1.2X&lt;br /&gt;
|-&lt;br /&gt;
| DAQ      || 192.168.1.2&lt;br /&gt;
|-&lt;br /&gt;
|MAC2020   || 192.168.1.164&lt;br /&gt;
|-&lt;br /&gt;
|MAC2017   || 192.168.1.193&lt;br /&gt;
|-&lt;br /&gt;
|Windows XP || 192.168.1.191&lt;br /&gt;
|-&lt;br /&gt;
|DAQ power switch ||  192.168.1.115&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are some unknown IP&lt;br /&gt;
 192.168.1.3&lt;br /&gt;
 192.168.1.81&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To scan all &amp;quot;active&amp;quot; devices in the CISCO network:&lt;br /&gt;
 $nmap -F 192.168.1.*&lt;br /&gt;
&lt;br /&gt;
= Terminal Server = &lt;br /&gt;
[https://www.digi.com/pdf/prd_ts_portserverts816.pdf Portserver TS16 MEI]&lt;br /&gt;
&lt;br /&gt;
Info? (2.6.23-431.5.1.el6.i686 (RH 4.4.7-3)&lt;br /&gt;
Login with &#039;&#039;root&#039;&#039; and gammasphere pswrd&lt;br /&gt;
&lt;br /&gt;
 telnet 192.168.1.3 200[1-X]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the DAQ-PC, the IP and the corresponding &amp;quot;nickname&amp;quot; are saved in &lt;br /&gt;
 /etc/hosts&lt;br /&gt;
&lt;br /&gt;
 $cat /etc/hosts&lt;br /&gt;
 127.0.0.1		localhost.localdomain localhost&lt;br /&gt;
 ::1		localhost6.localdomain6 localhost6&lt;br /&gt;
 192.168.1.1	digios1&lt;br /&gt;
 192.168.1.3	ts&lt;br /&gt;
 192.168.1.20	ioc0&lt;br /&gt;
 192.168.1.21	ioc1&lt;br /&gt;
 192.168.1.22	ioc2&lt;br /&gt;
 192.168.1.23	ioc3&lt;br /&gt;
 192.168.1.24	ioc4&lt;br /&gt;
 192.168.1.234	tllptgs&lt;br /&gt;
&lt;br /&gt;
== Physical Locations and ID&#039;s of Digitizers / Routers / Triggers ==&lt;br /&gt;
&lt;br /&gt;
Really need a few figures with labels / diagrams.&lt;br /&gt;
&lt;br /&gt;
* Serial numbers of system hardware&lt;br /&gt;
* Board ID numbers for data processing&lt;br /&gt;
* IP address and names of modules&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Locations&amp;diff=2509</id>
		<title>Locations</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Locations&amp;diff=2509"/>
		<updated>2025-06-26T18:19:17Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Login outside ANL */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Physical Location =&lt;br /&gt;
&lt;br /&gt;
[[File:PhysicalLocation.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Network Location Information =&lt;br /&gt;
&lt;br /&gt;
A drawing of the network is like this (2021-01-21).&lt;br /&gt;
&lt;br /&gt;
The CISCO router is the only way to the onenet and internet. &lt;br /&gt;
&lt;br /&gt;
The HP Switch is a main switch for all devices, like the DAQ PC and the MAC.&lt;br /&gt;
&lt;br /&gt;
The HELIOS-DB and the windowsXP connects to the onenet directly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- [[File:NetworkLocation.png|800px|frameless]] --&amp;gt;&lt;br /&gt;
[[File:NetworkConnection20210121.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
We added 2 Network Power switch&lt;br /&gt;
&lt;br /&gt;
 IP: 192.168.1.106 for Target fan&lt;br /&gt;
 IP: 192.168.1.115 for DAQ&lt;br /&gt;
&lt;br /&gt;
= DAQ Computer =&lt;br /&gt;
The data acquisition computer for digital HELIOS sits behind a NAT box. The NAT box is located at &lt;br /&gt;
 digios1.onenet (192.168.203.52)&lt;br /&gt;
or from the Mac&lt;br /&gt;
 192.168.1.2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;The HELIOS-DB, Mac2017 and the windowsXP connect to the onenet, the IPs are&lt;br /&gt;
&lt;br /&gt;
 HELIOS-DB : 192.168.203.23 (nickname: heliosdb)&lt;br /&gt;
&lt;br /&gt;
 windowsXP : 192.168.203.37&lt;br /&gt;
&lt;br /&gt;
 mac2017 : 192.168.203.34 (nickname: mac2017)&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Login outside ANL =&lt;br /&gt;
&lt;br /&gt;
only for PC at onenet.&lt;br /&gt;
&lt;br /&gt;
 ssh -J &amp;lt;username&amp;gt;@login.phy.anl.gov &amp;lt;accountName&amp;gt;@&amp;lt;onenet_IP&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 {| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PC  ||  accountName || onenetIP&lt;br /&gt;
|-&lt;br /&gt;
| DAQ || helios || digios1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Nat Box / Rounter =&lt;br /&gt;
The login for the cisco ([http://www.cisco.com/c/en/us/products/collateral/routers/rv180-vpn-router/c78-697397_data_sheet.html cisco data page]) is uname &#039;&#039;cisco&#039;&#039; and the gammasphere password&lt;br /&gt;
 192.168.1.1&lt;br /&gt;
Notes on cisco setup:&lt;br /&gt;
network -&amp;gt; wan -&amp;gt; iPv4 -&amp;gt; static -&amp;gt; 192.168.203.52 -&amp;gt; default .1 -&amp;gt; DNS .1&lt;br /&gt;
&lt;br /&gt;
IOC&#039;s are &lt;br /&gt;
 192.168.1.2X&lt;br /&gt;
DAQ computer (digios1) is &lt;br /&gt;
 192.168.1.2&lt;br /&gt;
MAC2020 computer (helios-iMac) is&lt;br /&gt;
 192.168.1.164&lt;br /&gt;
Target Fan power switch (target-pwrswitch) is&lt;br /&gt;
 192.168.1.106&lt;br /&gt;
DAQ power switch is &lt;br /&gt;
 192.168.1.115&lt;br /&gt;
&lt;br /&gt;
There are some unknown IP&lt;br /&gt;
 192.168.1.3&lt;br /&gt;
 192.168.1.81&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To scan all &amp;quot;active&amp;quot; devices in the CISCO network:&lt;br /&gt;
 $nmap -F 192.168.1.*&lt;br /&gt;
&lt;br /&gt;
= Terminal Server = &lt;br /&gt;
[https://www.digi.com/pdf/prd_ts_portserverts816.pdf Portserver TS16 MEI]&lt;br /&gt;
&lt;br /&gt;
Info? (2.6.23-431.5.1.el6.i686 (RH 4.4.7-3)&lt;br /&gt;
Login with &#039;&#039;root&#039;&#039; and gammasphere pswrd&lt;br /&gt;
&lt;br /&gt;
 telnet 192.168.1.3 200[1-X]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the DAQ-PC, the IP and the corresponding &amp;quot;nickname&amp;quot; are saved in &lt;br /&gt;
 /etc/hosts&lt;br /&gt;
&lt;br /&gt;
 $cat /etc/hosts&lt;br /&gt;
 127.0.0.1		localhost.localdomain localhost&lt;br /&gt;
 ::1		localhost6.localdomain6 localhost6&lt;br /&gt;
 192.168.1.1	digios1&lt;br /&gt;
 192.168.1.3	ts&lt;br /&gt;
 192.168.1.20	ioc0&lt;br /&gt;
 192.168.1.21	ioc1&lt;br /&gt;
 192.168.1.22	ioc2&lt;br /&gt;
 192.168.1.23	ioc3&lt;br /&gt;
 192.168.1.24	ioc4&lt;br /&gt;
 192.168.1.234	tllptgs&lt;br /&gt;
&lt;br /&gt;
== Physical Locations and ID&#039;s of Digitizers / Routers / Triggers ==&lt;br /&gt;
&lt;br /&gt;
Really need a few figures with labels / diagrams.&lt;br /&gt;
&lt;br /&gt;
* Serial numbers of system hardware&lt;br /&gt;
* Board ID numbers for data processing&lt;br /&gt;
* IP address and names of modules&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Locations&amp;diff=2508</id>
		<title>Locations</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Locations&amp;diff=2508"/>
		<updated>2025-06-26T18:18:38Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Login outside ANL */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Physical Location =&lt;br /&gt;
&lt;br /&gt;
[[File:PhysicalLocation.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Network Location Information =&lt;br /&gt;
&lt;br /&gt;
A drawing of the network is like this (2021-01-21).&lt;br /&gt;
&lt;br /&gt;
The CISCO router is the only way to the onenet and internet. &lt;br /&gt;
&lt;br /&gt;
The HP Switch is a main switch for all devices, like the DAQ PC and the MAC.&lt;br /&gt;
&lt;br /&gt;
The HELIOS-DB and the windowsXP connects to the onenet directly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- [[File:NetworkLocation.png|800px|frameless]] --&amp;gt;&lt;br /&gt;
[[File:NetworkConnection20210121.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
We added 2 Network Power switch&lt;br /&gt;
&lt;br /&gt;
 IP: 192.168.1.106 for Target fan&lt;br /&gt;
 IP: 192.168.1.115 for DAQ&lt;br /&gt;
&lt;br /&gt;
= DAQ Computer =&lt;br /&gt;
The data acquisition computer for digital HELIOS sits behind a NAT box. The NAT box is located at &lt;br /&gt;
 digios1.onenet (192.168.203.52)&lt;br /&gt;
or from the Mac&lt;br /&gt;
 192.168.1.2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;The HELIOS-DB, Mac2017 and the windowsXP connect to the onenet, the IPs are&lt;br /&gt;
&lt;br /&gt;
 HELIOS-DB : 192.168.203.23 (nickname: heliosdb)&lt;br /&gt;
&lt;br /&gt;
 windowsXP : 192.168.203.37&lt;br /&gt;
&lt;br /&gt;
 mac2017 : 192.168.203.34 (nickname: mac2017)&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Login outside ANL =&lt;br /&gt;
&lt;br /&gt;
only for PC at onenet.&lt;br /&gt;
&lt;br /&gt;
 ssh -J &amp;lt;username&amp;gt;@login.phy.anl.gov &amp;lt;accountName&amp;gt;@&amp;lt;onenet_IP&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 {| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PC ! accountName ! onenetIP&lt;br /&gt;
|-&lt;br /&gt;
| DAQ | helios | digios1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Nat Box / Rounter =&lt;br /&gt;
The login for the cisco ([http://www.cisco.com/c/en/us/products/collateral/routers/rv180-vpn-router/c78-697397_data_sheet.html cisco data page]) is uname &#039;&#039;cisco&#039;&#039; and the gammasphere password&lt;br /&gt;
 192.168.1.1&lt;br /&gt;
Notes on cisco setup:&lt;br /&gt;
network -&amp;gt; wan -&amp;gt; iPv4 -&amp;gt; static -&amp;gt; 192.168.203.52 -&amp;gt; default .1 -&amp;gt; DNS .1&lt;br /&gt;
&lt;br /&gt;
IOC&#039;s are &lt;br /&gt;
 192.168.1.2X&lt;br /&gt;
DAQ computer (digios1) is &lt;br /&gt;
 192.168.1.2&lt;br /&gt;
MAC2020 computer (helios-iMac) is&lt;br /&gt;
 192.168.1.164&lt;br /&gt;
Target Fan power switch (target-pwrswitch) is&lt;br /&gt;
 192.168.1.106&lt;br /&gt;
DAQ power switch is &lt;br /&gt;
 192.168.1.115&lt;br /&gt;
&lt;br /&gt;
There are some unknown IP&lt;br /&gt;
 192.168.1.3&lt;br /&gt;
 192.168.1.81&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To scan all &amp;quot;active&amp;quot; devices in the CISCO network:&lt;br /&gt;
 $nmap -F 192.168.1.*&lt;br /&gt;
&lt;br /&gt;
= Terminal Server = &lt;br /&gt;
[https://www.digi.com/pdf/prd_ts_portserverts816.pdf Portserver TS16 MEI]&lt;br /&gt;
&lt;br /&gt;
Info? (2.6.23-431.5.1.el6.i686 (RH 4.4.7-3)&lt;br /&gt;
Login with &#039;&#039;root&#039;&#039; and gammasphere pswrd&lt;br /&gt;
&lt;br /&gt;
 telnet 192.168.1.3 200[1-X]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the DAQ-PC, the IP and the corresponding &amp;quot;nickname&amp;quot; are saved in &lt;br /&gt;
 /etc/hosts&lt;br /&gt;
&lt;br /&gt;
 $cat /etc/hosts&lt;br /&gt;
 127.0.0.1		localhost.localdomain localhost&lt;br /&gt;
 ::1		localhost6.localdomain6 localhost6&lt;br /&gt;
 192.168.1.1	digios1&lt;br /&gt;
 192.168.1.3	ts&lt;br /&gt;
 192.168.1.20	ioc0&lt;br /&gt;
 192.168.1.21	ioc1&lt;br /&gt;
 192.168.1.22	ioc2&lt;br /&gt;
 192.168.1.23	ioc3&lt;br /&gt;
 192.168.1.24	ioc4&lt;br /&gt;
 192.168.1.234	tllptgs&lt;br /&gt;
&lt;br /&gt;
== Physical Locations and ID&#039;s of Digitizers / Routers / Triggers ==&lt;br /&gt;
&lt;br /&gt;
Really need a few figures with labels / diagrams.&lt;br /&gt;
&lt;br /&gt;
* Serial numbers of system hardware&lt;br /&gt;
* Board ID numbers for data processing&lt;br /&gt;
* IP address and names of modules&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Locations&amp;diff=2507</id>
		<title>Locations</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Locations&amp;diff=2507"/>
		<updated>2025-06-26T18:18:09Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* DAQ Computer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Physical Location =&lt;br /&gt;
&lt;br /&gt;
[[File:PhysicalLocation.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Network Location Information =&lt;br /&gt;
&lt;br /&gt;
A drawing of the network is like this (2021-01-21).&lt;br /&gt;
&lt;br /&gt;
The CISCO router is the only way to the onenet and internet. &lt;br /&gt;
&lt;br /&gt;
The HP Switch is a main switch for all devices, like the DAQ PC and the MAC.&lt;br /&gt;
&lt;br /&gt;
The HELIOS-DB and the windowsXP connects to the onenet directly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- [[File:NetworkLocation.png|800px|frameless]] --&amp;gt;&lt;br /&gt;
[[File:NetworkConnection20210121.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
We added 2 Network Power switch&lt;br /&gt;
&lt;br /&gt;
 IP: 192.168.1.106 for Target fan&lt;br /&gt;
 IP: 192.168.1.115 for DAQ&lt;br /&gt;
&lt;br /&gt;
= DAQ Computer =&lt;br /&gt;
The data acquisition computer for digital HELIOS sits behind a NAT box. The NAT box is located at &lt;br /&gt;
 digios1.onenet (192.168.203.52)&lt;br /&gt;
or from the Mac&lt;br /&gt;
 192.168.1.2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;The HELIOS-DB, Mac2017 and the windowsXP connect to the onenet, the IPs are&lt;br /&gt;
&lt;br /&gt;
 HELIOS-DB : 192.168.203.23 (nickname: heliosdb)&lt;br /&gt;
&lt;br /&gt;
 windowsXP : 192.168.203.37&lt;br /&gt;
&lt;br /&gt;
 mac2017 : 192.168.203.34 (nickname: mac2017)&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Login outside ANL =&lt;br /&gt;
&lt;br /&gt;
only for PC at onenet.&lt;br /&gt;
&lt;br /&gt;
 ssh -J &amp;lt;username&amp;gt;@login.phy.anl.gov &amp;lt;accountName&amp;gt;@&amp;lt;onenet_IP&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 {| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PC&lt;br /&gt;
! accountName&lt;br /&gt;
! onenetIP&lt;br /&gt;
|-&lt;br /&gt;
| DAQ&lt;br /&gt;
| helios&lt;br /&gt;
| digios1&lt;br /&gt;
|-&lt;br /&gt;
| Mac2017&lt;br /&gt;
| heliosdigios&lt;br /&gt;
| mac2017&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Nat Box / Rounter =&lt;br /&gt;
The login for the cisco ([http://www.cisco.com/c/en/us/products/collateral/routers/rv180-vpn-router/c78-697397_data_sheet.html cisco data page]) is uname &#039;&#039;cisco&#039;&#039; and the gammasphere password&lt;br /&gt;
 192.168.1.1&lt;br /&gt;
Notes on cisco setup:&lt;br /&gt;
network -&amp;gt; wan -&amp;gt; iPv4 -&amp;gt; static -&amp;gt; 192.168.203.52 -&amp;gt; default .1 -&amp;gt; DNS .1&lt;br /&gt;
&lt;br /&gt;
IOC&#039;s are &lt;br /&gt;
 192.168.1.2X&lt;br /&gt;
DAQ computer (digios1) is &lt;br /&gt;
 192.168.1.2&lt;br /&gt;
MAC2020 computer (helios-iMac) is&lt;br /&gt;
 192.168.1.164&lt;br /&gt;
Target Fan power switch (target-pwrswitch) is&lt;br /&gt;
 192.168.1.106&lt;br /&gt;
DAQ power switch is &lt;br /&gt;
 192.168.1.115&lt;br /&gt;
&lt;br /&gt;
There are some unknown IP&lt;br /&gt;
 192.168.1.3&lt;br /&gt;
 192.168.1.81&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To scan all &amp;quot;active&amp;quot; devices in the CISCO network:&lt;br /&gt;
 $nmap -F 192.168.1.*&lt;br /&gt;
&lt;br /&gt;
= Terminal Server = &lt;br /&gt;
[https://www.digi.com/pdf/prd_ts_portserverts816.pdf Portserver TS16 MEI]&lt;br /&gt;
&lt;br /&gt;
Info? (2.6.23-431.5.1.el6.i686 (RH 4.4.7-3)&lt;br /&gt;
Login with &#039;&#039;root&#039;&#039; and gammasphere pswrd&lt;br /&gt;
&lt;br /&gt;
 telnet 192.168.1.3 200[1-X]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the DAQ-PC, the IP and the corresponding &amp;quot;nickname&amp;quot; are saved in &lt;br /&gt;
 /etc/hosts&lt;br /&gt;
&lt;br /&gt;
 $cat /etc/hosts&lt;br /&gt;
 127.0.0.1		localhost.localdomain localhost&lt;br /&gt;
 ::1		localhost6.localdomain6 localhost6&lt;br /&gt;
 192.168.1.1	digios1&lt;br /&gt;
 192.168.1.3	ts&lt;br /&gt;
 192.168.1.20	ioc0&lt;br /&gt;
 192.168.1.21	ioc1&lt;br /&gt;
 192.168.1.22	ioc2&lt;br /&gt;
 192.168.1.23	ioc3&lt;br /&gt;
 192.168.1.24	ioc4&lt;br /&gt;
 192.168.1.234	tllptgs&lt;br /&gt;
&lt;br /&gt;
== Physical Locations and ID&#039;s of Digitizers / Routers / Triggers ==&lt;br /&gt;
&lt;br /&gt;
Really need a few figures with labels / diagrams.&lt;br /&gt;
&lt;br /&gt;
* Serial numbers of system hardware&lt;br /&gt;
* Board ID numbers for data processing&lt;br /&gt;
* IP address and names of modules&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Kinematics_of_HELIOS.pdf&amp;diff=2506</id>
		<title>File:Kinematics of HELIOS.pdf</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Kinematics_of_HELIOS.pdf&amp;diff=2506"/>
		<updated>2024-12-08T19:21:38Z</updated>

		<summary type="html">&lt;p&gt;Ttang: Ttang uploaded a new version of File:Kinematics of HELIOS.pdf&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Kinematics of HELIOS&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Kinematics_of_HELIOS.pdf&amp;diff=2505</id>
		<title>File:Kinematics of HELIOS.pdf</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Kinematics_of_HELIOS.pdf&amp;diff=2505"/>
		<updated>2024-06-09T23:26:18Z</updated>

		<summary type="html">&lt;p&gt;Ttang: Ttang uploaded a new version of File:Kinematics of HELIOS.pdf&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Kinematics of HELIOS&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Main_Page&amp;diff=2504</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Main_Page&amp;diff=2504"/>
		<updated>2024-01-09T20:55:19Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Hardware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== HELIOS Digital DAQ Wiki Page ==&lt;br /&gt;
&lt;br /&gt;
This is the wiki for all that is the [http://www.phy.anl.gov/atlas/helios HELIOS] Digital Data Acquisition (informally known as DigiOS).&lt;br /&gt;
&lt;br /&gt;
For the kinematics of HELIOS, please look [[File:Kinematics of HELIOS.pdf|thumb]]&lt;br /&gt;
&lt;br /&gt;
Online simulation is available [https://fsunuc.physics.fsu.edu/SOLARIS/ Here]&lt;br /&gt;
&lt;br /&gt;
= Hardware =&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!! Devices !! Function&lt;br /&gt;
|-&lt;br /&gt;
| Digitizers || digitizing analog signal&lt;br /&gt;
|- &lt;br /&gt;
| HELIOS DAQ || controlling and receiving data &lt;br /&gt;
|-&lt;br /&gt;
| Mac2020    || Remote control of the HELIOS DAQ and online analysis&lt;br /&gt;
|-&lt;br /&gt;
| Mac2017    || Database, Grafana, remote control of the WindowXP&lt;br /&gt;
|-&lt;br /&gt;
| WindowXP   || HV control&lt;br /&gt;
|- &lt;br /&gt;
| HeliosDB (removed) || Database (replaced by Mac2017)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Here are more detail&lt;br /&gt;
&lt;br /&gt;
*:[[Hardware]]&lt;br /&gt;
&lt;br /&gt;
*:[[Locations]]&lt;br /&gt;
&lt;br /&gt;
*:[[Hardware/Firmware Configurations]]&lt;br /&gt;
&lt;br /&gt;
*:[[VME99 test stand IOC]]&lt;br /&gt;
&lt;br /&gt;
*:[[Target Fan Control]]&lt;br /&gt;
&lt;br /&gt;
*:[[Detectors]]&lt;br /&gt;
&lt;br /&gt;
*:[[Alpha source]]&lt;br /&gt;
&lt;br /&gt;
*:[[PV List]]&lt;br /&gt;
&lt;br /&gt;
= Software =&lt;br /&gt;
&lt;br /&gt;
*:[[GUI, Scripts And Analysis Code]]&lt;br /&gt;
&lt;br /&gt;
*:[[Data Storage]]&lt;br /&gt;
&lt;br /&gt;
*:[[Input/Output Control]]&lt;br /&gt;
&lt;br /&gt;
*:[[EPIC]]&lt;br /&gt;
&lt;br /&gt;
*:[[gtReceiver + GEBSort]]&lt;br /&gt;
&lt;br /&gt;
*:[[Grafana + InfluxDB]]&lt;br /&gt;
&lt;br /&gt;
*:[[Globus]]&lt;br /&gt;
&lt;br /&gt;
*:[[Leakage Current from Iseg]]&lt;br /&gt;
&lt;br /&gt;
*:[[Ptolemy in Mac using docker]]&lt;br /&gt;
&lt;br /&gt;
= Usage and Operation =&lt;br /&gt;
&lt;br /&gt;
*:[[System usage]]&lt;br /&gt;
&lt;br /&gt;
*:[[Sorting Data]]&lt;br /&gt;
&lt;br /&gt;
*:[[&amp;quot;How to&amp;quot; for DAQ]]&lt;br /&gt;
&lt;br /&gt;
*:[[&amp;quot;How to&amp;quot; for analysis code]]&lt;br /&gt;
&lt;br /&gt;
= Others =&lt;br /&gt;
&lt;br /&gt;
*:[[Experiments]]&lt;br /&gt;
&lt;br /&gt;
*:[[System testing]]&lt;br /&gt;
&lt;br /&gt;
*:[[Known problems and (Hopefully!) solutions]]&lt;br /&gt;
&lt;br /&gt;
*:[[General information]]&lt;br /&gt;
&lt;br /&gt;
*:[[Ideas]]&lt;br /&gt;
&lt;br /&gt;
*:[[Gallery]]&lt;br /&gt;
&lt;br /&gt;
*:[[scp via jump server]]&lt;br /&gt;
&lt;br /&gt;
= Contacts =&lt;br /&gt;
&lt;br /&gt;
:: Calem Hoffman mailto:crhoffman@anl.gov&lt;br /&gt;
:: Daniel Santiago-Gonzalez mailto:dasago@anl.gov&lt;br /&gt;
:: Sean A. Kuvin mailto:kuvin@anl.gov&lt;br /&gt;
:: Tsz Leung (Ryan) Tang mailto:ttang@anl.gov mailto:rtang@fsu.edu&lt;br /&gt;
&lt;br /&gt;
{{Template:Standard Footer}}&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Main_Page&amp;diff=2503</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Main_Page&amp;diff=2503"/>
		<updated>2024-01-09T20:54:54Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Hardware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== HELIOS Digital DAQ Wiki Page ==&lt;br /&gt;
&lt;br /&gt;
This is the wiki for all that is the [http://www.phy.anl.gov/atlas/helios HELIOS] Digital Data Acquisition (informally known as DigiOS).&lt;br /&gt;
&lt;br /&gt;
For the kinematics of HELIOS, please look [[File:Kinematics of HELIOS.pdf|thumb]]&lt;br /&gt;
&lt;br /&gt;
Online simulation is available [https://fsunuc.physics.fsu.edu/SOLARIS/ Here]&lt;br /&gt;
&lt;br /&gt;
= Hardware =&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!! Devices !! Function&lt;br /&gt;
|-&lt;br /&gt;
| Digitizers || digitizing analog signal&lt;br /&gt;
|- &lt;br /&gt;
| HELIOS DAQ || controlling and receiving data &lt;br /&gt;
|-&lt;br /&gt;
| Mac2020    || remote control of the HELIOS DAQ and online analysis&lt;br /&gt;
|-&lt;br /&gt;
| Mac2017    || Database, grafana, remote control of the WindowXP&lt;br /&gt;
|-&lt;br /&gt;
| WindowXP   || HV control&lt;br /&gt;
|- &lt;br /&gt;
| HeliosDB (removed) || Database&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Here are more detail&lt;br /&gt;
&lt;br /&gt;
*:[[Hardware]]&lt;br /&gt;
&lt;br /&gt;
*:[[Locations]]&lt;br /&gt;
&lt;br /&gt;
*:[[Hardware/Firmware Configurations]]&lt;br /&gt;
&lt;br /&gt;
*:[[VME99 test stand IOC]]&lt;br /&gt;
&lt;br /&gt;
*:[[Target Fan Control]]&lt;br /&gt;
&lt;br /&gt;
*:[[Detectors]]&lt;br /&gt;
&lt;br /&gt;
*:[[Alpha source]]&lt;br /&gt;
&lt;br /&gt;
*:[[PV List]]&lt;br /&gt;
&lt;br /&gt;
= Software =&lt;br /&gt;
&lt;br /&gt;
*:[[GUI, Scripts And Analysis Code]]&lt;br /&gt;
&lt;br /&gt;
*:[[Data Storage]]&lt;br /&gt;
&lt;br /&gt;
*:[[Input/Output Control]]&lt;br /&gt;
&lt;br /&gt;
*:[[EPIC]]&lt;br /&gt;
&lt;br /&gt;
*:[[gtReceiver + GEBSort]]&lt;br /&gt;
&lt;br /&gt;
*:[[Grafana + InfluxDB]]&lt;br /&gt;
&lt;br /&gt;
*:[[Globus]]&lt;br /&gt;
&lt;br /&gt;
*:[[Leakage Current from Iseg]]&lt;br /&gt;
&lt;br /&gt;
*:[[Ptolemy in Mac using docker]]&lt;br /&gt;
&lt;br /&gt;
= Usage and Operation =&lt;br /&gt;
&lt;br /&gt;
*:[[System usage]]&lt;br /&gt;
&lt;br /&gt;
*:[[Sorting Data]]&lt;br /&gt;
&lt;br /&gt;
*:[[&amp;quot;How to&amp;quot; for DAQ]]&lt;br /&gt;
&lt;br /&gt;
*:[[&amp;quot;How to&amp;quot; for analysis code]]&lt;br /&gt;
&lt;br /&gt;
= Others =&lt;br /&gt;
&lt;br /&gt;
*:[[Experiments]]&lt;br /&gt;
&lt;br /&gt;
*:[[System testing]]&lt;br /&gt;
&lt;br /&gt;
*:[[Known problems and (Hopefully!) solutions]]&lt;br /&gt;
&lt;br /&gt;
*:[[General information]]&lt;br /&gt;
&lt;br /&gt;
*:[[Ideas]]&lt;br /&gt;
&lt;br /&gt;
*:[[Gallery]]&lt;br /&gt;
&lt;br /&gt;
*:[[scp via jump server]]&lt;br /&gt;
&lt;br /&gt;
= Contacts =&lt;br /&gt;
&lt;br /&gt;
:: Calem Hoffman mailto:crhoffman@anl.gov&lt;br /&gt;
:: Daniel Santiago-Gonzalez mailto:dasago@anl.gov&lt;br /&gt;
:: Sean A. Kuvin mailto:kuvin@anl.gov&lt;br /&gt;
:: Tsz Leung (Ryan) Tang mailto:ttang@anl.gov mailto:rtang@fsu.edu&lt;br /&gt;
&lt;br /&gt;
{{Template:Standard Footer}}&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Main_Page&amp;diff=2502</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Main_Page&amp;diff=2502"/>
		<updated>2024-01-09T20:53:36Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Hardware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== HELIOS Digital DAQ Wiki Page ==&lt;br /&gt;
&lt;br /&gt;
This is the wiki for all that is the [http://www.phy.anl.gov/atlas/helios HELIOS] Digital Data Acquisition (informally known as DigiOS).&lt;br /&gt;
&lt;br /&gt;
For the kinematics of HELIOS, please look [[File:Kinematics of HELIOS.pdf|thumb]]&lt;br /&gt;
&lt;br /&gt;
Online simulation is available [https://fsunuc.physics.fsu.edu/SOLARIS/ Here]&lt;br /&gt;
&lt;br /&gt;
= Hardware =&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!! Devices !! Function&lt;br /&gt;
|-&lt;br /&gt;
| Digitizers || digitizing analog signal&lt;br /&gt;
|- &lt;br /&gt;
| HELIOS DAQ || controlling and receiving data &lt;br /&gt;
|-&lt;br /&gt;
| Mac2020    || remote control of the HELIOS DAQ and online analysis&lt;br /&gt;
|-&lt;br /&gt;
| Old Mac    || Database, grafana, remote control of the WindowXP&lt;br /&gt;
|-&lt;br /&gt;
| WindowXP   || HV control&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Here are more detail&lt;br /&gt;
&lt;br /&gt;
*:[[Hardware]]&lt;br /&gt;
&lt;br /&gt;
*:[[Locations]]&lt;br /&gt;
&lt;br /&gt;
*:[[Hardware/Firmware Configurations]]&lt;br /&gt;
&lt;br /&gt;
*:[[VME99 test stand IOC]]&lt;br /&gt;
&lt;br /&gt;
*:[[Target Fan Control]]&lt;br /&gt;
&lt;br /&gt;
*:[[Detectors]]&lt;br /&gt;
&lt;br /&gt;
*:[[Alpha source]]&lt;br /&gt;
&lt;br /&gt;
*:[[PV List]]&lt;br /&gt;
&lt;br /&gt;
= Software =&lt;br /&gt;
&lt;br /&gt;
*:[[GUI, Scripts And Analysis Code]]&lt;br /&gt;
&lt;br /&gt;
*:[[Data Storage]]&lt;br /&gt;
&lt;br /&gt;
*:[[Input/Output Control]]&lt;br /&gt;
&lt;br /&gt;
*:[[EPIC]]&lt;br /&gt;
&lt;br /&gt;
*:[[gtReceiver + GEBSort]]&lt;br /&gt;
&lt;br /&gt;
*:[[Grafana + InfluxDB]]&lt;br /&gt;
&lt;br /&gt;
*:[[Globus]]&lt;br /&gt;
&lt;br /&gt;
*:[[Leakage Current from Iseg]]&lt;br /&gt;
&lt;br /&gt;
*:[[Ptolemy in Mac using docker]]&lt;br /&gt;
&lt;br /&gt;
= Usage and Operation =&lt;br /&gt;
&lt;br /&gt;
*:[[System usage]]&lt;br /&gt;
&lt;br /&gt;
*:[[Sorting Data]]&lt;br /&gt;
&lt;br /&gt;
*:[[&amp;quot;How to&amp;quot; for DAQ]]&lt;br /&gt;
&lt;br /&gt;
*:[[&amp;quot;How to&amp;quot; for analysis code]]&lt;br /&gt;
&lt;br /&gt;
= Others =&lt;br /&gt;
&lt;br /&gt;
*:[[Experiments]]&lt;br /&gt;
&lt;br /&gt;
*:[[System testing]]&lt;br /&gt;
&lt;br /&gt;
*:[[Known problems and (Hopefully!) solutions]]&lt;br /&gt;
&lt;br /&gt;
*:[[General information]]&lt;br /&gt;
&lt;br /&gt;
*:[[Ideas]]&lt;br /&gt;
&lt;br /&gt;
*:[[Gallery]]&lt;br /&gt;
&lt;br /&gt;
*:[[scp via jump server]]&lt;br /&gt;
&lt;br /&gt;
= Contacts =&lt;br /&gt;
&lt;br /&gt;
:: Calem Hoffman mailto:crhoffman@anl.gov&lt;br /&gt;
:: Daniel Santiago-Gonzalez mailto:dasago@anl.gov&lt;br /&gt;
:: Sean A. Kuvin mailto:kuvin@anl.gov&lt;br /&gt;
:: Tsz Leung (Ryan) Tang mailto:ttang@anl.gov mailto:rtang@fsu.edu&lt;br /&gt;
&lt;br /&gt;
{{Template:Standard Footer}}&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Scp_via_jump_server&amp;diff=2501</id>
		<title>Scp via jump server</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Scp_via_jump_server&amp;diff=2501"/>
		<updated>2023-12-24T18:40:09Z</updated>

		<summary type="html">&lt;p&gt;Ttang: Created page with &amp;quot;The situation is, I want to download some files from digios1 (inside onenet) to my home, which is outside of the ANL network.   digios1 --&amp;gt; jump server --&amp;gt; Home  In Mac:   scp -oProxyCommand=&amp;quot;ssh -W %h:%p &amp;lt;USERNAME&amp;gt;@login.phy.anl.gov&amp;quot; helios@digios1:/PATH/TO/FILES HOME/PATH  When scp support -J option   scp -J &amp;lt;USERNAME&amp;gt;@login.phy.anl.gov helios@digios1:/PATH/TO/FILES HOME/PATH&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The situation is, I want to download some files from digios1 (inside onenet) to my home, which is outside of the ANL network. &lt;br /&gt;
&lt;br /&gt;
digios1 --&amp;gt; jump server --&amp;gt; Home&lt;br /&gt;
&lt;br /&gt;
In Mac:&lt;br /&gt;
&lt;br /&gt;
 scp -oProxyCommand=&amp;quot;ssh -W %h:%p &amp;lt;USERNAME&amp;gt;@login.phy.anl.gov&amp;quot; helios@digios1:/PATH/TO/FILES HOME/PATH&lt;br /&gt;
&lt;br /&gt;
When scp support -J option&lt;br /&gt;
&lt;br /&gt;
 scp -J &amp;lt;USERNAME&amp;gt;@login.phy.anl.gov helios@digios1:/PATH/TO/FILES HOME/PATH&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Main_Page&amp;diff=2500</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Main_Page&amp;diff=2500"/>
		<updated>2023-12-24T18:36:48Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Others */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== HELIOS Digital DAQ Wiki Page ==&lt;br /&gt;
&lt;br /&gt;
This is the wiki for all that is the [http://www.phy.anl.gov/atlas/helios HELIOS] Digital Data Acquisition (informally known as DigiOS).&lt;br /&gt;
&lt;br /&gt;
For the kinematics of HELIOS, please look [[File:Kinematics of HELIOS.pdf|thumb]]&lt;br /&gt;
&lt;br /&gt;
Online simulation is available [https://fsunuc.physics.fsu.edu/SOLARIS/ Here]&lt;br /&gt;
&lt;br /&gt;
= Hardware =&lt;br /&gt;
&lt;br /&gt;
*:[[Hardware]]&lt;br /&gt;
&lt;br /&gt;
*:[[Locations]]&lt;br /&gt;
&lt;br /&gt;
*:[[Hardware/Firmware Configurations]]&lt;br /&gt;
&lt;br /&gt;
*:[[VME99 test stand IOC]]&lt;br /&gt;
&lt;br /&gt;
*:[[Target Fan Control]]&lt;br /&gt;
&lt;br /&gt;
*:[[Detectors]]&lt;br /&gt;
&lt;br /&gt;
*:[[Alpha source]]&lt;br /&gt;
&lt;br /&gt;
*:[[PV List]]&lt;br /&gt;
&lt;br /&gt;
= Software =&lt;br /&gt;
&lt;br /&gt;
*:[[GUI, Scripts And Analysis Code]]&lt;br /&gt;
&lt;br /&gt;
*:[[Data Storage]]&lt;br /&gt;
&lt;br /&gt;
*:[[Input/Output Control]]&lt;br /&gt;
&lt;br /&gt;
*:[[EPIC]]&lt;br /&gt;
&lt;br /&gt;
*:[[gtReceiver + GEBSort]]&lt;br /&gt;
&lt;br /&gt;
*:[[Grafana + InfluxDB]]&lt;br /&gt;
&lt;br /&gt;
*:[[Globus]]&lt;br /&gt;
&lt;br /&gt;
*:[[Leakage Current from Iseg]]&lt;br /&gt;
&lt;br /&gt;
*:[[Ptolemy in Mac using docker]]&lt;br /&gt;
&lt;br /&gt;
= Usage and Operation =&lt;br /&gt;
&lt;br /&gt;
*:[[System usage]]&lt;br /&gt;
&lt;br /&gt;
*:[[Sorting Data]]&lt;br /&gt;
&lt;br /&gt;
*:[[&amp;quot;How to&amp;quot; for DAQ]]&lt;br /&gt;
&lt;br /&gt;
*:[[&amp;quot;How to&amp;quot; for analysis code]]&lt;br /&gt;
&lt;br /&gt;
= Others =&lt;br /&gt;
&lt;br /&gt;
*:[[Experiments]]&lt;br /&gt;
&lt;br /&gt;
*:[[System testing]]&lt;br /&gt;
&lt;br /&gt;
*:[[Known problems and (Hopefully!) solutions]]&lt;br /&gt;
&lt;br /&gt;
*:[[General information]]&lt;br /&gt;
&lt;br /&gt;
*:[[Ideas]]&lt;br /&gt;
&lt;br /&gt;
*:[[Gallery]]&lt;br /&gt;
&lt;br /&gt;
*:[[scp via jump server]]&lt;br /&gt;
&lt;br /&gt;
= Contacts =&lt;br /&gt;
&lt;br /&gt;
:: Calem Hoffman mailto:crhoffman@anl.gov&lt;br /&gt;
:: Daniel Santiago-Gonzalez mailto:dasago@anl.gov&lt;br /&gt;
:: Sean A. Kuvin mailto:kuvin@anl.gov&lt;br /&gt;
:: Tsz Leung (Ryan) Tang mailto:ttang@anl.gov mailto:rtang@fsu.edu&lt;br /&gt;
&lt;br /&gt;
{{Template:Standard Footer}}&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Main_Page&amp;diff=2499</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Main_Page&amp;diff=2499"/>
		<updated>2023-03-02T18:42:10Z</updated>

		<summary type="html">&lt;p&gt;Ttang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== HELIOS Digital DAQ Wiki Page ==&lt;br /&gt;
&lt;br /&gt;
This is the wiki for all that is the [http://www.phy.anl.gov/atlas/helios HELIOS] Digital Data Acquisition (informally known as DigiOS).&lt;br /&gt;
&lt;br /&gt;
For the kinematics of HELIOS, please look [[File:Kinematics of HELIOS.pdf|thumb]]&lt;br /&gt;
&lt;br /&gt;
Online simulation is available [https://fsunuc.physics.fsu.edu/SOLARIS/ Here]&lt;br /&gt;
&lt;br /&gt;
= Hardware =&lt;br /&gt;
&lt;br /&gt;
*:[[Hardware]]&lt;br /&gt;
&lt;br /&gt;
*:[[Locations]]&lt;br /&gt;
&lt;br /&gt;
*:[[Hardware/Firmware Configurations]]&lt;br /&gt;
&lt;br /&gt;
*:[[VME99 test stand IOC]]&lt;br /&gt;
&lt;br /&gt;
*:[[Target Fan Control]]&lt;br /&gt;
&lt;br /&gt;
*:[[Detectors]]&lt;br /&gt;
&lt;br /&gt;
*:[[Alpha source]]&lt;br /&gt;
&lt;br /&gt;
*:[[PV List]]&lt;br /&gt;
&lt;br /&gt;
= Software =&lt;br /&gt;
&lt;br /&gt;
*:[[GUI, Scripts And Analysis Code]]&lt;br /&gt;
&lt;br /&gt;
*:[[Data Storage]]&lt;br /&gt;
&lt;br /&gt;
*:[[Input/Output Control]]&lt;br /&gt;
&lt;br /&gt;
*:[[EPIC]]&lt;br /&gt;
&lt;br /&gt;
*:[[gtReceiver + GEBSort]]&lt;br /&gt;
&lt;br /&gt;
*:[[Grafana + InfluxDB]]&lt;br /&gt;
&lt;br /&gt;
*:[[Globus]]&lt;br /&gt;
&lt;br /&gt;
*:[[Leakage Current from Iseg]]&lt;br /&gt;
&lt;br /&gt;
*:[[Ptolemy in Mac using docker]]&lt;br /&gt;
&lt;br /&gt;
= Usage and Operation =&lt;br /&gt;
&lt;br /&gt;
*:[[System usage]]&lt;br /&gt;
&lt;br /&gt;
*:[[Sorting Data]]&lt;br /&gt;
&lt;br /&gt;
*:[[&amp;quot;How to&amp;quot; for DAQ]]&lt;br /&gt;
&lt;br /&gt;
*:[[&amp;quot;How to&amp;quot; for analysis code]]&lt;br /&gt;
&lt;br /&gt;
= Others =&lt;br /&gt;
&lt;br /&gt;
*:[[Experiments]]&lt;br /&gt;
&lt;br /&gt;
*:[[System testing]]&lt;br /&gt;
&lt;br /&gt;
*:[[Known problems and (Hopefully!) solutions]]&lt;br /&gt;
&lt;br /&gt;
*:[[General information]]&lt;br /&gt;
&lt;br /&gt;
*:[[Ideas]]&lt;br /&gt;
&lt;br /&gt;
*:[[Gallery]]&lt;br /&gt;
&lt;br /&gt;
= Contacts =&lt;br /&gt;
&lt;br /&gt;
:: Calem Hoffman mailto:crhoffman@anl.gov&lt;br /&gt;
:: Daniel Santiago-Gonzalez mailto:dasago@anl.gov&lt;br /&gt;
:: Sean A. Kuvin mailto:kuvin@anl.gov&lt;br /&gt;
:: Tsz Leung (Ryan) Tang mailto:ttang@anl.gov mailto:rtang@fsu.edu&lt;br /&gt;
&lt;br /&gt;
{{Template:Standard Footer}}&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Kinematics_of_HELIOS.pdf&amp;diff=2498</id>
		<title>File:Kinematics of HELIOS.pdf</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Kinematics_of_HELIOS.pdf&amp;diff=2498"/>
		<updated>2022-12-17T22:12:49Z</updated>

		<summary type="html">&lt;p&gt;Ttang: Ttang uploaded a new version of File:Kinematics of HELIOS.pdf&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Kinematics of HELIOS&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Kinematics_of_HELIOS.pdf&amp;diff=2497</id>
		<title>File:Kinematics of HELIOS.pdf</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Kinematics_of_HELIOS.pdf&amp;diff=2497"/>
		<updated>2022-12-13T19:17:51Z</updated>

		<summary type="html">&lt;p&gt;Ttang: Ttang uploaded a new version of File:Kinematics of HELIOS.pdf&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Kinematics of HELIOS&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Locations&amp;diff=2496</id>
		<title>Locations</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Locations&amp;diff=2496"/>
		<updated>2022-11-13T23:13:20Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* DAQ Computer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Physical Location =&lt;br /&gt;
&lt;br /&gt;
[[File:PhysicalLocation.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Network Location Information =&lt;br /&gt;
&lt;br /&gt;
A drawing of the network is like this (2021-01-21).&lt;br /&gt;
&lt;br /&gt;
The CISCO router is the only way to the onenet and internet. &lt;br /&gt;
&lt;br /&gt;
The HP Switch is a main switch for all devices, like the DAQ PC and the MAC.&lt;br /&gt;
&lt;br /&gt;
The HELIOS-DB and the windowsXP connects to the onenet directly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- [[File:NetworkLocation.png|800px|frameless]] --&amp;gt;&lt;br /&gt;
[[File:NetworkConnection20210121.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
We added 2 Network Power switch&lt;br /&gt;
&lt;br /&gt;
 IP: 192.168.1.106 for Target fan&lt;br /&gt;
 IP: 192.168.1.115 for DAQ&lt;br /&gt;
&lt;br /&gt;
= DAQ Computer =&lt;br /&gt;
The data acquisition computer for digital HELIOS sits behind a NAT box. The NAT box is located at &lt;br /&gt;
 digios1.onenet (192.168.203.52)&lt;br /&gt;
or from the Mac&lt;br /&gt;
 192.168.1.2&lt;br /&gt;
&lt;br /&gt;
The HELIOS-DB, Mac2017 and the windowsXP connect to the onenet, the IPs are&lt;br /&gt;
&lt;br /&gt;
 HELIOS-DB : 192.168.203.23 (nickname: heliosdb)&lt;br /&gt;
&lt;br /&gt;
 windowsXP : 192.168.203.37&lt;br /&gt;
&lt;br /&gt;
 mac2017 : 192.168.203.34 (nickname: mac2017)&lt;br /&gt;
&lt;br /&gt;
= Login outside ANL =&lt;br /&gt;
&lt;br /&gt;
only for PC at onenet.&lt;br /&gt;
&lt;br /&gt;
 ssh -J &amp;lt;username&amp;gt;@login.phy.anl.gov &amp;lt;accountName&amp;gt;@&amp;lt;onenet_IP&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 {| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! PC&lt;br /&gt;
! accountName&lt;br /&gt;
! onenetIP&lt;br /&gt;
|-&lt;br /&gt;
| DAQ&lt;br /&gt;
| helios&lt;br /&gt;
| digios1&lt;br /&gt;
|-&lt;br /&gt;
| Mac2017&lt;br /&gt;
| heliosdigios&lt;br /&gt;
| mac2017&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Nat Box / Rounter =&lt;br /&gt;
The login for the cisco ([http://www.cisco.com/c/en/us/products/collateral/routers/rv180-vpn-router/c78-697397_data_sheet.html cisco data page]) is uname &#039;&#039;cisco&#039;&#039; and the gammasphere password&lt;br /&gt;
 192.168.1.1&lt;br /&gt;
Notes on cisco setup:&lt;br /&gt;
network -&amp;gt; wan -&amp;gt; iPv4 -&amp;gt; static -&amp;gt; 192.168.203.52 -&amp;gt; default .1 -&amp;gt; DNS .1&lt;br /&gt;
&lt;br /&gt;
IOC&#039;s are &lt;br /&gt;
 192.168.1.2X&lt;br /&gt;
DAQ computer (digios1) is &lt;br /&gt;
 192.168.1.2&lt;br /&gt;
MAC2020 computer (helios-iMac) is&lt;br /&gt;
 192.168.1.164&lt;br /&gt;
Target Fan power switch (target-pwrswitch) is&lt;br /&gt;
 192.168.1.106&lt;br /&gt;
DAQ power switch is &lt;br /&gt;
 192.168.1.115&lt;br /&gt;
&lt;br /&gt;
There are some unknown IP&lt;br /&gt;
 192.168.1.3&lt;br /&gt;
 192.168.1.81&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To scan all &amp;quot;active&amp;quot; devices in the CISCO network:&lt;br /&gt;
 $nmap -F 192.168.1.*&lt;br /&gt;
&lt;br /&gt;
= Terminal Server = &lt;br /&gt;
[https://www.digi.com/pdf/prd_ts_portserverts816.pdf Portserver TS16 MEI]&lt;br /&gt;
&lt;br /&gt;
Info? (2.6.23-431.5.1.el6.i686 (RH 4.4.7-3)&lt;br /&gt;
Login with &#039;&#039;root&#039;&#039; and gammasphere pswrd&lt;br /&gt;
&lt;br /&gt;
 telnet 192.168.1.3 200[1-X]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the DAQ-PC, the IP and the corresponding &amp;quot;nickname&amp;quot; are saved in &lt;br /&gt;
 /etc/hosts&lt;br /&gt;
&lt;br /&gt;
 $cat /etc/hosts&lt;br /&gt;
 127.0.0.1		localhost.localdomain localhost&lt;br /&gt;
 ::1		localhost6.localdomain6 localhost6&lt;br /&gt;
 192.168.1.1	digios1&lt;br /&gt;
 192.168.1.3	ts&lt;br /&gt;
 192.168.1.20	ioc0&lt;br /&gt;
 192.168.1.21	ioc1&lt;br /&gt;
 192.168.1.22	ioc2&lt;br /&gt;
 192.168.1.23	ioc3&lt;br /&gt;
 192.168.1.24	ioc4&lt;br /&gt;
 192.168.1.234	tllptgs&lt;br /&gt;
&lt;br /&gt;
== Physical Locations and ID&#039;s of Digitizers / Routers / Triggers ==&lt;br /&gt;
&lt;br /&gt;
Really need a few figures with labels / diagrams.&lt;br /&gt;
&lt;br /&gt;
* Serial numbers of system hardware&lt;br /&gt;
* Board ID numbers for data processing&lt;br /&gt;
* IP address and names of modules&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=%22How_to%22_for_analysis_code&amp;diff=2495</id>
		<title>&quot;How to&quot; for analysis code</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=%22How_to%22_for_analysis_code&amp;diff=2495"/>
		<updated>2022-04-29T19:29:35Z</updated>

		<summary type="html">&lt;p&gt;Ttang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[last updated Mar 28, 2022]&lt;br /&gt;
&lt;br /&gt;
Everything should be performed in &#039;&#039;&#039;digios/analysis/working&#039;&#039;&#039; directory, &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;ATTENTION:&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|txt file extension is editable for user.&lt;br /&gt;
|-&lt;br /&gt;
|dat files extension is not supposed to be edited, they are generated.&lt;br /&gt;
|-&lt;br /&gt;
|Editable file name will be highlighted with &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt; color&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Overview =&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot 2022-03-28 023801.png|1200px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= General Usage =&lt;br /&gt;
&lt;br /&gt;
== How to download the source code ? == &lt;br /&gt;
&lt;br /&gt;
make sure you have git in your computer.&lt;br /&gt;
&lt;br /&gt;
in the directory you like to put in the code. for example, I like to put the code in ~/, then &amp;gt;cd ~/&lt;br /&gt;
&lt;br /&gt;
 ~/&amp;gt;git clone https://github.com/calemhoffman/digios.git&lt;br /&gt;
&lt;br /&gt;
you will see a folder name digios is there. &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;cd digios &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
To check your experiment &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git branch -a&lt;br /&gt;
&lt;br /&gt;
for example your experiment is using the branch h064_15N&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
you will see you are in the branch for your experiment. &lt;br /&gt;
&lt;br /&gt;
for analysis, you only need the things inside digios/analysis&lt;br /&gt;
&lt;br /&gt;
Make sure you create folders or symbolic links for data, merged_data, and root_data under digios/analysis.&lt;br /&gt;
&lt;br /&gt;
== How to update source code ? ==&lt;br /&gt;
&lt;br /&gt;
The easiest easy is to restore everything that changed. &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git reset --hard&lt;br /&gt;
&lt;br /&gt;
after resetting the folder, we can update the code by&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git pull&lt;br /&gt;
&lt;br /&gt;
== How to get option for a method or function ? == &lt;br /&gt;
&lt;br /&gt;
For most of the bash script, if you have no argument or the argument is &amp;quot;-help&amp;quot; it will display help message&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_run&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;../Cleopatra/Transfer -help&lt;br /&gt;
&lt;br /&gt;
For most root macro, for example, RDTCutsCreator(), &lt;br /&gt;
after typed the first bracket, use tab, it will display the arguments.&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&lt;br /&gt;
&lt;br /&gt;
then press tab. it will show&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(TString filename, TString saveFileName = &amp;quot;rdtCuts.root&amp;quot;, int eRange = 4000, int eRange = 60000 )&lt;br /&gt;
&lt;br /&gt;
== How to take a screenshot in MAC ? == &lt;br /&gt;
&lt;br /&gt;
Command + Shift + 4 = screenshot selected area&lt;br /&gt;
&lt;br /&gt;
Command + Shift + 4, then space_bar = screenshot selected window&lt;br /&gt;
&lt;br /&gt;
== How to check the start time and stop time for a run? == &lt;br /&gt;
&lt;br /&gt;
in digios/analysis/data, there is RunTimeStamp.dat. &lt;br /&gt;
this file stored all start and stop time for all runs. &lt;br /&gt;
&lt;br /&gt;
in MAC or DAQ, &lt;br /&gt;
&lt;br /&gt;
 anywhere&amp;gt;ShowRunTimeStamp&lt;br /&gt;
&lt;br /&gt;
== How to check the raw files for a run? == &lt;br /&gt;
&lt;br /&gt;
in MAC or DAQ&lt;br /&gt;
&lt;br /&gt;
 anywhere&amp;gt;ShowRunSize [RUNNUM]&lt;br /&gt;
&lt;br /&gt;
= Git Branch Management =&lt;br /&gt;
&lt;br /&gt;
== How to Setup/Switch for a new experiment? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Advance user / user familiar with git only&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Has to be done in the DAQ first&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Has to be done in the MAC after&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
given that the digios directory is clean, meaning &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status &lt;br /&gt;
&lt;br /&gt;
show no file is modified. &lt;br /&gt;
&lt;br /&gt;
If you are not in the master branch&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;./SetUpNewExp master&lt;br /&gt;
&lt;br /&gt;
Then you are ready to setup a new experimental branch by&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;./SetUpNewExp [new experiment name]&lt;br /&gt;
&lt;br /&gt;
The bash script with do all the work. &lt;br /&gt;
&lt;br /&gt;
After that, do the same in the MAC.&lt;br /&gt;
&lt;br /&gt;
----------&lt;br /&gt;
&lt;br /&gt;
When the folder is not clean. i.e., not everything git committed. The SetUpNewExp will stop and not switch branches or make a new experiment. &lt;br /&gt;
&lt;br /&gt;
In that case, the simplest way is &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git add -A                          # add all changes to stage&lt;br /&gt;
 digios&amp;gt;git commit -m &amp;quot;comment you like&amp;quot;    # commit the change and make the folder clean&lt;br /&gt;
&lt;br /&gt;
Or, you want to discard all change&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git reset --hard&lt;br /&gt;
&lt;br /&gt;
== How to clean up the working directory and prepare for a new experiment? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Advance user / user familiar with git only&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Need to be done in both MAC and DAQ&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; !!! READ till the end before you do anything!!!!&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
After each experiment, the files in digios directory would be changed. &lt;br /&gt;
&lt;br /&gt;
To check the change,&lt;br /&gt;
&lt;br /&gt;
 DAQ&amp;gt;cd ~/digios&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
To snapshot the change&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git add -A&lt;br /&gt;
 digios&amp;gt;git commit -m &amp;quot;comment for this snapshot&amp;quot;&lt;br /&gt;
&lt;br /&gt;
It is better to push the snapshot to the github&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git push origin [branch name]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Also need to git the DAQ!&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; The files in the DAQ and the MAC could be both changed. Mostly, the change in the DAQ is in digios/daq. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; That means the DAQ and MAC has to be merged.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;We use a merge driver that the expName.sh will not be merged. The detail can be found in .gitattribute and git documentation. &amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is better to start with the DAQ.&lt;br /&gt;
# commit and push the daq/edm/scripts folder&lt;br /&gt;
# commit and push the daq/edm/screens (if anything changed)&lt;br /&gt;
&lt;br /&gt;
and then, go to the Mac,&lt;br /&gt;
# fetch and merge, since the DAQ pushed latest commit&lt;br /&gt;
# commit and push the analysis/Armory/&lt;br /&gt;
# commit and push the analysis/Cleopatra&lt;br /&gt;
# commit and push the analysis/working&lt;br /&gt;
&lt;br /&gt;
Now, we can go to LCRC ( /lcrc/project/HELIOS/digios )&lt;br /&gt;
The LCRC always in master branch.&lt;br /&gt;
then we can merge and solve conflict for each commit from the experiment.&lt;br /&gt;
&lt;br /&gt;
After above action, we can go back to the DAQ, and commit the expName.sh, and switch back to master branch or setup a new experiment.&lt;br /&gt;
&lt;br /&gt;
= Process Run online =&lt;br /&gt;
&lt;br /&gt;
== How to process run? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/GEBSort, and&lt;br /&gt;
 GEBSort&amp;gt;make offline&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN [RUNNUM]&lt;br /&gt;
&lt;br /&gt;
The bash script will download run [RUNNUM], merge, event building, GeneralSort (mapping), and Monitors.C &lt;br /&gt;
&lt;br /&gt;
to see more options, ./process_run without any argument&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN&lt;br /&gt;
 Process_RUN [RunNum] [Merge] [EventBuild] [GeneralSort] [Monitor]&amp;quot;&lt;br /&gt;
      RunNum = run number / \&amp;quot;lastRun\&amp;quot; &amp;quot;&lt;br /&gt;
       Merge =   1/0/-1      || 1 = merge, 0 = not merge, -1 = force merge &amp;quot;  &lt;br /&gt;
    EventBld = 2/1/0/-1/-2   || 2 = with Trace&amp;quot;  &lt;br /&gt;
  GenralSort = n/1/0/-1/-n   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&amp;quot;&lt;br /&gt;
    Monitors = 2/1/0         || 1 = single run,  2 = using the list in ChainMonitors.C&amp;quot;&lt;br /&gt;
                               10 = single run and post to websrv, 20 = list runs and post to websrv&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
        **** When feeding trace data to Monitors, the EventBld flag must be 2 or -2.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The working flow of process_run (without Monitor) is&lt;br /&gt;
&lt;br /&gt;
[[File:Process run.png|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
For data calibration, see [[GUI,_Scripts_And_Analysis_Code#Standard_data_analysis_flow|standard data analysis flow]]&lt;br /&gt;
&lt;br /&gt;
== How to process multiple runs at once ? ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 $./process_MultiRuns [RunNum1] [RunNum2] [Merge] [EventBuild] [GeneralSort]&lt;br /&gt;
     RunNum1 = start run number&lt;br /&gt;
     RunNum2 = stop run number&lt;br /&gt;
       Merge =   1/0*     &lt;br /&gt;
    EventBld = 2/1/0*   || 2 = with Trace&lt;br /&gt;
  GenralSort = n/1/0*   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&lt;br /&gt;
         * negative option = force&lt;br /&gt;
&lt;br /&gt;
== How to process multiple runs as a slurm job? == &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A slurm job is a job in LCRC. The script will generate the slurm.sh and submit the job to 1 node.&lt;br /&gt;
&lt;br /&gt;
If only merge and build event, only 1 core will be used.&lt;br /&gt;
If with GeneralSort, 36 cores will be used.&lt;br /&gt;
&lt;br /&gt;
 $./process_Slurm [RunNum1] [RunNum2] [time] [Merge] [EventBuild] [GeneralSort]&lt;br /&gt;
     RunNum1 = start run number&lt;br /&gt;
     RunNum2 = stop run number&lt;br /&gt;
        time = allocate time&lt;br /&gt;
       Merge =   1/0*     &lt;br /&gt;
    EventBld = 2/1/0*   || 2 = with Trace&lt;br /&gt;
  GenralSort = n/1/0*   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&lt;br /&gt;
         * negative option = force&lt;br /&gt;
&lt;br /&gt;
== How to manually run the Monitors.C for a given run? ==&lt;br /&gt;
&lt;br /&gt;
make sure gen_runXXX.root is generated in digios/analysis/root_data. &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root ../root_data/gen_runXXX.root&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;gen_tree-&amp;gt;Process(&amp;quot;Monitors.C+&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
== How to &amp;quot;Monitor&amp;quot; multiple runs ? ==&lt;br /&gt;
&lt;br /&gt;
edit &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can see it use the TChain class. &lt;br /&gt;
&lt;br /&gt;
to add files, for example, add the run 33 to 40, 42, 45, and 50, and I assume the run 33 to 40, 42, and 45 are already downloaded&lt;br /&gt;
&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run03[3-9].root&amp;quot;);&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run04[0,2,5].root&amp;quot;);&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run050.root&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
Then, in process_run&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./process_run 50 1 1 1 2&lt;br /&gt;
&lt;br /&gt;
Notice that it will download, merge, build event, and GeneralSort (mapping) for run 50 ONLY.&lt;br /&gt;
&lt;br /&gt;
= How to change the array position ? =&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Donwload all runs into the Mac ? == &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Rsyn_data_from_DAQ.sh&lt;br /&gt;
&lt;br /&gt;
== How to change or add a recoil Cuts ? ==&lt;br /&gt;
&lt;br /&gt;
see [[#How to use RDTCutsCreator ?]]&lt;br /&gt;
&lt;br /&gt;
== How to use RDTCutsCreator ? ==&lt;br /&gt;
&lt;br /&gt;
After ./process_run, the ../Armory/RDTCutsCreator.C will be loaded. &lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator( [filename], [save file name], [E range], [dE range] )&lt;br /&gt;
&lt;br /&gt;
The default [save file name] is &amp;quot;rdtCuts.root&amp;quot;. If you like to use other [save file name], please correct the TString rdtCutFile in Monitors.C&lt;br /&gt;
&lt;br /&gt;
if something go wrong during the RDTCutsCreator, simply delete the &amp;quot;rdtCuts.root&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
There is a way to include multiple files for the RDTCutsCreator&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&amp;quot;../root_data/gen_run02[3-7].root&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&amp;quot;../root_data/gen_run02[3,5,7,9].root&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
To include more files, we can edit ../Armory/RDTCutsCreator.C&lt;br /&gt;
&lt;br /&gt;
inside the file, manual add the files. To run that script.&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt; root&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;.L ../Armory/RDTCutsCreator.C&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutCreator(&amp;quot;&amp;quot;, [save file name], [E range], [dE range] )&lt;br /&gt;
&lt;br /&gt;
= How is the Calibration flow ? =&lt;br /&gt;
[[File:DataAnalysis.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
The calibration has few steps:&lt;br /&gt;
# Gain-matching with xn to xf&lt;br /&gt;
# Gain-matching with xn&#039;+xf to e&lt;br /&gt;
# Calibrate e&lt;br /&gt;
&lt;br /&gt;
To do step 1, It is better start with alpha data, because the alpha data is independent of position. By gating on 1 of the alpha peak, then plot the xf vs xn, the gain matching of xn to xf can be easily done. And because we need to gate on the alpha peak, then why not do a calibration on the energy using alpha data? So, in the Cali_xf_xn.C, the program will first calibrate alpha energy, then gate on 1 of the alpha peak to do gain match xn to xf.&lt;br /&gt;
&lt;br /&gt;
To do step 2, we need a gain-matched xn, i.e. xn&#039;, so that xn&#039;+xf should be proportional to the raw e. &lt;br /&gt;
&lt;br /&gt;
In order to calibrate the energy, sometimes, alpha calibration is doing a good job, given that the alpha source is a good source. However, we can also calibrate the energy using kinematic E-Z lines. See [[&amp;quot;How_to&amp;quot;_for_analysis_code#How to Calibrate reaction data by kinematics ?| How to Calibrate reaction data by kinematics ?]]&lt;br /&gt;
&lt;br /&gt;
== How to Calibrate alpha data ? ==&lt;br /&gt;
&lt;br /&gt;
If statistics for single detector is sufficient, i.e. all peak is clearly identified.&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 0&lt;br /&gt;
&lt;br /&gt;
It will guide you through the process. &lt;br /&gt;
&lt;br /&gt;
-----------------------------&lt;br /&gt;
&lt;br /&gt;
If statistics is not so good, we can use the ../Armory/Cali_e_single.C&lt;br /&gt;
&lt;br /&gt;
== How to Gain matching of xn to xf ? == &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 0&lt;br /&gt;
&lt;br /&gt;
First, it will go through energy calibration, it does not need to be good.&lt;br /&gt;
 &lt;br /&gt;
Next, select any peak, so that the program will gate on that peak and plot xf vs xn. From there, the xn will gain match xf.&lt;br /&gt;
&lt;br /&gt;
== How to gain match the xn+xf to raw e ? ==&lt;br /&gt;
&lt;br /&gt;
To properly do so, you have to gain-matched xn to xf. Then&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 1&lt;br /&gt;
&lt;br /&gt;
This has to be NOT alpha run, just any beam run. It will plot the raw e vs xf + xn&#039;.&lt;br /&gt;
&lt;br /&gt;
== How to Calibrate reaction data by kinematics ? ==&lt;br /&gt;
&lt;br /&gt;
( I know It needs more detail )&lt;br /&gt;
&lt;br /&gt;
ONLY for sufficient statistic for individual detector. &lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationtrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 2&lt;br /&gt;
&lt;br /&gt;
it will guide you through. &lt;br /&gt;
&lt;br /&gt;
---------------&lt;br /&gt;
In order to speed up the process, it will create a temp.root. a root file only contain e and z. &lt;br /&gt;
&lt;br /&gt;
User can use ../Armory/Check_e_x.root and create a cut to be used in the Monte-Carlo process.&lt;br /&gt;
&lt;br /&gt;
== How to output a root file only contain physical data ? ==&lt;br /&gt;
&lt;br /&gt;
after the calibration is done, we can edit &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and run &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
Select option 3 to generate the A_gen_runXXX.root&lt;br /&gt;
&lt;br /&gt;
[[File:Option3.png|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Kinematic and DWBA Calculation =&lt;br /&gt;
&lt;br /&gt;
The simplest way is using the Simulation_Helper.C. This is a GUI interface.&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root Simulation_Helper.C&lt;br /&gt;
&lt;br /&gt;
[[File:Simulation Helper screenshot.png|800px|frameless|none]]&lt;br /&gt;
&lt;br /&gt;
== How to change the calculation for Ex and thetaCM ? ==&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt&amp;lt;/span&amp;gt;, than recalculate the reaction.dat by running ../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
== How to change the kinematic E-Z line? ==&lt;br /&gt;
&lt;br /&gt;
see [[#How to simulate the kinematics?]]&lt;br /&gt;
&lt;br /&gt;
The E-Z lines are stored in fxList in transfer.root&lt;br /&gt;
&lt;br /&gt;
In Monitors.C, at the end or Monitors::Terminate(). &lt;br /&gt;
&lt;br /&gt;
you can see the fxList.&lt;br /&gt;
&lt;br /&gt;
== How to simulate the kinematics? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/Cleopatra, and &lt;br /&gt;
 Cleopatra&amp;gt;make&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
edit &lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;Ex.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run&lt;br /&gt;
  working&amp;gt;../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
after that, 2 files will be generated, 1) reaction.dat, 2) transfer.root&lt;br /&gt;
&lt;br /&gt;
a tree is inside transfer.root. &lt;br /&gt;
&lt;br /&gt;
you can see the tree branches by&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt; tree-&amp;gt;Print()&lt;br /&gt;
&lt;br /&gt;
I hope the branch name is self-explained. &lt;br /&gt;
&lt;br /&gt;
In Armory, there is a root macro Check_Transfer.C&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root &#039;../Armory/Check_Transfer.C(&amp;quot;transfer.root&amp;quot;)&#039;&lt;br /&gt;
&lt;br /&gt;
The macro load the transfer.root and plot the e-z plot, the recoil, recoil radius vs thetaCM etc...&lt;br /&gt;
&lt;br /&gt;
== How to do DWBA calculation ? == &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/Cleopatra, and &lt;br /&gt;
 Cleopatra&amp;gt;make &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; ONLY IN LINUX, because Ptolemy only work in Linux.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;DWBA&amp;lt;/span&amp;gt;, then&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra example 1 1 1 1 0 [minAng] [maxAng] [angStep]&lt;br /&gt;
&lt;br /&gt;
This will generate the example.in, feed to Ptolemy, output example.out, extract the differential cross section into&lt;br /&gt;
&lt;br /&gt;
* example.Xsec.txt&lt;br /&gt;
* example.root&lt;br /&gt;
&lt;br /&gt;
And plot the d.s.c. using example.root&lt;br /&gt;
&lt;br /&gt;
It will also generate example.Ex.txt&lt;br /&gt;
&lt;br /&gt;
For arguments meaning, use Cleopatra without any argument &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra&lt;br /&gt;
&lt;br /&gt;
== How to do kinematics simulation with DWBA differential cross section ? == &lt;br /&gt;
&lt;br /&gt;
see [[#How to do DWBA calculation ?]] first. &lt;br /&gt;
&lt;br /&gt;
edit&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;example &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure the reaction in the &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt; is matching with that in example&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra example 1 1 1 0 1  0 180 1&lt;br /&gt;
&lt;br /&gt;
The excitation levels is using example.Ex.txt.&lt;br /&gt;
&lt;br /&gt;
The bash script will calculate the DWBA d.s.c. using Cleopatra, then using ../Cleopatra/Transfer to do the simulation. &lt;br /&gt;
&lt;br /&gt;
see [[#How to simulate the kinematics?]]&lt;br /&gt;
&lt;br /&gt;
= How to do trace analysis ? =&lt;br /&gt;
&lt;br /&gt;
updated Feb-12, 2021&lt;br /&gt;
&lt;br /&gt;
simply&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN [RunNum] 1 -2 [number_of_worker] [Option_for_Monitors]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Updated Nov-6, 2019&lt;br /&gt;
The GEBSort_nogeb_trace was generated, Simple run ./process_run with option is fine&lt;br /&gt;
&lt;br /&gt;
--------------------------------&lt;br /&gt;
First, the GEBSort code has to be recompile by changing the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;digios/GEBSort/bin_rcnp.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in that file, comment out the trace (line ?) &lt;br /&gt;
&lt;br /&gt;
Then, recompile&lt;br /&gt;
&lt;br /&gt;
 GEBSort&amp;gt;make offline&lt;br /&gt;
&lt;br /&gt;
Now the gen_runXXX.root will contains trace data. &lt;br /&gt;
&lt;br /&gt;
go back to working directory&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./process_run [RUNNUM] 1 1 2 1&lt;br /&gt;
&lt;br /&gt;
The 4th argument is 2, that means the GeneralSort (or the mapping ) will use ../Amrory/GeneralSortTrace.C instead of ../Amory/GeneralSort.C&lt;br /&gt;
&lt;br /&gt;
The 4th argument can be also be more than 2, say, when it is N, it means it will use Proof, a parallel computing framework built-in in root that use N cores.&lt;br /&gt;
&lt;br /&gt;
To display the trace, we can use ../Armory/readTrace.C ( this macro is kind of shitty.....)&lt;br /&gt;
&lt;br /&gt;
= How to count a 1D histogram for a given range ? =&lt;br /&gt;
&lt;br /&gt;
After  ./process_run, a function Check1D() is loaded.&lt;br /&gt;
&lt;br /&gt;
= How to fit the excitation spectrum ? =&lt;br /&gt;
&lt;br /&gt;
If the reaction.dat is set properly, after ./process_run, the excite() function will give you the excitation spectrum.&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;excite()&lt;br /&gt;
&lt;br /&gt;
You can use the fitAuto() function to auto fit the spectrum by&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;fitAuto(hEx) &lt;br /&gt;
&lt;br /&gt;
For more option&lt;br /&gt;
&lt;br /&gt;
 fitAuto( [hist name], [BG estimation] )&lt;br /&gt;
&lt;br /&gt;
-------------------------------&lt;br /&gt;
Or you can can fit N-Gauss + 1 linear function. In this case, edit the &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;AutFit_para.txt&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;fitNGaussP1(hEx)&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2494</id>
		<title>Detectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2494"/>
		<updated>2022-04-20T17:39:58Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* CSD */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Position sensitive Si-detector arrays =&lt;br /&gt;
&lt;br /&gt;
We have 2 arrays&lt;br /&gt;
* 4 side x 6 (first) (thickness?)&lt;br /&gt;
[[File:OldArray.png|700px|frameless]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* 6 side x 5 (2019-March) (no longer exist)&lt;br /&gt;
[[File:NewArray.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Recoil detectors =&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detectors.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
There are QQQ1 detector from micron &lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/qqq1/&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ List of Recoil detector&lt;br /&gt;
|-&lt;br /&gt;
! Number !! Thickness [um] !! Belong to&lt;br /&gt;
|-&lt;br /&gt;
| 2259-29? || 989 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 1419-22? || 1475 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 2259-25? || 984 || Alan&lt;br /&gt;
|- &lt;br /&gt;
| 2259-39? || 995 || Alan&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
| || || Sharpy&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detector and connection.png|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
== detector holder ==&lt;br /&gt;
&lt;br /&gt;
= CSD = &lt;br /&gt;
&lt;br /&gt;
(crazy spider detector)&lt;br /&gt;
&lt;br /&gt;
[[File:CSD PBC mount.jpg|frameless|none]]&lt;br /&gt;
&lt;br /&gt;
= Elum detectors = &lt;br /&gt;
&lt;br /&gt;
We have 2 Elum detectors.&lt;br /&gt;
&lt;br /&gt;
== Elum 1 ==&lt;br /&gt;
&lt;br /&gt;
[[File:Elum1.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Dimension&lt;br /&gt;
|-&lt;br /&gt;
| area || 400 mm&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Thickness || can-stop-carbon-thick&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Elum 2 or S1 ==&lt;br /&gt;
[[File:Elum2.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
[[File:S1.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/s1/&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ dimension&lt;br /&gt;
|-&lt;br /&gt;
| Blocker ||inner 15 mm, outer 60 mm&lt;br /&gt;
|-&lt;br /&gt;
| Detector || inner 24 mm, outer 48 mm&lt;br /&gt;
|-&lt;br /&gt;
| thickness || can-stop-carbon-thick ~ 10 MeV/u&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
numbers of channel 16.&lt;br /&gt;
&lt;br /&gt;
Connection to preamp. only 1 side is connected. another side is biased. &lt;br /&gt;
&lt;br /&gt;
(picture of connection )&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:CSD_PBC_mount.jpg&amp;diff=2493</id>
		<title>File:CSD PBC mount.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:CSD_PBC_mount.jpg&amp;diff=2493"/>
		<updated>2022-04-20T17:39:45Z</updated>

		<summary type="html">&lt;p&gt;Ttang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;PBC mount for the CSD&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2492</id>
		<title>Detectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2492"/>
		<updated>2022-03-31T22:22:37Z</updated>

		<summary type="html">&lt;p&gt;Ttang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Position sensitive Si-detector arrays =&lt;br /&gt;
&lt;br /&gt;
We have 2 arrays&lt;br /&gt;
* 4 side x 6 (first) (thickness?)&lt;br /&gt;
[[File:OldArray.png|700px|frameless]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* 6 side x 5 (2019-March) (no longer exist)&lt;br /&gt;
[[File:NewArray.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Recoil detectors =&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detectors.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
There are QQQ1 detector from micron &lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/qqq1/&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ List of Recoil detector&lt;br /&gt;
|-&lt;br /&gt;
! Number !! Thickness [um] !! Belong to&lt;br /&gt;
|-&lt;br /&gt;
| 2259-29? || 989 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 1419-22? || 1475 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 2259-25? || 984 || Alan&lt;br /&gt;
|- &lt;br /&gt;
| 2259-39? || 995 || Alan&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
| || || Sharpy&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detector and connection.png|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
== detector holder ==&lt;br /&gt;
&lt;br /&gt;
= CSD = &lt;br /&gt;
&lt;br /&gt;
(crazy spider detector)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Elum detectors = &lt;br /&gt;
&lt;br /&gt;
We have 2 Elum detectors.&lt;br /&gt;
&lt;br /&gt;
== Elum 1 ==&lt;br /&gt;
&lt;br /&gt;
[[File:Elum1.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Dimension&lt;br /&gt;
|-&lt;br /&gt;
| area || 400 mm&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Thickness || can-stop-carbon-thick&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Elum 2 or S1 ==&lt;br /&gt;
[[File:Elum2.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
[[File:S1.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/s1/&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ dimension&lt;br /&gt;
|-&lt;br /&gt;
| Blocker ||inner 15 mm, outer 60 mm&lt;br /&gt;
|-&lt;br /&gt;
| Detector || inner 24 mm, outer 48 mm&lt;br /&gt;
|-&lt;br /&gt;
| thickness || can-stop-carbon-thick ~ 10 MeV/u&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
numbers of channel 16.&lt;br /&gt;
&lt;br /&gt;
Connection to preamp. only 1 side is connected. another side is biased. &lt;br /&gt;
&lt;br /&gt;
(picture of connection )&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2491</id>
		<title>Detectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2491"/>
		<updated>2022-03-31T22:19:16Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Elum 2 or S1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Position sensitive Si-detector arrays =&lt;br /&gt;
&lt;br /&gt;
We have 2 arrays&lt;br /&gt;
* 4 side x 6 (first) (thickness?)&lt;br /&gt;
[[File:OldArray.png|700px|frameless]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* 6 side x 5 (2019-March) (no longer exist)&lt;br /&gt;
[[File:NewArray.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Recoil detectors =&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detectors.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
There are QQQ1 detector from micron &lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/qqq1/&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ List of Recoil detector&lt;br /&gt;
|-&lt;br /&gt;
! Number !! Thickness [um] !! Belong to&lt;br /&gt;
|-&lt;br /&gt;
| 2259-29? || 989 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 1419-22? || 1475 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 2259-25? || 984 || Alan&lt;br /&gt;
|- &lt;br /&gt;
| 2259-39? || 995 || Alan&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
| || || Sharpy&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detector and connection.png|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
== detector holder ==&lt;br /&gt;
&lt;br /&gt;
= Elum detectors = &lt;br /&gt;
&lt;br /&gt;
We have 2 Elum detectors.&lt;br /&gt;
&lt;br /&gt;
== Elum 1 ==&lt;br /&gt;
&lt;br /&gt;
[[File:Elum1.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Dimension&lt;br /&gt;
|-&lt;br /&gt;
| area || 400 mm&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Thickness || can-stop-carbon-thick&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Elum 2 or S1 ==&lt;br /&gt;
[[File:Elum2.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
[[File:S1.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/s1/&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ dimension&lt;br /&gt;
|-&lt;br /&gt;
| Blocker ||inner 15 mm, outer 60 mm&lt;br /&gt;
|-&lt;br /&gt;
| Detector || inner 24 mm, outer 48 mm&lt;br /&gt;
|-&lt;br /&gt;
| thickness || can-stop-carbon-thick ~ 10 MeV/u&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
numbers of channel 16.&lt;br /&gt;
&lt;br /&gt;
Connection to preamp. only 1 side is connected. another side is biased. &lt;br /&gt;
&lt;br /&gt;
(picture of connection )&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2490</id>
		<title>Detectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2490"/>
		<updated>2022-03-31T22:18:08Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Elum 1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Position sensitive Si-detector arrays =&lt;br /&gt;
&lt;br /&gt;
We have 2 arrays&lt;br /&gt;
* 4 side x 6 (first) (thickness?)&lt;br /&gt;
[[File:OldArray.png|700px|frameless]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* 6 side x 5 (2019-March) (no longer exist)&lt;br /&gt;
[[File:NewArray.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Recoil detectors =&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detectors.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
There are QQQ1 detector from micron &lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/qqq1/&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ List of Recoil detector&lt;br /&gt;
|-&lt;br /&gt;
! Number !! Thickness [um] !! Belong to&lt;br /&gt;
|-&lt;br /&gt;
| 2259-29? || 989 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 1419-22? || 1475 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 2259-25? || 984 || Alan&lt;br /&gt;
|- &lt;br /&gt;
| 2259-39? || 995 || Alan&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
| || || Sharpy&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detector and connection.png|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
== detector holder ==&lt;br /&gt;
&lt;br /&gt;
= Elum detectors = &lt;br /&gt;
&lt;br /&gt;
We have 2 Elum detectors.&lt;br /&gt;
&lt;br /&gt;
== Elum 1 ==&lt;br /&gt;
&lt;br /&gt;
[[File:Elum1.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Dimension&lt;br /&gt;
|-&lt;br /&gt;
| area || 400 mm&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Thickness || can-stop-carbon-thick&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Elum 2 or S1 ==&lt;br /&gt;
[[File:Elum2.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
[[File:S1.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/s1/&lt;br /&gt;
&lt;br /&gt;
The dimension is&lt;br /&gt;
* Blocker : inner 15 mm, outer 60 mm&lt;br /&gt;
* Detector : inner 24 mm, outer 48 mm&lt;br /&gt;
&lt;br /&gt;
thickness : can-stop-carbon-thick&lt;br /&gt;
&lt;br /&gt;
numbers of channel 16.&lt;br /&gt;
&lt;br /&gt;
Connection to preamp. only 1 side is connected. another side is biased. &lt;br /&gt;
&lt;br /&gt;
(picture of connection )&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2489</id>
		<title>Detectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2489"/>
		<updated>2022-03-31T22:17:06Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Elum 2 or S1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Position sensitive Si-detector arrays =&lt;br /&gt;
&lt;br /&gt;
We have 2 arrays&lt;br /&gt;
* 4 side x 6 (first) (thickness?)&lt;br /&gt;
[[File:OldArray.png|700px|frameless]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* 6 side x 5 (2019-March) (no longer exist)&lt;br /&gt;
[[File:NewArray.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Recoil detectors =&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detectors.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
There are QQQ1 detector from micron &lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/qqq1/&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ List of Recoil detector&lt;br /&gt;
|-&lt;br /&gt;
! Number !! Thickness [um] !! Belong to&lt;br /&gt;
|-&lt;br /&gt;
| 2259-29? || 989 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 1419-22? || 1475 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 2259-25? || 984 || Alan&lt;br /&gt;
|- &lt;br /&gt;
| 2259-39? || 995 || Alan&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
| || || Sharpy&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detector and connection.png|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
== detector holder ==&lt;br /&gt;
&lt;br /&gt;
= Elum detectors = &lt;br /&gt;
&lt;br /&gt;
We have 2 Elum detectors.&lt;br /&gt;
&lt;br /&gt;
== Elum 1 ==&lt;br /&gt;
&lt;br /&gt;
[[File:Elum1.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
Dimension: 400 mm^2 &lt;br /&gt;
Thickness: can-stop-carbon-thick&lt;br /&gt;
&lt;br /&gt;
== Elum 2 or S1 ==&lt;br /&gt;
[[File:Elum2.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
[[File:S1.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/s1/&lt;br /&gt;
&lt;br /&gt;
The dimension is&lt;br /&gt;
* Blocker : inner 15 mm, outer 60 mm&lt;br /&gt;
* Detector : inner 24 mm, outer 48 mm&lt;br /&gt;
&lt;br /&gt;
thickness : can-stop-carbon-thick&lt;br /&gt;
&lt;br /&gt;
numbers of channel 16.&lt;br /&gt;
&lt;br /&gt;
Connection to preamp. only 1 side is connected. another side is biased. &lt;br /&gt;
&lt;br /&gt;
(picture of connection )&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2488</id>
		<title>Detectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2488"/>
		<updated>2022-03-31T22:16:44Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Elum 1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Position sensitive Si-detector arrays =&lt;br /&gt;
&lt;br /&gt;
We have 2 arrays&lt;br /&gt;
* 4 side x 6 (first) (thickness?)&lt;br /&gt;
[[File:OldArray.png|700px|frameless]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* 6 side x 5 (2019-March) (no longer exist)&lt;br /&gt;
[[File:NewArray.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Recoil detectors =&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detectors.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
There are QQQ1 detector from micron &lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/qqq1/&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ List of Recoil detector&lt;br /&gt;
|-&lt;br /&gt;
! Number !! Thickness [um] !! Belong to&lt;br /&gt;
|-&lt;br /&gt;
| 2259-29? || 989 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 1419-22? || 1475 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 2259-25? || 984 || Alan&lt;br /&gt;
|- &lt;br /&gt;
| 2259-39? || 995 || Alan&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
| || || Sharpy&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detector and connection.png|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
== detector holder ==&lt;br /&gt;
&lt;br /&gt;
= Elum detectors = &lt;br /&gt;
&lt;br /&gt;
We have 2 Elum detectors.&lt;br /&gt;
&lt;br /&gt;
== Elum 1 ==&lt;br /&gt;
&lt;br /&gt;
[[File:Elum1.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
Dimension: 400 mm^2 &lt;br /&gt;
Thickness: can-stop-carbon-thick&lt;br /&gt;
&lt;br /&gt;
== Elum 2 or S1 ==&lt;br /&gt;
[[File:Elum2.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
[[File:S1.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/s1/&lt;br /&gt;
&lt;br /&gt;
The dimension is&lt;br /&gt;
* Blocker : inner 15 mm, outer 60 mm&lt;br /&gt;
* Detector : inner 24 mm, outer 48 mm&lt;br /&gt;
&lt;br /&gt;
numbers of channel 16.&lt;br /&gt;
&lt;br /&gt;
Connection to preamp. only 1 side is connected. another side is biased. &lt;br /&gt;
&lt;br /&gt;
(picture of connection )&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2487</id>
		<title>Detectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2487"/>
		<updated>2022-03-31T22:16:18Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Elum 1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Position sensitive Si-detector arrays =&lt;br /&gt;
&lt;br /&gt;
We have 2 arrays&lt;br /&gt;
* 4 side x 6 (first) (thickness?)&lt;br /&gt;
[[File:OldArray.png|700px|frameless]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* 6 side x 5 (2019-March) (no longer exist)&lt;br /&gt;
[[File:NewArray.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Recoil detectors =&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detectors.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
There are QQQ1 detector from micron &lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/qqq1/&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ List of Recoil detector&lt;br /&gt;
|-&lt;br /&gt;
! Number !! Thickness [um] !! Belong to&lt;br /&gt;
|-&lt;br /&gt;
| 2259-29? || 989 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 1419-22? || 1475 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 2259-25? || 984 || Alan&lt;br /&gt;
|- &lt;br /&gt;
| 2259-39? || 995 || Alan&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
| || || Sharpy&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detector and connection.png|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
== detector holder ==&lt;br /&gt;
&lt;br /&gt;
= Elum detectors = &lt;br /&gt;
&lt;br /&gt;
We have 2 Elum detectors.&lt;br /&gt;
&lt;br /&gt;
== Elum 1 ==&lt;br /&gt;
&lt;br /&gt;
[[File:Elum1.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
Dimension: 400 mm^2 &lt;br /&gt;
Thickness: ?&lt;br /&gt;
&lt;br /&gt;
== Elum 2 or S1 ==&lt;br /&gt;
[[File:Elum2.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
[[File:S1.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/s1/&lt;br /&gt;
&lt;br /&gt;
The dimension is&lt;br /&gt;
* Blocker : inner 15 mm, outer 60 mm&lt;br /&gt;
* Detector : inner 24 mm, outer 48 mm&lt;br /&gt;
&lt;br /&gt;
numbers of channel 16.&lt;br /&gt;
&lt;br /&gt;
Connection to preamp. only 1 side is connected. another side is biased. &lt;br /&gt;
&lt;br /&gt;
(picture of connection )&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2486</id>
		<title>Detectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2486"/>
		<updated>2022-03-31T22:10:10Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Position sensitive Si-detector arrays */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Position sensitive Si-detector arrays =&lt;br /&gt;
&lt;br /&gt;
We have 2 arrays&lt;br /&gt;
* 4 side x 6 (first) (thickness?)&lt;br /&gt;
[[File:OldArray.png|700px|frameless]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* 6 side x 5 (2019-March) (no longer exist)&lt;br /&gt;
[[File:NewArray.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Recoil detectors =&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detectors.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
There are QQQ1 detector from micron &lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/qqq1/&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ List of Recoil detector&lt;br /&gt;
|-&lt;br /&gt;
! Number !! Thickness [um] !! Belong to&lt;br /&gt;
|-&lt;br /&gt;
| 2259-29? || 989 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 1419-22? || 1475 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 2259-25? || 984 || Alan&lt;br /&gt;
|- &lt;br /&gt;
| 2259-39? || 995 || Alan&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
| || || Sharpy&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detector and connection.png|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
== detector holder ==&lt;br /&gt;
&lt;br /&gt;
= Elum detectors = &lt;br /&gt;
&lt;br /&gt;
We have 2 Elum detectors.&lt;br /&gt;
&lt;br /&gt;
== Elum 1 ==&lt;br /&gt;
&lt;br /&gt;
[[File:Elum1.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
Dimension??&lt;br /&gt;
&lt;br /&gt;
== Elum 2 or S1 ==&lt;br /&gt;
[[File:Elum2.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
[[File:S1.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/s1/&lt;br /&gt;
&lt;br /&gt;
The dimension is&lt;br /&gt;
* Blocker : inner 15 mm, outer 60 mm&lt;br /&gt;
* Detector : inner 24 mm, outer 48 mm&lt;br /&gt;
&lt;br /&gt;
numbers of channel 16.&lt;br /&gt;
&lt;br /&gt;
Connection to preamp. only 1 side is connected. another side is biased. &lt;br /&gt;
&lt;br /&gt;
(picture of connection )&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2485</id>
		<title>Detectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2485"/>
		<updated>2022-03-31T22:09:08Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Elum 2 or S1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Position sensitive Si-detector arrays =&lt;br /&gt;
&lt;br /&gt;
We have 2 arrays&lt;br /&gt;
* 4 side x 6 (first)&lt;br /&gt;
[[File:OldArray.png|500px|frameless]]&lt;br /&gt;
* 6 side x 5 (2019-March)&lt;br /&gt;
[[File:NewArray.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Recoil detectors =&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detectors.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
There are QQQ1 detector from micron &lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/qqq1/&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ List of Recoil detector&lt;br /&gt;
|-&lt;br /&gt;
! Number !! Thickness [um] !! Belong to&lt;br /&gt;
|-&lt;br /&gt;
| 2259-29? || 989 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 1419-22? || 1475 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 2259-25? || 984 || Alan&lt;br /&gt;
|- &lt;br /&gt;
| 2259-39? || 995 || Alan&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
| || || Sharpy&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detector and connection.png|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
== detector holder ==&lt;br /&gt;
&lt;br /&gt;
= Elum detectors = &lt;br /&gt;
&lt;br /&gt;
We have 2 Elum detectors.&lt;br /&gt;
&lt;br /&gt;
== Elum 1 ==&lt;br /&gt;
&lt;br /&gt;
[[File:Elum1.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
Dimension??&lt;br /&gt;
&lt;br /&gt;
== Elum 2 or S1 ==&lt;br /&gt;
[[File:Elum2.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
[[File:S1.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/s1/&lt;br /&gt;
&lt;br /&gt;
The dimension is&lt;br /&gt;
* Blocker : inner 15 mm, outer 60 mm&lt;br /&gt;
* Detector : inner 24 mm, outer 48 mm&lt;br /&gt;
&lt;br /&gt;
numbers of channel 16.&lt;br /&gt;
&lt;br /&gt;
Connection to preamp. only 1 side is connected. another side is biased. &lt;br /&gt;
&lt;br /&gt;
(picture of connection )&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2484</id>
		<title>Detectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2484"/>
		<updated>2022-03-31T22:08:43Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Recoil detectors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Position sensitive Si-detector arrays =&lt;br /&gt;
&lt;br /&gt;
We have 2 arrays&lt;br /&gt;
* 4 side x 6 (first)&lt;br /&gt;
[[File:OldArray.png|500px|frameless]]&lt;br /&gt;
* 6 side x 5 (2019-March)&lt;br /&gt;
[[File:NewArray.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Recoil detectors =&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detectors.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
There are QQQ1 detector from micron &lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/qqq1/&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ List of Recoil detector&lt;br /&gt;
|-&lt;br /&gt;
! Number !! Thickness [um] !! Belong to&lt;br /&gt;
|-&lt;br /&gt;
| 2259-29? || 989 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 1419-22? || 1475 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 2259-25? || 984 || Alan&lt;br /&gt;
|- &lt;br /&gt;
| 2259-39? || 995 || Alan&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
|  || || Sharpy&lt;br /&gt;
|- &lt;br /&gt;
| || || Sharpy&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detector and connection.png|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
== detector holder ==&lt;br /&gt;
&lt;br /&gt;
= Elum detectors = &lt;br /&gt;
&lt;br /&gt;
We have 2 Elum detectors.&lt;br /&gt;
&lt;br /&gt;
== Elum 1 ==&lt;br /&gt;
&lt;br /&gt;
[[File:Elum1.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
Dimension??&lt;br /&gt;
&lt;br /&gt;
== Elum 2 or S1 ==&lt;br /&gt;
[[File:Elum2.jpg|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
[[File:S1.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/s1/&lt;br /&gt;
&lt;br /&gt;
The dimension is&lt;br /&gt;
* Blocker : inner 15 mm, outer 60 mm&lt;br /&gt;
* Detector : inner 24 mm, outer 48 mm&lt;br /&gt;
&lt;br /&gt;
numbers of channel 16.&lt;br /&gt;
&lt;br /&gt;
Connection to preamp. only 1 side is connected. another side is biased. &lt;br /&gt;
&lt;br /&gt;
(picture of connection )&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2483</id>
		<title>Detectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2483"/>
		<updated>2022-03-31T22:07:50Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Recoil detectors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Position sensitive Si-detector arrays =&lt;br /&gt;
&lt;br /&gt;
We have 2 arrays&lt;br /&gt;
* 4 side x 6 (first)&lt;br /&gt;
[[File:OldArray.png|500px|frameless]]&lt;br /&gt;
* 6 side x 5 (2019-March)&lt;br /&gt;
[[File:NewArray.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Recoil detectors =&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detectors.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
There are QQQ1 detector from micron &lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/qqq1/&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ List of Recoil detector&lt;br /&gt;
|-&lt;br /&gt;
! Number !! Thickness [um] !! Belong to&lt;br /&gt;
|-&lt;br /&gt;
| 2259-29? || 989 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 1419-22? || 1475 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 2259-25? || 984 || Alan&lt;br /&gt;
|- &lt;br /&gt;
| 2259-39? || 995 || Alan&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detector and connection.png|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
== detector holder ==&lt;br /&gt;
&lt;br /&gt;
= Elum detectors = &lt;br /&gt;
&lt;br /&gt;
We have 2 Elum detectors.&lt;br /&gt;
&lt;br /&gt;
== Elum 1 ==&lt;br /&gt;
&lt;br /&gt;
[[File:Elum1.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
Dimension??&lt;br /&gt;
&lt;br /&gt;
== Elum 2 or S1 ==&lt;br /&gt;
[[File:Elum2.jpg|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
[[File:S1.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/s1/&lt;br /&gt;
&lt;br /&gt;
The dimension is&lt;br /&gt;
* Blocker : inner 15 mm, outer 60 mm&lt;br /&gt;
* Detector : inner 24 mm, outer 48 mm&lt;br /&gt;
&lt;br /&gt;
numbers of channel 16.&lt;br /&gt;
&lt;br /&gt;
Connection to preamp. only 1 side is connected. another side is biased. &lt;br /&gt;
&lt;br /&gt;
(picture of connection )&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Recoil_detector_and_connection.png&amp;diff=2482</id>
		<title>File:Recoil detector and connection.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Recoil_detector_and_connection.png&amp;diff=2482"/>
		<updated>2022-03-31T22:07:41Z</updated>

		<summary type="html">&lt;p&gt;Ttang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;recoil detector and connection&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2481</id>
		<title>Detectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2481"/>
		<updated>2022-03-31T22:03:13Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Recoil detectors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Position sensitive Si-detector arrays =&lt;br /&gt;
&lt;br /&gt;
We have 2 arrays&lt;br /&gt;
* 4 side x 6 (first)&lt;br /&gt;
[[File:OldArray.png|500px|frameless]]&lt;br /&gt;
* 6 side x 5 (2019-March)&lt;br /&gt;
[[File:NewArray.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Recoil detectors =&lt;br /&gt;
&lt;br /&gt;
[[File:Recoil detectors.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
There are QQQ1 detector from micron &lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/qqq1/&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ List of Recoil detector&lt;br /&gt;
|-&lt;br /&gt;
! Number !! Thickness [um] !! Belong to&lt;br /&gt;
|-&lt;br /&gt;
| 2259-29? || 989 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 1419-22? || 1475 || Alan&lt;br /&gt;
|-&lt;br /&gt;
| 2259-25? || 984 || Alan&lt;br /&gt;
|- &lt;br /&gt;
| 2259-39? || 995 || Alan&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== detector holder ==&lt;br /&gt;
&lt;br /&gt;
= Elum detectors = &lt;br /&gt;
&lt;br /&gt;
We have 2 Elum detectors.&lt;br /&gt;
&lt;br /&gt;
== Elum 1 ==&lt;br /&gt;
&lt;br /&gt;
[[File:Elum1.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
Dimension??&lt;br /&gt;
&lt;br /&gt;
== Elum 2 or S1 ==&lt;br /&gt;
[[File:Elum2.jpg|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
[[File:S1.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/s1/&lt;br /&gt;
&lt;br /&gt;
The dimension is&lt;br /&gt;
* Blocker : inner 15 mm, outer 60 mm&lt;br /&gt;
* Detector : inner 24 mm, outer 48 mm&lt;br /&gt;
&lt;br /&gt;
numbers of channel 16.&lt;br /&gt;
&lt;br /&gt;
Connection to preamp. only 1 side is connected. another side is biased. &lt;br /&gt;
&lt;br /&gt;
(picture of connection )&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Recoil_detectors.jpg&amp;diff=2480</id>
		<title>File:Recoil detectors.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Recoil_detectors.jpg&amp;diff=2480"/>
		<updated>2022-03-31T22:00:16Z</updated>

		<summary type="html">&lt;p&gt;Ttang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;image of recoil detectors&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2479</id>
		<title>Detectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2479"/>
		<updated>2022-03-31T21:53:11Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* S1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Position sensitive Si-detector arrays =&lt;br /&gt;
&lt;br /&gt;
We have 2 arrays&lt;br /&gt;
* 4 side x 6 (first)&lt;br /&gt;
[[File:OldArray.png|500px|frameless]]&lt;br /&gt;
* 6 side x 5 (2019-March)&lt;br /&gt;
[[File:NewArray.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Recoil detectors =&lt;br /&gt;
&lt;br /&gt;
== detector holder ==&lt;br /&gt;
&lt;br /&gt;
= Elum detectors = &lt;br /&gt;
&lt;br /&gt;
We have 2 Elum detectors.&lt;br /&gt;
&lt;br /&gt;
== Elum 1 ==&lt;br /&gt;
&lt;br /&gt;
[[File:Elum1.jpg|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
Dimension??&lt;br /&gt;
&lt;br /&gt;
== Elum 2 or S1 ==&lt;br /&gt;
[[File:Elum2.jpg|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
[[File:S1.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/s1/&lt;br /&gt;
&lt;br /&gt;
The dimension is&lt;br /&gt;
* Blocker : inner 15 mm, outer 60 mm&lt;br /&gt;
* Detector : inner 24 mm, outer 48 mm&lt;br /&gt;
&lt;br /&gt;
numbers of channel 16.&lt;br /&gt;
&lt;br /&gt;
Connection to preamp. only 1 side is connected. another side is biased. &lt;br /&gt;
&lt;br /&gt;
(picture of connection )&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Elum1.jpg&amp;diff=2478</id>
		<title>File:Elum1.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Elum1.jpg&amp;diff=2478"/>
		<updated>2022-03-31T21:52:56Z</updated>

		<summary type="html">&lt;p&gt;Ttang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Elum 1&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2477</id>
		<title>Detectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2477"/>
		<updated>2022-03-31T21:49:49Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Elum 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Position sensitive Si-detector arrays =&lt;br /&gt;
&lt;br /&gt;
We have 2 arrays&lt;br /&gt;
* 4 side x 6 (first)&lt;br /&gt;
[[File:OldArray.png|500px|frameless]]&lt;br /&gt;
* 6 side x 5 (2019-March)&lt;br /&gt;
[[File:NewArray.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Recoil detectors =&lt;br /&gt;
&lt;br /&gt;
== detector holder ==&lt;br /&gt;
&lt;br /&gt;
= Elum detectors = &lt;br /&gt;
&lt;br /&gt;
We have 2 Elum detectors.&lt;br /&gt;
&lt;br /&gt;
== S1 ==&lt;br /&gt;
&lt;br /&gt;
== Elum 2 or S1 ==&lt;br /&gt;
[[File:Elum2.jpg|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
[[File:S1.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
http://www.micronsemiconductor.co.uk/product/s1/&lt;br /&gt;
&lt;br /&gt;
The dimension is&lt;br /&gt;
* Blocker : inner 15 mm, outer 60 mm&lt;br /&gt;
* Detector : inner 24 mm, outer 48 mm&lt;br /&gt;
&lt;br /&gt;
numbers of channel 16.&lt;br /&gt;
&lt;br /&gt;
Connection to preamp. only 1 side is connected. another side is biased. &lt;br /&gt;
&lt;br /&gt;
(picture of connection )&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2476</id>
		<title>Detectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2476"/>
		<updated>2022-03-31T21:47:22Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Elum detectors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Position sensitive Si-detector arrays =&lt;br /&gt;
&lt;br /&gt;
We have 2 arrays&lt;br /&gt;
* 4 side x 6 (first)&lt;br /&gt;
[[File:OldArray.png|500px|frameless]]&lt;br /&gt;
* 6 side x 5 (2019-March)&lt;br /&gt;
[[File:NewArray.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Recoil detectors =&lt;br /&gt;
&lt;br /&gt;
== detector holder ==&lt;br /&gt;
&lt;br /&gt;
= Elum detectors = &lt;br /&gt;
&lt;br /&gt;
We have 2 Elum detectors.&lt;br /&gt;
&lt;br /&gt;
== S1 ==&lt;br /&gt;
&lt;br /&gt;
== Elum 2 ==&lt;br /&gt;
[[File:Elum2.jpg|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
[[File:S1.jpg|500px|frameless]]&lt;br /&gt;
&lt;br /&gt;
number of channel 16. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dimension is&lt;br /&gt;
* Blocker : inner 15 mm, outer 60 mm&lt;br /&gt;
* Detector : inner 20 mm, outer 50 mm&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:S1.jpg&amp;diff=2475</id>
		<title>File:S1.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:S1.jpg&amp;diff=2475"/>
		<updated>2022-03-31T21:47:13Z</updated>

		<summary type="html">&lt;p&gt;Ttang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The picture is copy from http://www.micronsemiconductor.co.uk/product/s1/&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2474</id>
		<title>Detectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2474"/>
		<updated>2022-03-31T21:44:38Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Elum detectors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Position sensitive Si-detector arrays =&lt;br /&gt;
&lt;br /&gt;
We have 2 arrays&lt;br /&gt;
* 4 side x 6 (first)&lt;br /&gt;
[[File:OldArray.png|500px|frameless]]&lt;br /&gt;
* 6 side x 5 (2019-March)&lt;br /&gt;
[[File:NewArray.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Recoil detectors =&lt;br /&gt;
&lt;br /&gt;
== detector holder ==&lt;br /&gt;
&lt;br /&gt;
= Elum detectors = &lt;br /&gt;
&lt;br /&gt;
We have 2 Elum detectors.&lt;br /&gt;
&lt;br /&gt;
[[File:Elum2.jpg|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
The dimension is&lt;br /&gt;
* Blocker : inner 15 mm, outer 60 mm&lt;br /&gt;
* Detector : inner 20 mm, outer 50 mm&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2473</id>
		<title>Detectors</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Detectors&amp;diff=2473"/>
		<updated>2022-03-31T21:43:25Z</updated>

		<summary type="html">&lt;p&gt;Ttang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Position sensitive Si-detector arrays =&lt;br /&gt;
&lt;br /&gt;
We have 2 arrays&lt;br /&gt;
* 4 side x 6 (first)&lt;br /&gt;
[[File:OldArray.png|500px|frameless]]&lt;br /&gt;
* 6 side x 5 (2019-March)&lt;br /&gt;
[[File:NewArray.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Recoil detectors =&lt;br /&gt;
&lt;br /&gt;
== detector holder ==&lt;br /&gt;
&lt;br /&gt;
= Elum detectors = &lt;br /&gt;
&lt;br /&gt;
We have 2 Elum detectors.&lt;br /&gt;
&lt;br /&gt;
[[File:Elum2.jpg|1000px|frameless]]&lt;br /&gt;
&lt;br /&gt;
The dimension is&lt;br /&gt;
* Blocker : inner 15 mm, outer 60 mm&lt;br /&gt;
* Detector : inner 20 mm, outer 50 mm&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Elum2.jpg&amp;diff=2472</id>
		<title>File:Elum2.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Elum2.jpg&amp;diff=2472"/>
		<updated>2022-03-31T21:42:21Z</updated>

		<summary type="html">&lt;p&gt;Ttang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;elum2&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Ptolemy_in_Mac_using_docker&amp;diff=2471</id>
		<title>Ptolemy in Mac using docker</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Ptolemy_in_Mac_using_docker&amp;diff=2471"/>
		<updated>2022-03-31T21:11:56Z</updated>

		<summary type="html">&lt;p&gt;Ttang: Created page with &amp;quot;== Installation instructions ==  === Install Docker Desktop for Mac. ===      https://download.docker.com/mac/stable/Docker.dmg  Start the app.  If it is running, the docker i...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation instructions ==&lt;br /&gt;
&lt;br /&gt;
=== Install Docker Desktop for Mac. ===&lt;br /&gt;
&lt;br /&gt;
    https://download.docker.com/mac/stable/Docker.dmg&lt;br /&gt;
&lt;br /&gt;
Start the app.  If it is running, the docker icon (a whale stacked with container boxes) should be present on the top menu bar on the right hand side.&lt;br /&gt;
&lt;br /&gt;
=== Open a terminal window and type the following at the command prompt : ===&lt;br /&gt;
&lt;br /&gt;
    $ docker pull tehatanlgov/ptolemy:latest&lt;br /&gt;
&lt;br /&gt;
This downloads the ptolemy container from docker hub.  You need do this only once. List downloaded containers with :&lt;br /&gt;
&lt;br /&gt;
    $ docker images&lt;br /&gt;
&lt;br /&gt;
=== Make a bash script ===&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 docker run --rm -i -w $PWD tehatanlgov/ptolemy&lt;br /&gt;
&lt;br /&gt;
In digios repository, there is already &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;digios/analysis/Cleopatra/ptolemy_mac&amp;lt;/span&amp;gt;, which is executable.&lt;br /&gt;
&lt;br /&gt;
=== Run Ptolemy ===&lt;br /&gt;
&lt;br /&gt;
 Cleopatra$ptolemy_mac &amp;lt;infile&amp;gt; &amp;lt;outfile&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Main_Page&amp;diff=2470</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=Main_Page&amp;diff=2470"/>
		<updated>2022-03-31T17:54:01Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Software */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== HELIOS Digital DAQ Wiki Page ==&lt;br /&gt;
&lt;br /&gt;
This is the wiki for all that is the [http://www.phy.anl.gov/atlas/helios HELIOS] Digital Data Acquisition (informally known as DigiOS).&lt;br /&gt;
&lt;br /&gt;
For the kinematics of HELIOS, please look [[File:Kinematics of HELIOS.pdf|thumb]]&lt;br /&gt;
&lt;br /&gt;
= Hardware =&lt;br /&gt;
&lt;br /&gt;
*:[[Hardware]]&lt;br /&gt;
&lt;br /&gt;
*:[[Locations]]&lt;br /&gt;
&lt;br /&gt;
*:[[Hardware/Firmware Configurations]]&lt;br /&gt;
&lt;br /&gt;
*:[[VME99 test stand IOC]]&lt;br /&gt;
&lt;br /&gt;
*:[[Target Fan Control]]&lt;br /&gt;
&lt;br /&gt;
*:[[Detectors]]&lt;br /&gt;
&lt;br /&gt;
*:[[Alpha source]]&lt;br /&gt;
&lt;br /&gt;
*:[[PV List]]&lt;br /&gt;
&lt;br /&gt;
= Software =&lt;br /&gt;
&lt;br /&gt;
*:[[GUI, Scripts And Analysis Code]]&lt;br /&gt;
&lt;br /&gt;
*:[[Data Storage]]&lt;br /&gt;
&lt;br /&gt;
*:[[Input/Output Control]]&lt;br /&gt;
&lt;br /&gt;
*:[[EPIC]]&lt;br /&gt;
&lt;br /&gt;
*:[[gtReceiver + GEBSort]]&lt;br /&gt;
&lt;br /&gt;
*:[[Grafana + InfluxDB]]&lt;br /&gt;
&lt;br /&gt;
*:[[Globus]]&lt;br /&gt;
&lt;br /&gt;
*:[[Leakage Current from Iseg]]&lt;br /&gt;
&lt;br /&gt;
*:[[Ptolemy in Mac using docker]]&lt;br /&gt;
&lt;br /&gt;
= Usage and Operation =&lt;br /&gt;
&lt;br /&gt;
*:[[System usage]]&lt;br /&gt;
&lt;br /&gt;
*:[[Sorting Data]]&lt;br /&gt;
&lt;br /&gt;
*:[[&amp;quot;How to&amp;quot; for DAQ]]&lt;br /&gt;
&lt;br /&gt;
*:[[&amp;quot;How to&amp;quot; for analysis code]]&lt;br /&gt;
&lt;br /&gt;
= Others =&lt;br /&gt;
&lt;br /&gt;
*:[[Experiments]]&lt;br /&gt;
&lt;br /&gt;
*:[[System testing]]&lt;br /&gt;
&lt;br /&gt;
*:[[Known problems and (Hopefully!) solutions]]&lt;br /&gt;
&lt;br /&gt;
*:[[General information]]&lt;br /&gt;
&lt;br /&gt;
*:[[Ideas]]&lt;br /&gt;
&lt;br /&gt;
*:[[Gallery]]&lt;br /&gt;
&lt;br /&gt;
= Contacts =&lt;br /&gt;
&lt;br /&gt;
:: Calem Hoffman mailto:crhoffman@anl.gov&lt;br /&gt;
:: Daniel Santiago-Gonzalez mailto:dasago@anl.gov&lt;br /&gt;
:: Sean A. Kuvin mailto:kuvin@anl.gov&lt;br /&gt;
:: Tsz Leung (Ryan) Tang mailto:ttang@anl.gov mailto:rtang@fsu.edu&lt;br /&gt;
&lt;br /&gt;
{{Template:Standard Footer}}&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=%22How_to%22_for_analysis_code&amp;diff=2469</id>
		<title>&quot;How to&quot; for analysis code</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=%22How_to%22_for_analysis_code&amp;diff=2469"/>
		<updated>2022-03-28T06:49:53Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* General Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[last updated Mar 28, 2022]&lt;br /&gt;
&lt;br /&gt;
Everything should be performed in digios/analysis/working directory, &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;ATTENTION:&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|txt file extension is editable for user.&lt;br /&gt;
|-&lt;br /&gt;
|dat files extension is not supposed to be edited, they are generated.&lt;br /&gt;
|-&lt;br /&gt;
|Editable file name will be highlighted with &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt; color&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Overview =&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot 2022-03-28 023801.png|1200px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= General Usage =&lt;br /&gt;
&lt;br /&gt;
== How to download the source code ? == &lt;br /&gt;
&lt;br /&gt;
make sure you have git in your computer.&lt;br /&gt;
&lt;br /&gt;
in the directory you like to put in the code. for example, I like to put the code in ~/, then &amp;gt;cd ~/&lt;br /&gt;
&lt;br /&gt;
 ~/&amp;gt;git clone https://github.com/calemhoffman/digios.git&lt;br /&gt;
&lt;br /&gt;
you will see a folder name digios is there. &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;cd digios &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
To check your experiment &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git branch -a&lt;br /&gt;
&lt;br /&gt;
for example your experiment is using the branch h064_15N&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
you will see you are in the branch for your experiment. &lt;br /&gt;
&lt;br /&gt;
for analysis, you only need the things inside digios/analysis&lt;br /&gt;
&lt;br /&gt;
Make sure you create folders or symbolic links for data, merged_data, and root_data under digios/analysis.&lt;br /&gt;
&lt;br /&gt;
== How to update source code ? ==&lt;br /&gt;
&lt;br /&gt;
The easiest easy is to restore everything that changed. &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git reset --hard&lt;br /&gt;
&lt;br /&gt;
after resetting the folder, we can update the code by&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git pull&lt;br /&gt;
&lt;br /&gt;
== How to get option for a method or function ? == &lt;br /&gt;
&lt;br /&gt;
For most of the bash script, if you have no argument or the argument is &amp;quot;-help&amp;quot; it will display help message&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_run&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;../Cleopatra/Transfer -help&lt;br /&gt;
&lt;br /&gt;
For most root macro, for example, RDTCutsCreator(), &lt;br /&gt;
after typed the first bracket, use tab, it will display the arguments.&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&lt;br /&gt;
&lt;br /&gt;
then press tab. it will show&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(TString filename, TString saveFileName = &amp;quot;rdtCuts.root&amp;quot;, int eRange = 4000, int eRange = 60000 )&lt;br /&gt;
&lt;br /&gt;
== How to take a screenshot in MAC ? == &lt;br /&gt;
&lt;br /&gt;
Command + Shift + 4 = screenshot selected area&lt;br /&gt;
&lt;br /&gt;
Command + Shift + 4, then space_bar = screenshot selected window&lt;br /&gt;
&lt;br /&gt;
== How to check the start time and stop time for a run? == &lt;br /&gt;
&lt;br /&gt;
in digios/analysis/data, there is RunTimeStamp.dat. &lt;br /&gt;
this file stored all start and stop time for all runs. &lt;br /&gt;
&lt;br /&gt;
in MAC or DAQ, &lt;br /&gt;
&lt;br /&gt;
 anywhere&amp;gt;ShowRunTimeStamp&lt;br /&gt;
&lt;br /&gt;
== How to check the raw files for a run? == &lt;br /&gt;
&lt;br /&gt;
in MAC or DAQ&lt;br /&gt;
&lt;br /&gt;
 anywhere&amp;gt;ShowRunSize [RUNNUM]&lt;br /&gt;
&lt;br /&gt;
= Git Branch Management =&lt;br /&gt;
&lt;br /&gt;
== How to Setup/Switch for a new experiment? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Advance user / user familiar with git only&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Has to be done in the DAQ first&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Has to be done in the MAC after&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
given that the digios directory is clean, meaning &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status &lt;br /&gt;
&lt;br /&gt;
show no file is modified. &lt;br /&gt;
&lt;br /&gt;
If you are not in the master branch&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;./SetUpNewExp master&lt;br /&gt;
&lt;br /&gt;
Then you are ready to setup a new experimental branch by&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;./SetUpNewExp [new experiment name]&lt;br /&gt;
&lt;br /&gt;
The bash script with do all the work. &lt;br /&gt;
&lt;br /&gt;
After that, do the same in the MAC.&lt;br /&gt;
&lt;br /&gt;
----------&lt;br /&gt;
&lt;br /&gt;
When the folder is not clean. i.e., not everything git committed. The SetUpNewExp will stop and not switch branches or make a new experiment. &lt;br /&gt;
&lt;br /&gt;
In that case, the simplest way is &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git add -A                          # add all changes to stage&lt;br /&gt;
 digios&amp;gt;git commit -m &amp;quot;comment you like&amp;quot;    # commit the change and make the folder clean&lt;br /&gt;
&lt;br /&gt;
Or, you want to discard all change&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git reset --hard&lt;br /&gt;
&lt;br /&gt;
== How to clean up the working directory and prepare for a new experiment? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Advance user / user familiar with git only&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Need to be done in both MAC and DAQ&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; !!! READ till the end before you do anything!!!!&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
After each experiment, the files in digios directory would be changed. &lt;br /&gt;
&lt;br /&gt;
To check the change,&lt;br /&gt;
&lt;br /&gt;
 DAQ&amp;gt;cd ~/digios&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
To snapshot the change&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git add -A&lt;br /&gt;
 digios&amp;gt;git commit -m &amp;quot;comment for this snapshot&amp;quot;&lt;br /&gt;
&lt;br /&gt;
It is better to push the snapshot to the github&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git push origin [branch name]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Also need to git the DAQ!&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; The files in the DAQ and the MAC could be both changed. Mostly, the change in the DAQ is in digios/daq. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; That means the DAQ and MAC has to be merged.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;We use a merge driver that the expName.sh will not be merged. The detail can be found in .gitattribute and git documentation. &amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is better to start with the DAQ.&lt;br /&gt;
# commit and push the daq/edm/scripts folder&lt;br /&gt;
# commit and push the daq/edm/screens (if anything changed)&lt;br /&gt;
&lt;br /&gt;
and then, go to the Mac,&lt;br /&gt;
# fetch and merge, since the DAQ pushed latest commit&lt;br /&gt;
# commit and push the analysis/Armory/&lt;br /&gt;
# commit and push the analysis/Cleopatra&lt;br /&gt;
# commit and push the analysis/working&lt;br /&gt;
&lt;br /&gt;
Now, we can go to LCRC ( /lcrc/project/HELIOS/digios )&lt;br /&gt;
The LCRC always in master branch.&lt;br /&gt;
then we can merge and solve conflict for each commit from the experiment.&lt;br /&gt;
&lt;br /&gt;
After above action, we can go back to the DAQ, and commit the expName.sh, and switch back to master branch or setup a new experiment.&lt;br /&gt;
&lt;br /&gt;
= Process Run online =&lt;br /&gt;
&lt;br /&gt;
== How to process run? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/GEBSort, and&lt;br /&gt;
 GEBSort&amp;gt;make offline&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN [RUNNUM]&lt;br /&gt;
&lt;br /&gt;
The bash script will download run [RUNNUM], merge, event building, GeneralSort (mapping), and Monitors.C &lt;br /&gt;
&lt;br /&gt;
to see more options, ./process_run without any argument&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN&lt;br /&gt;
 Process_RUN [RunNum] [Merge] [EventBuild] [GeneralSort] [Monitor]&amp;quot;&lt;br /&gt;
      RunNum = run number / \&amp;quot;lastRun\&amp;quot; &amp;quot;&lt;br /&gt;
       Merge =   1/0/-1      || 1 = merge, 0 = not merge, -1 = force merge &amp;quot;  &lt;br /&gt;
    EventBld = 2/1/0/-1/-2   || 2 = with Trace&amp;quot;  &lt;br /&gt;
  GenralSort = n/1/0/-1/-n   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&amp;quot;&lt;br /&gt;
    Monitors = 2/1/0         || 1 = single run,  2 = using the list in ChainMonitors.C&amp;quot;&lt;br /&gt;
                               10 = single run and post to websrv, 20 = list runs and post to websrv&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
        **** When feeding trace data to Monitors, the EventBld flag must be 2 or -2.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The working flow of process_run (without Monitor) is&lt;br /&gt;
&lt;br /&gt;
[[File:Process run.png|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
For data calibration, see [[GUI,_Scripts_And_Analysis_Code#Standard_data_analysis_flow|standard data analysis flow]]&lt;br /&gt;
&lt;br /&gt;
== How to process multiple runs at once ? ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 $./process_MultiRuns [RunNum1] [RunNum2] [Merge] [EventBuild] [GeneralSort]&lt;br /&gt;
     RunNum1 = start run number&lt;br /&gt;
     RunNum2 = stop run number&lt;br /&gt;
       Merge =   1/0*     &lt;br /&gt;
    EventBld = 2/1/0*   || 2 = with Trace&lt;br /&gt;
  GenralSort = n/1/0*   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&lt;br /&gt;
         * negative option = force&lt;br /&gt;
&lt;br /&gt;
== How to process multiple runs as a slurm job? == &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A slurm job is a job in LCRC. The script will generate the slurm.sh and submit the job to 1 node.&lt;br /&gt;
&lt;br /&gt;
If only merge and build event, only 1 core will be used.&lt;br /&gt;
If with GeneralSort, 36 cores will be used.&lt;br /&gt;
&lt;br /&gt;
 $./process_Slurm [RunNum1] [RunNum2] [time] [Merge] [EventBuild] [GeneralSort]&lt;br /&gt;
     RunNum1 = start run number&lt;br /&gt;
     RunNum2 = stop run number&lt;br /&gt;
        time = allocate time&lt;br /&gt;
       Merge =   1/0*     &lt;br /&gt;
    EventBld = 2/1/0*   || 2 = with Trace&lt;br /&gt;
  GenralSort = n/1/0*   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&lt;br /&gt;
         * negative option = force&lt;br /&gt;
&lt;br /&gt;
== How to manually run the Monitors.C for a given run? ==&lt;br /&gt;
&lt;br /&gt;
make sure gen_runXXX.root is generated in digios/analysis/root_data. &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root ../root_data/gen_runXXX.root&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;gen_tree-&amp;gt;Process(&amp;quot;Monitors.C+&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
== How to &amp;quot;Monitor&amp;quot; multiple runs ? ==&lt;br /&gt;
&lt;br /&gt;
edit &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can see it use the TChain class. &lt;br /&gt;
&lt;br /&gt;
to add files, for example, add the run 33 to 40, 42, 45, and 50, and I assume the run 33 to 40, 42, and 45 are already downloaded&lt;br /&gt;
&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run03[3-9].root&amp;quot;);&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run04[0,2,5].root&amp;quot;);&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run050.root&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
Then, in process_run&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./process_run 50 1 1 1 2&lt;br /&gt;
&lt;br /&gt;
Notice that it will download, merge, build event, and GeneralSort (mapping) for run 50 ONLY.&lt;br /&gt;
&lt;br /&gt;
= How to change the array position ? =&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Donwload all runs into the Mac ? == &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Rsyn_data_from_DAQ.sh&lt;br /&gt;
&lt;br /&gt;
== How to change or add a recoil Cuts ? ==&lt;br /&gt;
&lt;br /&gt;
see [[#How to use RDTCutsCreator ?]]&lt;br /&gt;
&lt;br /&gt;
== How to use RDTCutsCreator ? ==&lt;br /&gt;
&lt;br /&gt;
After ./process_run, the ../Armory/RDTCutsCreator.C will be loaded. &lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator( [filename], [save file name], [E range], [dE range] )&lt;br /&gt;
&lt;br /&gt;
The default [save file name] is &amp;quot;rdtCuts.root&amp;quot;. If you like to use other [save file name], please correct the TString rdtCutFile in Monitors.C&lt;br /&gt;
&lt;br /&gt;
if something go wrong during the RDTCutsCreator, simply delete the &amp;quot;rdtCuts.root&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
There is a way to include multiple files for the RDTCutsCreator&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&amp;quot;../root_data/gen_run02[3-7].root&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&amp;quot;../root_data/gen_run02[3,5,7,9].root&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
To include more files, we can edit ../Armory/RDTCutsCreator.C&lt;br /&gt;
&lt;br /&gt;
inside the file, manual add the files. To run that script.&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt; root&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;.L ../Armory/RDTCutsCreator.C&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutCreator(&amp;quot;&amp;quot;, [save file name], [E range], [dE range] )&lt;br /&gt;
&lt;br /&gt;
= How is the Calibration flow ? =&lt;br /&gt;
[[File:DataAnalysis.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
The calibration has few steps:&lt;br /&gt;
# Gain-matching with xn to xf&lt;br /&gt;
# Gain-matching with xn&#039;+xf to e&lt;br /&gt;
# Calibrate e&lt;br /&gt;
&lt;br /&gt;
To do step 1, It is better start with alpha data, because the alpha data is independent of position. By gating on 1 of the alpha peak, then plot the xf vs xn, the gain matching of xn to xf can be easily done. And because we need to gate on the alpha peak, then why not do a calibration on the energy using alpha data? So, in the Cali_xf_xn.C, the program will first calibrate alpha energy, then gate on 1 of the alpha peak to do gain match xn to xf.&lt;br /&gt;
&lt;br /&gt;
To do step 2, we need a gain-matched xn, i.e. xn&#039;, so that xn&#039;+xf should be proportional to the raw e. &lt;br /&gt;
&lt;br /&gt;
In order to calibrate the energy, sometimes, alpha calibration is doing a good job, given that the alpha source is a good source. However, we can also calibrate the energy using kinematic E-Z lines. See [[&amp;quot;How_to&amp;quot;_for_analysis_code#How to Calibrate reaction data by kinematics ?| How to Calibrate reaction data by kinematics ?]]&lt;br /&gt;
&lt;br /&gt;
== How to Calibrate alpha data ? ==&lt;br /&gt;
&lt;br /&gt;
If statistics for single detector is sufficient, i.e. all peak is clearly identified.&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 0&lt;br /&gt;
&lt;br /&gt;
It will guide you through the process. &lt;br /&gt;
&lt;br /&gt;
-----------------------------&lt;br /&gt;
&lt;br /&gt;
If statistics is not so good, we can use the ../Armory/Cali_e_single.C&lt;br /&gt;
&lt;br /&gt;
== How to Gain matching of xn to xf ? == &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 0&lt;br /&gt;
&lt;br /&gt;
First, it will go through energy calibration, it does not need to be good.&lt;br /&gt;
 &lt;br /&gt;
Next, select any peak, so that the program will gate on that peak and plot xf vs xn. From there, the xn will gain match xf.&lt;br /&gt;
&lt;br /&gt;
== How to gain match the xn+xf to raw e ? ==&lt;br /&gt;
&lt;br /&gt;
To properly do so, you have to gain-matched xn to xf. Then&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 1&lt;br /&gt;
&lt;br /&gt;
This has to be NOT alpha run, just any beam run. It will plot the raw e vs xf + xn&#039;.&lt;br /&gt;
&lt;br /&gt;
== How to Calibrate reaction data by kinematics ? ==&lt;br /&gt;
&lt;br /&gt;
( I know It needs more detail )&lt;br /&gt;
&lt;br /&gt;
ONLY for sufficient statistic for individual detector. &lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationtrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 2&lt;br /&gt;
&lt;br /&gt;
it will guide you through. &lt;br /&gt;
&lt;br /&gt;
---------------&lt;br /&gt;
In order to speed up the process, it will create a temp.root. a root file only contain e and z. &lt;br /&gt;
&lt;br /&gt;
User can use ../Armory/Check_e_x.root and create a cut to be used in the Monte-Carlo process.&lt;br /&gt;
&lt;br /&gt;
== How to output a root file only contain physical data ? ==&lt;br /&gt;
&lt;br /&gt;
after the calibration is done, we can edit &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and run &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
Select option 3 to generate the A_gen_runXXX.root&lt;br /&gt;
&lt;br /&gt;
[[File:Option3.png|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Kinematic and DWBA Calculation =&lt;br /&gt;
&lt;br /&gt;
The simplest way is using the Simulation_Helper.C. This is a GUI interface.&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root Simulation_Helper.C&lt;br /&gt;
&lt;br /&gt;
[[File:Simulation Helper screenshot.png|800px|frameless|none]]&lt;br /&gt;
&lt;br /&gt;
== How to change the calculation for Ex and thetaCM ? ==&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt&amp;lt;/span&amp;gt;, than recalculate the reaction.dat by running ../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
== How to change the kinematic E-Z line? ==&lt;br /&gt;
&lt;br /&gt;
see [[#How to simulate the kinematics?]]&lt;br /&gt;
&lt;br /&gt;
The E-Z lines are stored in fxList in transfer.root&lt;br /&gt;
&lt;br /&gt;
In Monitors.C, at the end or Monitors::Terminate(). &lt;br /&gt;
&lt;br /&gt;
you can see the fxList.&lt;br /&gt;
&lt;br /&gt;
== How to simulate the kinematics? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/Cleopatra, and &lt;br /&gt;
 Cleopatra&amp;gt;make&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
edit &lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;Ex.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run&lt;br /&gt;
  working&amp;gt;../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
after that, 2 files will be generated, 1) reaction.dat, 2) transfer.root&lt;br /&gt;
&lt;br /&gt;
a tree is inside transfer.root. &lt;br /&gt;
&lt;br /&gt;
you can see the tree branches by&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt; tree-&amp;gt;Print()&lt;br /&gt;
&lt;br /&gt;
I hope the branch name is self-explained. &lt;br /&gt;
&lt;br /&gt;
In Armory, there is a root macro Check_Transfer.C&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root &#039;../Armory/Check_Transfer.C(&amp;quot;transfer.root&amp;quot;)&#039;&lt;br /&gt;
&lt;br /&gt;
The macro load the transfer.root and plot the e-z plot, the recoil, recoil radius vs thetaCM etc...&lt;br /&gt;
&lt;br /&gt;
== How to do DWBA calculation ? == &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/Cleopatra, and &lt;br /&gt;
 Cleopatra&amp;gt;make &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; ONLY IN LINUX, because Ptolemy only work in Linux.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;DWBA&amp;lt;/span&amp;gt;, then&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra example 1 1 1 1 0 [minAng] [maxAng] [angStep]&lt;br /&gt;
&lt;br /&gt;
This will generate the example.in, feed to Ptolemy, output example.out, extract the differential cross section into&lt;br /&gt;
&lt;br /&gt;
* example.Xsec.txt&lt;br /&gt;
* example.root&lt;br /&gt;
&lt;br /&gt;
And plot the d.s.c. using example.root&lt;br /&gt;
&lt;br /&gt;
It will also generate example.Ex.txt&lt;br /&gt;
&lt;br /&gt;
For arguments meaning, use Cleopatra without any argument &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra&lt;br /&gt;
&lt;br /&gt;
== How to do kinematics simulation with DWBA differential cross section ? == &lt;br /&gt;
&lt;br /&gt;
see [[#How to do DWBA calculation ?]] first. &lt;br /&gt;
&lt;br /&gt;
edit&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;example &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure the reaction in the &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt; is matching with that in example&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra example 1 1 1 0 1  0 180 1&lt;br /&gt;
&lt;br /&gt;
The excitation levels is using example.Ex.txt.&lt;br /&gt;
&lt;br /&gt;
The bash script will calculate the DWBA d.s.c. using Cleopatra, then using ../Cleopatra/Transfer to do the simulation. &lt;br /&gt;
&lt;br /&gt;
see [[#How to simulate the kinematics?]]&lt;br /&gt;
&lt;br /&gt;
= How to do trace analysis ? =&lt;br /&gt;
&lt;br /&gt;
updated Feb-12, 2021&lt;br /&gt;
&lt;br /&gt;
simply&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN [RunNum] 1 -2 [number_of_worker] [Option_for_Monitors]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Updated Nov-6, 2019&lt;br /&gt;
The GEBSort_nogeb_trace was generated, Simple run ./process_run with option is fine&lt;br /&gt;
&lt;br /&gt;
--------------------------------&lt;br /&gt;
First, the GEBSort code has to be recompile by changing the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;digios/GEBSort/bin_rcnp.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in that file, comment out the trace (line ?) &lt;br /&gt;
&lt;br /&gt;
Then, recompile&lt;br /&gt;
&lt;br /&gt;
 GEBSort&amp;gt;make offline&lt;br /&gt;
&lt;br /&gt;
Now the gen_runXXX.root will contains trace data. &lt;br /&gt;
&lt;br /&gt;
go back to working directory&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./process_run [RUNNUM] 1 1 2 1&lt;br /&gt;
&lt;br /&gt;
The 4th argument is 2, that means the GeneralSort (or the mapping ) will use ../Amrory/GeneralSortTrace.C instead of ../Amory/GeneralSort.C&lt;br /&gt;
&lt;br /&gt;
The 4th argument can be also be more than 2, say, when it is N, it means it will use Proof, a parallel computing framework built-in in root that use N cores.&lt;br /&gt;
&lt;br /&gt;
To display the trace, we can use ../Armory/readTrace.C ( this macro is kind of shitty.....)&lt;br /&gt;
&lt;br /&gt;
= How to count a 1D histogram for a given range ? =&lt;br /&gt;
&lt;br /&gt;
After  ./process_run, a function Check1D() is loaded.&lt;br /&gt;
&lt;br /&gt;
= How to fit the excitation spectrum ? =&lt;br /&gt;
&lt;br /&gt;
If the reaction.dat is set properly, after ./process_run, the excite() function will give you the excitation spectrum.&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;excite()&lt;br /&gt;
&lt;br /&gt;
You can use the fitAuto() function to auto fit the spectrum by&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;fitAuto(hEx) &lt;br /&gt;
&lt;br /&gt;
For more option&lt;br /&gt;
&lt;br /&gt;
 fitAuto( [hist name], [BG estimation] )&lt;br /&gt;
&lt;br /&gt;
-------------------------------&lt;br /&gt;
Or you can can fit N-Gauss + 1 linear function. In this case, edit the &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;AutFit_para.txt&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;fitNGaussP1(hEx)&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=%22How_to%22_for_analysis_code&amp;diff=2468</id>
		<title>&quot;How to&quot; for analysis code</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=%22How_to%22_for_analysis_code&amp;diff=2468"/>
		<updated>2022-03-28T06:46:57Z</updated>

		<summary type="html">&lt;p&gt;Ttang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[last updated Mar 28, 2022]&lt;br /&gt;
&lt;br /&gt;
Everything should be performed in digios/analysis/working directory, &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;ATTENTION:&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|txt file extension is editable for user.&lt;br /&gt;
|-&lt;br /&gt;
|dat files extension is not supposed to be edited, they are generated.&lt;br /&gt;
|-&lt;br /&gt;
|Editable file name will be highlighted with &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt; color&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Overview =&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot 2022-03-28 023801.png|1200px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= General Usage =&lt;br /&gt;
&lt;br /&gt;
== How to download the source code ? == &lt;br /&gt;
&lt;br /&gt;
make sure you have git in your computer.&lt;br /&gt;
&lt;br /&gt;
in the directory you like to put in the code. for example, I like to put the code in ~/, then &amp;gt;cd ~/&lt;br /&gt;
&lt;br /&gt;
 ~/&amp;gt;git clone https://github.com/calemhoffman/digios.git&lt;br /&gt;
&lt;br /&gt;
you will see a folder name digios is there. &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;cd digios &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
To check your experiment &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git branch -a&lt;br /&gt;
&lt;br /&gt;
for example your experiment is using the branch h064_15N&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
you will see you are in the branch for your experiment. &lt;br /&gt;
&lt;br /&gt;
for analysis, you only need the things inside digios/analysis&lt;br /&gt;
&lt;br /&gt;
Make sure you create folders or symbolic links for data, merged_data, and root_data under digios/analysis.&lt;br /&gt;
&lt;br /&gt;
== How to get option for a method or function ? == &lt;br /&gt;
&lt;br /&gt;
For most of the bash script, if you have no argument or the argument is &amp;quot;-help&amp;quot; it will display help message&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_run&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;../Cleopatra/Transfer -help&lt;br /&gt;
&lt;br /&gt;
For most root macro, for example, RDTCutsCreator(), &lt;br /&gt;
after typed the first bracket, use tab, it will display the arguments.&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&lt;br /&gt;
&lt;br /&gt;
then press tab. it will show&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(TString filename, TString saveFileName = &amp;quot;rdtCuts.root&amp;quot;, int eRange = 4000, int eRange = 60000 )&lt;br /&gt;
&lt;br /&gt;
== How to take a screenshot in MAC ? == &lt;br /&gt;
&lt;br /&gt;
Command + Shift + 4 = screenshot selected area&lt;br /&gt;
&lt;br /&gt;
Command + Shift + 4, then space_bar = screenshot selected window&lt;br /&gt;
&lt;br /&gt;
== How to check the start time and stop time for a run? == &lt;br /&gt;
&lt;br /&gt;
in digios/analysis/data, there is RunTimeStamp.dat. &lt;br /&gt;
this file stored all start and stop time for all runs. &lt;br /&gt;
&lt;br /&gt;
in MAC or DAQ, &lt;br /&gt;
&lt;br /&gt;
 anywhere&amp;gt;ShowRunTimeStamp&lt;br /&gt;
&lt;br /&gt;
== How to check the raw files for a run? == &lt;br /&gt;
&lt;br /&gt;
in MAC or DAQ&lt;br /&gt;
&lt;br /&gt;
 anywhere&amp;gt;ShowRunSize [RUNNUM]&lt;br /&gt;
&lt;br /&gt;
= Git Branch Management =&lt;br /&gt;
&lt;br /&gt;
== How to Setup/Switch for a new experiment? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Advance user / user familiar with git only&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Has to be done in the DAQ first&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Has to be done in the MAC after&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
given that the digios directory is clean, meaning &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status &lt;br /&gt;
&lt;br /&gt;
show no file is modified. &lt;br /&gt;
&lt;br /&gt;
If you are not in the master branch&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;./SetUpNewExp master&lt;br /&gt;
&lt;br /&gt;
Then you are ready to setup a new experimental branch by&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;./SetUpNewExp [new experiment name]&lt;br /&gt;
&lt;br /&gt;
The bash script with do all the work. &lt;br /&gt;
&lt;br /&gt;
After that, do the same in the MAC.&lt;br /&gt;
&lt;br /&gt;
----------&lt;br /&gt;
&lt;br /&gt;
When the folder is not clean. i.e., not everything git committed. The SetUpNewExp will stop and not switch branches or make a new experiment. &lt;br /&gt;
&lt;br /&gt;
In that case, the simplest way is &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git add -A                          # add all changes to stage&lt;br /&gt;
 digios&amp;gt;git commit -m &amp;quot;comment you like&amp;quot;    # commit the change and make the folder clean&lt;br /&gt;
&lt;br /&gt;
Or, you want to discard all change&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git reset --hard&lt;br /&gt;
&lt;br /&gt;
== How to clean up the working directory and prepare for a new experiment? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Advance user / user familiar with git only&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Need to be done in both MAC and DAQ&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; !!! READ till the end before you do anything!!!!&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
After each experiment, the files in digios directory would be changed. &lt;br /&gt;
&lt;br /&gt;
To check the change,&lt;br /&gt;
&lt;br /&gt;
 DAQ&amp;gt;cd ~/digios&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
To snapshot the change&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git add -A&lt;br /&gt;
 digios&amp;gt;git commit -m &amp;quot;comment for this snapshot&amp;quot;&lt;br /&gt;
&lt;br /&gt;
It is better to push the snapshot to the github&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git push origin [branch name]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Also need to git the DAQ!&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; The files in the DAQ and the MAC could be both changed. Mostly, the change in the DAQ is in digios/daq. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; That means the DAQ and MAC has to be merged.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;We use a merge driver that the expName.sh will not be merged. The detail can be found in .gitattribute and git documentation. &amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is better to start with the DAQ.&lt;br /&gt;
# commit and push the daq/edm/scripts folder&lt;br /&gt;
# commit and push the daq/edm/screens (if anything changed)&lt;br /&gt;
&lt;br /&gt;
and then, go to the Mac,&lt;br /&gt;
# fetch and merge, since the DAQ pushed latest commit&lt;br /&gt;
# commit and push the analysis/Armory/&lt;br /&gt;
# commit and push the analysis/Cleopatra&lt;br /&gt;
# commit and push the analysis/working&lt;br /&gt;
&lt;br /&gt;
Now, we can go to LCRC ( /lcrc/project/HELIOS/digios )&lt;br /&gt;
The LCRC always in master branch.&lt;br /&gt;
then we can merge and solve conflict for each commit from the experiment.&lt;br /&gt;
&lt;br /&gt;
After above action, we can go back to the DAQ, and commit the expName.sh, and switch back to master branch or setup a new experiment.&lt;br /&gt;
&lt;br /&gt;
= Process Run online =&lt;br /&gt;
&lt;br /&gt;
== How to process run? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/GEBSort, and&lt;br /&gt;
 GEBSort&amp;gt;make offline&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN [RUNNUM]&lt;br /&gt;
&lt;br /&gt;
The bash script will download run [RUNNUM], merge, event building, GeneralSort (mapping), and Monitors.C &lt;br /&gt;
&lt;br /&gt;
to see more options, ./process_run without any argument&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN&lt;br /&gt;
 Process_RUN [RunNum] [Merge] [EventBuild] [GeneralSort] [Monitor]&amp;quot;&lt;br /&gt;
      RunNum = run number / \&amp;quot;lastRun\&amp;quot; &amp;quot;&lt;br /&gt;
       Merge =   1/0/-1      || 1 = merge, 0 = not merge, -1 = force merge &amp;quot;  &lt;br /&gt;
    EventBld = 2/1/0/-1/-2   || 2 = with Trace&amp;quot;  &lt;br /&gt;
  GenralSort = n/1/0/-1/-n   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&amp;quot;&lt;br /&gt;
    Monitors = 2/1/0         || 1 = single run,  2 = using the list in ChainMonitors.C&amp;quot;&lt;br /&gt;
                               10 = single run and post to websrv, 20 = list runs and post to websrv&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
        **** When feeding trace data to Monitors, the EventBld flag must be 2 or -2.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The working flow of process_run (without Monitor) is&lt;br /&gt;
&lt;br /&gt;
[[File:Process run.png|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
For data calibration, see [[GUI,_Scripts_And_Analysis_Code#Standard_data_analysis_flow|standard data analysis flow]]&lt;br /&gt;
&lt;br /&gt;
== How to process multiple runs at once ? ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 $./process_MultiRuns [RunNum1] [RunNum2] [Merge] [EventBuild] [GeneralSort]&lt;br /&gt;
     RunNum1 = start run number&lt;br /&gt;
     RunNum2 = stop run number&lt;br /&gt;
       Merge =   1/0*     &lt;br /&gt;
    EventBld = 2/1/0*   || 2 = with Trace&lt;br /&gt;
  GenralSort = n/1/0*   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&lt;br /&gt;
         * negative option = force&lt;br /&gt;
&lt;br /&gt;
== How to process multiple runs as a slurm job? == &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A slurm job is a job in LCRC. The script will generate the slurm.sh and submit the job to 1 node.&lt;br /&gt;
&lt;br /&gt;
If only merge and build event, only 1 core will be used.&lt;br /&gt;
If with GeneralSort, 36 cores will be used.&lt;br /&gt;
&lt;br /&gt;
 $./process_Slurm [RunNum1] [RunNum2] [time] [Merge] [EventBuild] [GeneralSort]&lt;br /&gt;
     RunNum1 = start run number&lt;br /&gt;
     RunNum2 = stop run number&lt;br /&gt;
        time = allocate time&lt;br /&gt;
       Merge =   1/0*     &lt;br /&gt;
    EventBld = 2/1/0*   || 2 = with Trace&lt;br /&gt;
  GenralSort = n/1/0*   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&lt;br /&gt;
         * negative option = force&lt;br /&gt;
&lt;br /&gt;
== How to manually run the Monitors.C for a given run? ==&lt;br /&gt;
&lt;br /&gt;
make sure gen_runXXX.root is generated in digios/analysis/root_data. &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root ../root_data/gen_runXXX.root&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;gen_tree-&amp;gt;Process(&amp;quot;Monitors.C+&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
== How to &amp;quot;Monitor&amp;quot; multiple runs ? ==&lt;br /&gt;
&lt;br /&gt;
edit &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can see it use the TChain class. &lt;br /&gt;
&lt;br /&gt;
to add files, for example, add the run 33 to 40, 42, 45, and 50, and I assume the run 33 to 40, 42, and 45 are already downloaded&lt;br /&gt;
&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run03[3-9].root&amp;quot;);&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run04[0,2,5].root&amp;quot;);&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run050.root&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
Then, in process_run&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./process_run 50 1 1 1 2&lt;br /&gt;
&lt;br /&gt;
Notice that it will download, merge, build event, and GeneralSort (mapping) for run 50 ONLY.&lt;br /&gt;
&lt;br /&gt;
= How to change the array position ? =&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Donwload all runs into the Mac ? == &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Rsyn_data_from_DAQ.sh&lt;br /&gt;
&lt;br /&gt;
== How to change or add a recoil Cuts ? ==&lt;br /&gt;
&lt;br /&gt;
see [[#How to use RDTCutsCreator ?]]&lt;br /&gt;
&lt;br /&gt;
== How to use RDTCutsCreator ? ==&lt;br /&gt;
&lt;br /&gt;
After ./process_run, the ../Armory/RDTCutsCreator.C will be loaded. &lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator( [filename], [save file name], [E range], [dE range] )&lt;br /&gt;
&lt;br /&gt;
The default [save file name] is &amp;quot;rdtCuts.root&amp;quot;. If you like to use other [save file name], please correct the TString rdtCutFile in Monitors.C&lt;br /&gt;
&lt;br /&gt;
if something go wrong during the RDTCutsCreator, simply delete the &amp;quot;rdtCuts.root&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
There is a way to include multiple files for the RDTCutsCreator&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&amp;quot;../root_data/gen_run02[3-7].root&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&amp;quot;../root_data/gen_run02[3,5,7,9].root&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
To include more files, we can edit ../Armory/RDTCutsCreator.C&lt;br /&gt;
&lt;br /&gt;
inside the file, manual add the files. To run that script.&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt; root&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;.L ../Armory/RDTCutsCreator.C&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutCreator(&amp;quot;&amp;quot;, [save file name], [E range], [dE range] )&lt;br /&gt;
&lt;br /&gt;
= How is the Calibration flow ? =&lt;br /&gt;
[[File:DataAnalysis.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
The calibration has few steps:&lt;br /&gt;
# Gain-matching with xn to xf&lt;br /&gt;
# Gain-matching with xn&#039;+xf to e&lt;br /&gt;
# Calibrate e&lt;br /&gt;
&lt;br /&gt;
To do step 1, It is better start with alpha data, because the alpha data is independent of position. By gating on 1 of the alpha peak, then plot the xf vs xn, the gain matching of xn to xf can be easily done. And because we need to gate on the alpha peak, then why not do a calibration on the energy using alpha data? So, in the Cali_xf_xn.C, the program will first calibrate alpha energy, then gate on 1 of the alpha peak to do gain match xn to xf.&lt;br /&gt;
&lt;br /&gt;
To do step 2, we need a gain-matched xn, i.e. xn&#039;, so that xn&#039;+xf should be proportional to the raw e. &lt;br /&gt;
&lt;br /&gt;
In order to calibrate the energy, sometimes, alpha calibration is doing a good job, given that the alpha source is a good source. However, we can also calibrate the energy using kinematic E-Z lines. See [[&amp;quot;How_to&amp;quot;_for_analysis_code#How to Calibrate reaction data by kinematics ?| How to Calibrate reaction data by kinematics ?]]&lt;br /&gt;
&lt;br /&gt;
== How to Calibrate alpha data ? ==&lt;br /&gt;
&lt;br /&gt;
If statistics for single detector is sufficient, i.e. all peak is clearly identified.&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 0&lt;br /&gt;
&lt;br /&gt;
It will guide you through the process. &lt;br /&gt;
&lt;br /&gt;
-----------------------------&lt;br /&gt;
&lt;br /&gt;
If statistics is not so good, we can use the ../Armory/Cali_e_single.C&lt;br /&gt;
&lt;br /&gt;
== How to Gain matching of xn to xf ? == &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 0&lt;br /&gt;
&lt;br /&gt;
First, it will go through energy calibration, it does not need to be good.&lt;br /&gt;
 &lt;br /&gt;
Next, select any peak, so that the program will gate on that peak and plot xf vs xn. From there, the xn will gain match xf.&lt;br /&gt;
&lt;br /&gt;
== How to gain match the xn+xf to raw e ? ==&lt;br /&gt;
&lt;br /&gt;
To properly do so, you have to gain-matched xn to xf. Then&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 1&lt;br /&gt;
&lt;br /&gt;
This has to be NOT alpha run, just any beam run. It will plot the raw e vs xf + xn&#039;.&lt;br /&gt;
&lt;br /&gt;
== How to Calibrate reaction data by kinematics ? ==&lt;br /&gt;
&lt;br /&gt;
( I know It needs more detail )&lt;br /&gt;
&lt;br /&gt;
ONLY for sufficient statistic for individual detector. &lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationtrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 2&lt;br /&gt;
&lt;br /&gt;
it will guide you through. &lt;br /&gt;
&lt;br /&gt;
---------------&lt;br /&gt;
In order to speed up the process, it will create a temp.root. a root file only contain e and z. &lt;br /&gt;
&lt;br /&gt;
User can use ../Armory/Check_e_x.root and create a cut to be used in the Monte-Carlo process.&lt;br /&gt;
&lt;br /&gt;
== How to output a root file only contain physical data ? ==&lt;br /&gt;
&lt;br /&gt;
after the calibration is done, we can edit &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and run &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
Select option 3 to generate the A_gen_runXXX.root&lt;br /&gt;
&lt;br /&gt;
[[File:Option3.png|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Kinematic and DWBA Calculation =&lt;br /&gt;
&lt;br /&gt;
The simplest way is using the Simulation_Helper.C. This is a GUI interface.&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root Simulation_Helper.C&lt;br /&gt;
&lt;br /&gt;
[[File:Simulation Helper screenshot.png|800px|frameless|none]]&lt;br /&gt;
&lt;br /&gt;
== How to change the calculation for Ex and thetaCM ? ==&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt&amp;lt;/span&amp;gt;, than recalculate the reaction.dat by running ../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
== How to change the kinematic E-Z line? ==&lt;br /&gt;
&lt;br /&gt;
see [[#How to simulate the kinematics?]]&lt;br /&gt;
&lt;br /&gt;
The E-Z lines are stored in fxList in transfer.root&lt;br /&gt;
&lt;br /&gt;
In Monitors.C, at the end or Monitors::Terminate(). &lt;br /&gt;
&lt;br /&gt;
you can see the fxList.&lt;br /&gt;
&lt;br /&gt;
== How to simulate the kinematics? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/Cleopatra, and &lt;br /&gt;
 Cleopatra&amp;gt;make&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
edit &lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;Ex.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run&lt;br /&gt;
  working&amp;gt;../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
after that, 2 files will be generated, 1) reaction.dat, 2) transfer.root&lt;br /&gt;
&lt;br /&gt;
a tree is inside transfer.root. &lt;br /&gt;
&lt;br /&gt;
you can see the tree branches by&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt; tree-&amp;gt;Print()&lt;br /&gt;
&lt;br /&gt;
I hope the branch name is self-explained. &lt;br /&gt;
&lt;br /&gt;
In Armory, there is a root macro Check_Transfer.C&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root &#039;../Armory/Check_Transfer.C(&amp;quot;transfer.root&amp;quot;)&#039;&lt;br /&gt;
&lt;br /&gt;
The macro load the transfer.root and plot the e-z plot, the recoil, recoil radius vs thetaCM etc...&lt;br /&gt;
&lt;br /&gt;
== How to do DWBA calculation ? == &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/Cleopatra, and &lt;br /&gt;
 Cleopatra&amp;gt;make &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; ONLY IN LINUX, because Ptolemy only work in Linux.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;DWBA&amp;lt;/span&amp;gt;, then&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra example 1 1 1 1 0 [minAng] [maxAng] [angStep]&lt;br /&gt;
&lt;br /&gt;
This will generate the example.in, feed to Ptolemy, output example.out, extract the differential cross section into&lt;br /&gt;
&lt;br /&gt;
* example.Xsec.txt&lt;br /&gt;
* example.root&lt;br /&gt;
&lt;br /&gt;
And plot the d.s.c. using example.root&lt;br /&gt;
&lt;br /&gt;
It will also generate example.Ex.txt&lt;br /&gt;
&lt;br /&gt;
For arguments meaning, use Cleopatra without any argument &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra&lt;br /&gt;
&lt;br /&gt;
== How to do kinematics simulation with DWBA differential cross section ? == &lt;br /&gt;
&lt;br /&gt;
see [[#How to do DWBA calculation ?]] first. &lt;br /&gt;
&lt;br /&gt;
edit&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;example &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure the reaction in the &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt; is matching with that in example&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra example 1 1 1 0 1  0 180 1&lt;br /&gt;
&lt;br /&gt;
The excitation levels is using example.Ex.txt.&lt;br /&gt;
&lt;br /&gt;
The bash script will calculate the DWBA d.s.c. using Cleopatra, then using ../Cleopatra/Transfer to do the simulation. &lt;br /&gt;
&lt;br /&gt;
see [[#How to simulate the kinematics?]]&lt;br /&gt;
&lt;br /&gt;
= How to do trace analysis ? =&lt;br /&gt;
&lt;br /&gt;
updated Feb-12, 2021&lt;br /&gt;
&lt;br /&gt;
simply&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN [RunNum] 1 -2 [number_of_worker] [Option_for_Monitors]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Updated Nov-6, 2019&lt;br /&gt;
The GEBSort_nogeb_trace was generated, Simple run ./process_run with option is fine&lt;br /&gt;
&lt;br /&gt;
--------------------------------&lt;br /&gt;
First, the GEBSort code has to be recompile by changing the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;digios/GEBSort/bin_rcnp.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in that file, comment out the trace (line ?) &lt;br /&gt;
&lt;br /&gt;
Then, recompile&lt;br /&gt;
&lt;br /&gt;
 GEBSort&amp;gt;make offline&lt;br /&gt;
&lt;br /&gt;
Now the gen_runXXX.root will contains trace data. &lt;br /&gt;
&lt;br /&gt;
go back to working directory&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./process_run [RUNNUM] 1 1 2 1&lt;br /&gt;
&lt;br /&gt;
The 4th argument is 2, that means the GeneralSort (or the mapping ) will use ../Amrory/GeneralSortTrace.C instead of ../Amory/GeneralSort.C&lt;br /&gt;
&lt;br /&gt;
The 4th argument can be also be more than 2, say, when it is N, it means it will use Proof, a parallel computing framework built-in in root that use N cores.&lt;br /&gt;
&lt;br /&gt;
To display the trace, we can use ../Armory/readTrace.C ( this macro is kind of shitty.....)&lt;br /&gt;
&lt;br /&gt;
= How to count a 1D histogram for a given range ? =&lt;br /&gt;
&lt;br /&gt;
After  ./process_run, a function Check1D() is loaded.&lt;br /&gt;
&lt;br /&gt;
= How to fit the excitation spectrum ? =&lt;br /&gt;
&lt;br /&gt;
If the reaction.dat is set properly, after ./process_run, the excite() function will give you the excitation spectrum.&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;excite()&lt;br /&gt;
&lt;br /&gt;
You can use the fitAuto() function to auto fit the spectrum by&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;fitAuto(hEx) &lt;br /&gt;
&lt;br /&gt;
For more option&lt;br /&gt;
&lt;br /&gt;
 fitAuto( [hist name], [BG estimation] )&lt;br /&gt;
&lt;br /&gt;
-------------------------------&lt;br /&gt;
Or you can can fit N-Gauss + 1 linear function. In this case, edit the &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;AutFit_para.txt&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;fitNGaussP1(hEx)&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=%22How_to%22_for_analysis_code&amp;diff=2467</id>
		<title>&quot;How to&quot; for analysis code</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=%22How_to%22_for_analysis_code&amp;diff=2467"/>
		<updated>2022-03-28T06:46:47Z</updated>

		<summary type="html">&lt;p&gt;Ttang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[    updated July 11, 2019]&lt;br /&gt;
[last updated Mar 28, 2022]&lt;br /&gt;
&lt;br /&gt;
Everything should be performed in digios/analysis/working directory, &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;ATTENTION:&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|txt file extension is editable for user.&lt;br /&gt;
|-&lt;br /&gt;
|dat files extension is not supposed to be edited, they are generated.&lt;br /&gt;
|-&lt;br /&gt;
|Editable file name will be highlighted with &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt; color&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Overview =&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot 2022-03-28 023801.png|1200px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= General Usage =&lt;br /&gt;
&lt;br /&gt;
== How to download the source code ? == &lt;br /&gt;
&lt;br /&gt;
make sure you have git in your computer.&lt;br /&gt;
&lt;br /&gt;
in the directory you like to put in the code. for example, I like to put the code in ~/, then &amp;gt;cd ~/&lt;br /&gt;
&lt;br /&gt;
 ~/&amp;gt;git clone https://github.com/calemhoffman/digios.git&lt;br /&gt;
&lt;br /&gt;
you will see a folder name digios is there. &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;cd digios &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
To check your experiment &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git branch -a&lt;br /&gt;
&lt;br /&gt;
for example your experiment is using the branch h064_15N&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
you will see you are in the branch for your experiment. &lt;br /&gt;
&lt;br /&gt;
for analysis, you only need the things inside digios/analysis&lt;br /&gt;
&lt;br /&gt;
Make sure you create folders or symbolic links for data, merged_data, and root_data under digios/analysis.&lt;br /&gt;
&lt;br /&gt;
== How to get option for a method or function ? == &lt;br /&gt;
&lt;br /&gt;
For most of the bash script, if you have no argument or the argument is &amp;quot;-help&amp;quot; it will display help message&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_run&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;../Cleopatra/Transfer -help&lt;br /&gt;
&lt;br /&gt;
For most root macro, for example, RDTCutsCreator(), &lt;br /&gt;
after typed the first bracket, use tab, it will display the arguments.&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&lt;br /&gt;
&lt;br /&gt;
then press tab. it will show&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(TString filename, TString saveFileName = &amp;quot;rdtCuts.root&amp;quot;, int eRange = 4000, int eRange = 60000 )&lt;br /&gt;
&lt;br /&gt;
== How to take a screenshot in MAC ? == &lt;br /&gt;
&lt;br /&gt;
Command + Shift + 4 = screenshot selected area&lt;br /&gt;
&lt;br /&gt;
Command + Shift + 4, then space_bar = screenshot selected window&lt;br /&gt;
&lt;br /&gt;
== How to check the start time and stop time for a run? == &lt;br /&gt;
&lt;br /&gt;
in digios/analysis/data, there is RunTimeStamp.dat. &lt;br /&gt;
this file stored all start and stop time for all runs. &lt;br /&gt;
&lt;br /&gt;
in MAC or DAQ, &lt;br /&gt;
&lt;br /&gt;
 anywhere&amp;gt;ShowRunTimeStamp&lt;br /&gt;
&lt;br /&gt;
== How to check the raw files for a run? == &lt;br /&gt;
&lt;br /&gt;
in MAC or DAQ&lt;br /&gt;
&lt;br /&gt;
 anywhere&amp;gt;ShowRunSize [RUNNUM]&lt;br /&gt;
&lt;br /&gt;
= Git Branch Management =&lt;br /&gt;
&lt;br /&gt;
== How to Setup/Switch for a new experiment? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Advance user / user familiar with git only&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Has to be done in the DAQ first&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Has to be done in the MAC after&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
given that the digios directory is clean, meaning &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status &lt;br /&gt;
&lt;br /&gt;
show no file is modified. &lt;br /&gt;
&lt;br /&gt;
If you are not in the master branch&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;./SetUpNewExp master&lt;br /&gt;
&lt;br /&gt;
Then you are ready to setup a new experimental branch by&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;./SetUpNewExp [new experiment name]&lt;br /&gt;
&lt;br /&gt;
The bash script with do all the work. &lt;br /&gt;
&lt;br /&gt;
After that, do the same in the MAC.&lt;br /&gt;
&lt;br /&gt;
----------&lt;br /&gt;
&lt;br /&gt;
When the folder is not clean. i.e., not everything git committed. The SetUpNewExp will stop and not switch branches or make a new experiment. &lt;br /&gt;
&lt;br /&gt;
In that case, the simplest way is &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git add -A                          # add all changes to stage&lt;br /&gt;
 digios&amp;gt;git commit -m &amp;quot;comment you like&amp;quot;    # commit the change and make the folder clean&lt;br /&gt;
&lt;br /&gt;
Or, you want to discard all change&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git reset --hard&lt;br /&gt;
&lt;br /&gt;
== How to clean up the working directory and prepare for a new experiment? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Advance user / user familiar with git only&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Need to be done in both MAC and DAQ&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; !!! READ till the end before you do anything!!!!&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
After each experiment, the files in digios directory would be changed. &lt;br /&gt;
&lt;br /&gt;
To check the change,&lt;br /&gt;
&lt;br /&gt;
 DAQ&amp;gt;cd ~/digios&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
To snapshot the change&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git add -A&lt;br /&gt;
 digios&amp;gt;git commit -m &amp;quot;comment for this snapshot&amp;quot;&lt;br /&gt;
&lt;br /&gt;
It is better to push the snapshot to the github&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git push origin [branch name]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Also need to git the DAQ!&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; The files in the DAQ and the MAC could be both changed. Mostly, the change in the DAQ is in digios/daq. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; That means the DAQ and MAC has to be merged.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;We use a merge driver that the expName.sh will not be merged. The detail can be found in .gitattribute and git documentation. &amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is better to start with the DAQ.&lt;br /&gt;
# commit and push the daq/edm/scripts folder&lt;br /&gt;
# commit and push the daq/edm/screens (if anything changed)&lt;br /&gt;
&lt;br /&gt;
and then, go to the Mac,&lt;br /&gt;
# fetch and merge, since the DAQ pushed latest commit&lt;br /&gt;
# commit and push the analysis/Armory/&lt;br /&gt;
# commit and push the analysis/Cleopatra&lt;br /&gt;
# commit and push the analysis/working&lt;br /&gt;
&lt;br /&gt;
Now, we can go to LCRC ( /lcrc/project/HELIOS/digios )&lt;br /&gt;
The LCRC always in master branch.&lt;br /&gt;
then we can merge and solve conflict for each commit from the experiment.&lt;br /&gt;
&lt;br /&gt;
After above action, we can go back to the DAQ, and commit the expName.sh, and switch back to master branch or setup a new experiment.&lt;br /&gt;
&lt;br /&gt;
= Process Run online =&lt;br /&gt;
&lt;br /&gt;
== How to process run? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/GEBSort, and&lt;br /&gt;
 GEBSort&amp;gt;make offline&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN [RUNNUM]&lt;br /&gt;
&lt;br /&gt;
The bash script will download run [RUNNUM], merge, event building, GeneralSort (mapping), and Monitors.C &lt;br /&gt;
&lt;br /&gt;
to see more options, ./process_run without any argument&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN&lt;br /&gt;
 Process_RUN [RunNum] [Merge] [EventBuild] [GeneralSort] [Monitor]&amp;quot;&lt;br /&gt;
      RunNum = run number / \&amp;quot;lastRun\&amp;quot; &amp;quot;&lt;br /&gt;
       Merge =   1/0/-1      || 1 = merge, 0 = not merge, -1 = force merge &amp;quot;  &lt;br /&gt;
    EventBld = 2/1/0/-1/-2   || 2 = with Trace&amp;quot;  &lt;br /&gt;
  GenralSort = n/1/0/-1/-n   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&amp;quot;&lt;br /&gt;
    Monitors = 2/1/0         || 1 = single run,  2 = using the list in ChainMonitors.C&amp;quot;&lt;br /&gt;
                               10 = single run and post to websrv, 20 = list runs and post to websrv&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
        **** When feeding trace data to Monitors, the EventBld flag must be 2 or -2.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The working flow of process_run (without Monitor) is&lt;br /&gt;
&lt;br /&gt;
[[File:Process run.png|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
For data calibration, see [[GUI,_Scripts_And_Analysis_Code#Standard_data_analysis_flow|standard data analysis flow]]&lt;br /&gt;
&lt;br /&gt;
== How to process multiple runs at once ? ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 $./process_MultiRuns [RunNum1] [RunNum2] [Merge] [EventBuild] [GeneralSort]&lt;br /&gt;
     RunNum1 = start run number&lt;br /&gt;
     RunNum2 = stop run number&lt;br /&gt;
       Merge =   1/0*     &lt;br /&gt;
    EventBld = 2/1/0*   || 2 = with Trace&lt;br /&gt;
  GenralSort = n/1/0*   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&lt;br /&gt;
         * negative option = force&lt;br /&gt;
&lt;br /&gt;
== How to process multiple runs as a slurm job? == &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A slurm job is a job in LCRC. The script will generate the slurm.sh and submit the job to 1 node.&lt;br /&gt;
&lt;br /&gt;
If only merge and build event, only 1 core will be used.&lt;br /&gt;
If with GeneralSort, 36 cores will be used.&lt;br /&gt;
&lt;br /&gt;
 $./process_Slurm [RunNum1] [RunNum2] [time] [Merge] [EventBuild] [GeneralSort]&lt;br /&gt;
     RunNum1 = start run number&lt;br /&gt;
     RunNum2 = stop run number&lt;br /&gt;
        time = allocate time&lt;br /&gt;
       Merge =   1/0*     &lt;br /&gt;
    EventBld = 2/1/0*   || 2 = with Trace&lt;br /&gt;
  GenralSort = n/1/0*   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&lt;br /&gt;
         * negative option = force&lt;br /&gt;
&lt;br /&gt;
== How to manually run the Monitors.C for a given run? ==&lt;br /&gt;
&lt;br /&gt;
make sure gen_runXXX.root is generated in digios/analysis/root_data. &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root ../root_data/gen_runXXX.root&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;gen_tree-&amp;gt;Process(&amp;quot;Monitors.C+&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
== How to &amp;quot;Monitor&amp;quot; multiple runs ? ==&lt;br /&gt;
&lt;br /&gt;
edit &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can see it use the TChain class. &lt;br /&gt;
&lt;br /&gt;
to add files, for example, add the run 33 to 40, 42, 45, and 50, and I assume the run 33 to 40, 42, and 45 are already downloaded&lt;br /&gt;
&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run03[3-9].root&amp;quot;);&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run04[0,2,5].root&amp;quot;);&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run050.root&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
Then, in process_run&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./process_run 50 1 1 1 2&lt;br /&gt;
&lt;br /&gt;
Notice that it will download, merge, build event, and GeneralSort (mapping) for run 50 ONLY.&lt;br /&gt;
&lt;br /&gt;
= How to change the array position ? =&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Donwload all runs into the Mac ? == &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Rsyn_data_from_DAQ.sh&lt;br /&gt;
&lt;br /&gt;
== How to change or add a recoil Cuts ? ==&lt;br /&gt;
&lt;br /&gt;
see [[#How to use RDTCutsCreator ?]]&lt;br /&gt;
&lt;br /&gt;
== How to use RDTCutsCreator ? ==&lt;br /&gt;
&lt;br /&gt;
After ./process_run, the ../Armory/RDTCutsCreator.C will be loaded. &lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator( [filename], [save file name], [E range], [dE range] )&lt;br /&gt;
&lt;br /&gt;
The default [save file name] is &amp;quot;rdtCuts.root&amp;quot;. If you like to use other [save file name], please correct the TString rdtCutFile in Monitors.C&lt;br /&gt;
&lt;br /&gt;
if something go wrong during the RDTCutsCreator, simply delete the &amp;quot;rdtCuts.root&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
There is a way to include multiple files for the RDTCutsCreator&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&amp;quot;../root_data/gen_run02[3-7].root&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&amp;quot;../root_data/gen_run02[3,5,7,9].root&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
To include more files, we can edit ../Armory/RDTCutsCreator.C&lt;br /&gt;
&lt;br /&gt;
inside the file, manual add the files. To run that script.&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt; root&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;.L ../Armory/RDTCutsCreator.C&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutCreator(&amp;quot;&amp;quot;, [save file name], [E range], [dE range] )&lt;br /&gt;
&lt;br /&gt;
= How is the Calibration flow ? =&lt;br /&gt;
[[File:DataAnalysis.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
The calibration has few steps:&lt;br /&gt;
# Gain-matching with xn to xf&lt;br /&gt;
# Gain-matching with xn&#039;+xf to e&lt;br /&gt;
# Calibrate e&lt;br /&gt;
&lt;br /&gt;
To do step 1, It is better start with alpha data, because the alpha data is independent of position. By gating on 1 of the alpha peak, then plot the xf vs xn, the gain matching of xn to xf can be easily done. And because we need to gate on the alpha peak, then why not do a calibration on the energy using alpha data? So, in the Cali_xf_xn.C, the program will first calibrate alpha energy, then gate on 1 of the alpha peak to do gain match xn to xf.&lt;br /&gt;
&lt;br /&gt;
To do step 2, we need a gain-matched xn, i.e. xn&#039;, so that xn&#039;+xf should be proportional to the raw e. &lt;br /&gt;
&lt;br /&gt;
In order to calibrate the energy, sometimes, alpha calibration is doing a good job, given that the alpha source is a good source. However, we can also calibrate the energy using kinematic E-Z lines. See [[&amp;quot;How_to&amp;quot;_for_analysis_code#How to Calibrate reaction data by kinematics ?| How to Calibrate reaction data by kinematics ?]]&lt;br /&gt;
&lt;br /&gt;
== How to Calibrate alpha data ? ==&lt;br /&gt;
&lt;br /&gt;
If statistics for single detector is sufficient, i.e. all peak is clearly identified.&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 0&lt;br /&gt;
&lt;br /&gt;
It will guide you through the process. &lt;br /&gt;
&lt;br /&gt;
-----------------------------&lt;br /&gt;
&lt;br /&gt;
If statistics is not so good, we can use the ../Armory/Cali_e_single.C&lt;br /&gt;
&lt;br /&gt;
== How to Gain matching of xn to xf ? == &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 0&lt;br /&gt;
&lt;br /&gt;
First, it will go through energy calibration, it does not need to be good.&lt;br /&gt;
 &lt;br /&gt;
Next, select any peak, so that the program will gate on that peak and plot xf vs xn. From there, the xn will gain match xf.&lt;br /&gt;
&lt;br /&gt;
== How to gain match the xn+xf to raw e ? ==&lt;br /&gt;
&lt;br /&gt;
To properly do so, you have to gain-matched xn to xf. Then&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 1&lt;br /&gt;
&lt;br /&gt;
This has to be NOT alpha run, just any beam run. It will plot the raw e vs xf + xn&#039;.&lt;br /&gt;
&lt;br /&gt;
== How to Calibrate reaction data by kinematics ? ==&lt;br /&gt;
&lt;br /&gt;
( I know It needs more detail )&lt;br /&gt;
&lt;br /&gt;
ONLY for sufficient statistic for individual detector. &lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationtrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 2&lt;br /&gt;
&lt;br /&gt;
it will guide you through. &lt;br /&gt;
&lt;br /&gt;
---------------&lt;br /&gt;
In order to speed up the process, it will create a temp.root. a root file only contain e and z. &lt;br /&gt;
&lt;br /&gt;
User can use ../Armory/Check_e_x.root and create a cut to be used in the Monte-Carlo process.&lt;br /&gt;
&lt;br /&gt;
== How to output a root file only contain physical data ? ==&lt;br /&gt;
&lt;br /&gt;
after the calibration is done, we can edit &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and run &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
Select option 3 to generate the A_gen_runXXX.root&lt;br /&gt;
&lt;br /&gt;
[[File:Option3.png|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Kinematic and DWBA Calculation =&lt;br /&gt;
&lt;br /&gt;
The simplest way is using the Simulation_Helper.C. This is a GUI interface.&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root Simulation_Helper.C&lt;br /&gt;
&lt;br /&gt;
[[File:Simulation Helper screenshot.png|800px|frameless|none]]&lt;br /&gt;
&lt;br /&gt;
== How to change the calculation for Ex and thetaCM ? ==&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt&amp;lt;/span&amp;gt;, than recalculate the reaction.dat by running ../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
== How to change the kinematic E-Z line? ==&lt;br /&gt;
&lt;br /&gt;
see [[#How to simulate the kinematics?]]&lt;br /&gt;
&lt;br /&gt;
The E-Z lines are stored in fxList in transfer.root&lt;br /&gt;
&lt;br /&gt;
In Monitors.C, at the end or Monitors::Terminate(). &lt;br /&gt;
&lt;br /&gt;
you can see the fxList.&lt;br /&gt;
&lt;br /&gt;
== How to simulate the kinematics? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/Cleopatra, and &lt;br /&gt;
 Cleopatra&amp;gt;make&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
edit &lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;Ex.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run&lt;br /&gt;
  working&amp;gt;../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
after that, 2 files will be generated, 1) reaction.dat, 2) transfer.root&lt;br /&gt;
&lt;br /&gt;
a tree is inside transfer.root. &lt;br /&gt;
&lt;br /&gt;
you can see the tree branches by&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt; tree-&amp;gt;Print()&lt;br /&gt;
&lt;br /&gt;
I hope the branch name is self-explained. &lt;br /&gt;
&lt;br /&gt;
In Armory, there is a root macro Check_Transfer.C&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root &#039;../Armory/Check_Transfer.C(&amp;quot;transfer.root&amp;quot;)&#039;&lt;br /&gt;
&lt;br /&gt;
The macro load the transfer.root and plot the e-z plot, the recoil, recoil radius vs thetaCM etc...&lt;br /&gt;
&lt;br /&gt;
== How to do DWBA calculation ? == &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/Cleopatra, and &lt;br /&gt;
 Cleopatra&amp;gt;make &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; ONLY IN LINUX, because Ptolemy only work in Linux.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;DWBA&amp;lt;/span&amp;gt;, then&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra example 1 1 1 1 0 [minAng] [maxAng] [angStep]&lt;br /&gt;
&lt;br /&gt;
This will generate the example.in, feed to Ptolemy, output example.out, extract the differential cross section into&lt;br /&gt;
&lt;br /&gt;
* example.Xsec.txt&lt;br /&gt;
* example.root&lt;br /&gt;
&lt;br /&gt;
And plot the d.s.c. using example.root&lt;br /&gt;
&lt;br /&gt;
It will also generate example.Ex.txt&lt;br /&gt;
&lt;br /&gt;
For arguments meaning, use Cleopatra without any argument &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra&lt;br /&gt;
&lt;br /&gt;
== How to do kinematics simulation with DWBA differential cross section ? == &lt;br /&gt;
&lt;br /&gt;
see [[#How to do DWBA calculation ?]] first. &lt;br /&gt;
&lt;br /&gt;
edit&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;example &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure the reaction in the &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt; is matching with that in example&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra example 1 1 1 0 1  0 180 1&lt;br /&gt;
&lt;br /&gt;
The excitation levels is using example.Ex.txt.&lt;br /&gt;
&lt;br /&gt;
The bash script will calculate the DWBA d.s.c. using Cleopatra, then using ../Cleopatra/Transfer to do the simulation. &lt;br /&gt;
&lt;br /&gt;
see [[#How to simulate the kinematics?]]&lt;br /&gt;
&lt;br /&gt;
= How to do trace analysis ? =&lt;br /&gt;
&lt;br /&gt;
updated Feb-12, 2021&lt;br /&gt;
&lt;br /&gt;
simply&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN [RunNum] 1 -2 [number_of_worker] [Option_for_Monitors]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Updated Nov-6, 2019&lt;br /&gt;
The GEBSort_nogeb_trace was generated, Simple run ./process_run with option is fine&lt;br /&gt;
&lt;br /&gt;
--------------------------------&lt;br /&gt;
First, the GEBSort code has to be recompile by changing the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;digios/GEBSort/bin_rcnp.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in that file, comment out the trace (line ?) &lt;br /&gt;
&lt;br /&gt;
Then, recompile&lt;br /&gt;
&lt;br /&gt;
 GEBSort&amp;gt;make offline&lt;br /&gt;
&lt;br /&gt;
Now the gen_runXXX.root will contains trace data. &lt;br /&gt;
&lt;br /&gt;
go back to working directory&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./process_run [RUNNUM] 1 1 2 1&lt;br /&gt;
&lt;br /&gt;
The 4th argument is 2, that means the GeneralSort (or the mapping ) will use ../Amrory/GeneralSortTrace.C instead of ../Amory/GeneralSort.C&lt;br /&gt;
&lt;br /&gt;
The 4th argument can be also be more than 2, say, when it is N, it means it will use Proof, a parallel computing framework built-in in root that use N cores.&lt;br /&gt;
&lt;br /&gt;
To display the trace, we can use ../Armory/readTrace.C ( this macro is kind of shitty.....)&lt;br /&gt;
&lt;br /&gt;
= How to count a 1D histogram for a given range ? =&lt;br /&gt;
&lt;br /&gt;
After  ./process_run, a function Check1D() is loaded.&lt;br /&gt;
&lt;br /&gt;
= How to fit the excitation spectrum ? =&lt;br /&gt;
&lt;br /&gt;
If the reaction.dat is set properly, after ./process_run, the excite() function will give you the excitation spectrum.&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;excite()&lt;br /&gt;
&lt;br /&gt;
You can use the fitAuto() function to auto fit the spectrum by&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;fitAuto(hEx) &lt;br /&gt;
&lt;br /&gt;
For more option&lt;br /&gt;
&lt;br /&gt;
 fitAuto( [hist name], [BG estimation] )&lt;br /&gt;
&lt;br /&gt;
-------------------------------&lt;br /&gt;
Or you can can fit N-Gauss + 1 linear function. In this case, edit the &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;AutFit_para.txt&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;fitNGaussP1(hEx)&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=%22How_to%22_for_analysis_code&amp;diff=2466</id>
		<title>&quot;How to&quot; for analysis code</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=%22How_to%22_for_analysis_code&amp;diff=2466"/>
		<updated>2022-03-28T06:39:18Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[last updated July 11, 2019]&lt;br /&gt;
&lt;br /&gt;
Everything should be performed in digios/analysis/working directory, &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;ATTENTION:&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|txt file extension is editable for user.&lt;br /&gt;
|-&lt;br /&gt;
|dat files extension is not supposed to be edited, they are generated.&lt;br /&gt;
|-&lt;br /&gt;
|Editable file name will be highlighted with &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt; color&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Overview =&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot 2022-03-28 023801.png|1200px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= General Usage =&lt;br /&gt;
&lt;br /&gt;
== How to download the source code ? == &lt;br /&gt;
&lt;br /&gt;
make sure you have git in your computer.&lt;br /&gt;
&lt;br /&gt;
in the directory you like to put in the code. for example, I like to put the code in ~/, then &amp;gt;cd ~/&lt;br /&gt;
&lt;br /&gt;
 ~/&amp;gt;git clone https://github.com/calemhoffman/digios.git&lt;br /&gt;
&lt;br /&gt;
you will see a folder name digios is there. &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;cd digios &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
To check your experiment &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git branch -a&lt;br /&gt;
&lt;br /&gt;
for example your experiment is using the branch h064_15N&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
you will see you are in the branch for your experiment. &lt;br /&gt;
&lt;br /&gt;
for analysis, you only need the things inside digios/analysis&lt;br /&gt;
&lt;br /&gt;
Make sure you create folders or symbolic links for data, merged_data, and root_data under digios/analysis.&lt;br /&gt;
&lt;br /&gt;
== How to get option for a method or function ? == &lt;br /&gt;
&lt;br /&gt;
For most of the bash script, if you have no argument or the argument is &amp;quot;-help&amp;quot; it will display help message&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_run&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;../Cleopatra/Transfer -help&lt;br /&gt;
&lt;br /&gt;
For most root macro, for example, RDTCutsCreator(), &lt;br /&gt;
after typed the first bracket, use tab, it will display the arguments.&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&lt;br /&gt;
&lt;br /&gt;
then press tab. it will show&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(TString filename, TString saveFileName = &amp;quot;rdtCuts.root&amp;quot;, int eRange = 4000, int eRange = 60000 )&lt;br /&gt;
&lt;br /&gt;
== How to take a screenshot in MAC ? == &lt;br /&gt;
&lt;br /&gt;
Command + Shift + 4 = screenshot selected area&lt;br /&gt;
&lt;br /&gt;
Command + Shift + 4, then space_bar = screenshot selected window&lt;br /&gt;
&lt;br /&gt;
== How to check the start time and stop time for a run? == &lt;br /&gt;
&lt;br /&gt;
in digios/analysis/data, there is RunTimeStamp.dat. &lt;br /&gt;
this file stored all start and stop time for all runs. &lt;br /&gt;
&lt;br /&gt;
in MAC or DAQ, &lt;br /&gt;
&lt;br /&gt;
 anywhere&amp;gt;ShowRunTimeStamp&lt;br /&gt;
&lt;br /&gt;
== How to check the raw files for a run? == &lt;br /&gt;
&lt;br /&gt;
in MAC or DAQ&lt;br /&gt;
&lt;br /&gt;
 anywhere&amp;gt;ShowRunSize [RUNNUM]&lt;br /&gt;
&lt;br /&gt;
= Git Branch Management =&lt;br /&gt;
&lt;br /&gt;
== How to Setup/Switch for a new experiment? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Advance user / user familiar with git only&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Has to be done in the DAQ first&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Has to be done in the MAC after&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
given that the digios directory is clean, meaning &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status &lt;br /&gt;
&lt;br /&gt;
show no file is modified. &lt;br /&gt;
&lt;br /&gt;
If you are not in the master branch&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;./SetUpNewExp master&lt;br /&gt;
&lt;br /&gt;
Then you are ready to setup a new experimental branch by&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;./SetUpNewExp [new experiment name]&lt;br /&gt;
&lt;br /&gt;
The bash script with do all the work. &lt;br /&gt;
&lt;br /&gt;
After that, do the same in the MAC.&lt;br /&gt;
&lt;br /&gt;
----------&lt;br /&gt;
&lt;br /&gt;
When the folder is not clean. i.e., not everything git committed. The SetUpNewExp will stop and not switch branches or make a new experiment. &lt;br /&gt;
&lt;br /&gt;
In that case, the simplest way is &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git add -A                          # add all changes to stage&lt;br /&gt;
 digios&amp;gt;git commit -m &amp;quot;comment you like&amp;quot;    # commit the change and make the folder clean&lt;br /&gt;
&lt;br /&gt;
Or, you want to discard all change&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git reset --hard&lt;br /&gt;
&lt;br /&gt;
== How to clean up the working directory and prepare for a new experiment? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Advance user / user familiar with git only&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Need to be done in both MAC and DAQ&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; !!! READ till the end before you do anything!!!!&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
After each experiment, the files in digios directory would be changed. &lt;br /&gt;
&lt;br /&gt;
To check the change,&lt;br /&gt;
&lt;br /&gt;
 DAQ&amp;gt;cd ~/digios&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
To snapshot the change&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git add -A&lt;br /&gt;
 digios&amp;gt;git commit -m &amp;quot;comment for this snapshot&amp;quot;&lt;br /&gt;
&lt;br /&gt;
It is better to push the snapshot to the github&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git push origin [branch name]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Also need to git the DAQ!&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; The files in the DAQ and the MAC could be both changed. Mostly, the change in the DAQ is in digios/daq. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; That means the DAQ and MAC has to be merged.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;We use a merge driver that the expName.sh will not be merged. The detail can be found in .gitattribute and git documentation. &amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is better to start with the DAQ.&lt;br /&gt;
# commit and push the daq/edm/scripts folder&lt;br /&gt;
# commit and push the daq/edm/screens (if anything changed)&lt;br /&gt;
&lt;br /&gt;
and then, go to the Mac,&lt;br /&gt;
# fetch and merge, since the DAQ pushed latest commit&lt;br /&gt;
# commit and push the analysis/Armory/&lt;br /&gt;
# commit and push the analysis/Cleopatra&lt;br /&gt;
# commit and push the analysis/working&lt;br /&gt;
&lt;br /&gt;
Now, we can go to LCRC ( /lcrc/project/HELIOS/digios )&lt;br /&gt;
The LCRC always in master branch.&lt;br /&gt;
then we can merge and solve conflict for each commit from the experiment.&lt;br /&gt;
&lt;br /&gt;
After above action, we can go back to the DAQ, and commit the expName.sh, and switch back to master branch or setup a new experiment.&lt;br /&gt;
&lt;br /&gt;
= Process Run online =&lt;br /&gt;
&lt;br /&gt;
== How to process run? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/GEBSort, and&lt;br /&gt;
 GEBSort&amp;gt;make offline&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN [RUNNUM]&lt;br /&gt;
&lt;br /&gt;
The bash script will download run [RUNNUM], merge, event building, GeneralSort (mapping), and Monitors.C &lt;br /&gt;
&lt;br /&gt;
to see more options, ./process_run without any argument&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN&lt;br /&gt;
 Process_RUN [RunNum] [Merge] [EventBuild] [GeneralSort] [Monitor]&amp;quot;&lt;br /&gt;
      RunNum = run number / \&amp;quot;lastRun\&amp;quot; &amp;quot;&lt;br /&gt;
       Merge =   1/0/-1      || 1 = merge, 0 = not merge, -1 = force merge &amp;quot;  &lt;br /&gt;
    EventBld = 2/1/0/-1/-2   || 2 = with Trace&amp;quot;  &lt;br /&gt;
  GenralSort = n/1/0/-1/-n   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&amp;quot;&lt;br /&gt;
    Monitors = 2/1/0         || 1 = single run,  2 = using the list in ChainMonitors.C&amp;quot;&lt;br /&gt;
                               10 = single run and post to websrv, 20 = list runs and post to websrv&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
        **** When feeding trace data to Monitors, the EventBld flag must be 2 or -2.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The working flow of process_run (without Monitor) is&lt;br /&gt;
&lt;br /&gt;
[[File:Process run.png|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
For data calibration, see [[GUI,_Scripts_And_Analysis_Code#Standard_data_analysis_flow|standard data analysis flow]]&lt;br /&gt;
&lt;br /&gt;
== How to process multiple runs at once ? ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 $./process_MultiRuns [RunNum1] [RunNum2] [Merge] [EventBuild] [GeneralSort]&lt;br /&gt;
     RunNum1 = start run number&lt;br /&gt;
     RunNum2 = stop run number&lt;br /&gt;
       Merge =   1/0*     &lt;br /&gt;
    EventBld = 2/1/0*   || 2 = with Trace&lt;br /&gt;
  GenralSort = n/1/0*   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&lt;br /&gt;
         * negative option = force&lt;br /&gt;
&lt;br /&gt;
== How to process multiple runs as a slurm job? == &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A slurm job is a job in LCRC. The script will generate the slurm.sh and submit the job to 1 node.&lt;br /&gt;
&lt;br /&gt;
If only merge and build event, only 1 core will be used.&lt;br /&gt;
If with GeneralSort, 36 cores will be used.&lt;br /&gt;
&lt;br /&gt;
 $./process_Slurm [RunNum1] [RunNum2] [time] [Merge] [EventBuild] [GeneralSort]&lt;br /&gt;
     RunNum1 = start run number&lt;br /&gt;
     RunNum2 = stop run number&lt;br /&gt;
        time = allocate time&lt;br /&gt;
       Merge =   1/0*     &lt;br /&gt;
    EventBld = 2/1/0*   || 2 = with Trace&lt;br /&gt;
  GenralSort = n/1/0*   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&lt;br /&gt;
         * negative option = force&lt;br /&gt;
&lt;br /&gt;
== How to manually run the Monitors.C for a given run? ==&lt;br /&gt;
&lt;br /&gt;
make sure gen_runXXX.root is generated in digios/analysis/root_data. &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root ../root_data/gen_runXXX.root&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;gen_tree-&amp;gt;Process(&amp;quot;Monitors.C+&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
== How to &amp;quot;Monitor&amp;quot; multiple runs ? ==&lt;br /&gt;
&lt;br /&gt;
edit &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can see it use the TChain class. &lt;br /&gt;
&lt;br /&gt;
to add files, for example, add the run 33 to 40, 42, 45, and 50, and I assume the run 33 to 40, 42, and 45 are already downloaded&lt;br /&gt;
&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run03[3-9].root&amp;quot;);&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run04[0,2,5].root&amp;quot;);&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run050.root&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
Then, in process_run&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./process_run 50 1 1 1 2&lt;br /&gt;
&lt;br /&gt;
Notice that it will download, merge, build event, and GeneralSort (mapping) for run 50 ONLY.&lt;br /&gt;
&lt;br /&gt;
= How to change the array position ? =&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Donwload all runs into the Mac ? == &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Rsyn_data_from_DAQ.sh&lt;br /&gt;
&lt;br /&gt;
== How to change or add a recoil Cuts ? ==&lt;br /&gt;
&lt;br /&gt;
see [[#How to use RDTCutsCreator ?]]&lt;br /&gt;
&lt;br /&gt;
== How to use RDTCutsCreator ? ==&lt;br /&gt;
&lt;br /&gt;
After ./process_run, the ../Armory/RDTCutsCreator.C will be loaded. &lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator( [filename], [save file name], [E range], [dE range] )&lt;br /&gt;
&lt;br /&gt;
The default [save file name] is &amp;quot;rdtCuts.root&amp;quot;. If you like to use other [save file name], please correct the TString rdtCutFile in Monitors.C&lt;br /&gt;
&lt;br /&gt;
if something go wrong during the RDTCutsCreator, simply delete the &amp;quot;rdtCuts.root&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
There is a way to include multiple files for the RDTCutsCreator&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&amp;quot;../root_data/gen_run02[3-7].root&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&amp;quot;../root_data/gen_run02[3,5,7,9].root&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
To include more files, we can edit ../Armory/RDTCutsCreator.C&lt;br /&gt;
&lt;br /&gt;
inside the file, manual add the files. To run that script.&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt; root&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;.L ../Armory/RDTCutsCreator.C&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutCreator(&amp;quot;&amp;quot;, [save file name], [E range], [dE range] )&lt;br /&gt;
&lt;br /&gt;
= How is the Calibration flow ? =&lt;br /&gt;
[[File:DataAnalysis.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
The calibration has few steps:&lt;br /&gt;
# Gain-matching with xn to xf&lt;br /&gt;
# Gain-matching with xn&#039;+xf to e&lt;br /&gt;
# Calibrate e&lt;br /&gt;
&lt;br /&gt;
To do step 1, It is better start with alpha data, because the alpha data is independent of position. By gating on 1 of the alpha peak, then plot the xf vs xn, the gain matching of xn to xf can be easily done. And because we need to gate on the alpha peak, then why not do a calibration on the energy using alpha data? So, in the Cali_xf_xn.C, the program will first calibrate alpha energy, then gate on 1 of the alpha peak to do gain match xn to xf.&lt;br /&gt;
&lt;br /&gt;
To do step 2, we need a gain-matched xn, i.e. xn&#039;, so that xn&#039;+xf should be proportional to the raw e. &lt;br /&gt;
&lt;br /&gt;
In order to calibrate the energy, sometimes, alpha calibration is doing a good job, given that the alpha source is a good source. However, we can also calibrate the energy using kinematic E-Z lines. See [[&amp;quot;How_to&amp;quot;_for_analysis_code#How to Calibrate reaction data by kinematics ?| How to Calibrate reaction data by kinematics ?]]&lt;br /&gt;
&lt;br /&gt;
== How to Calibrate alpha data ? ==&lt;br /&gt;
&lt;br /&gt;
If statistics for single detector is sufficient, i.e. all peak is clearly identified.&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 0&lt;br /&gt;
&lt;br /&gt;
It will guide you through the process. &lt;br /&gt;
&lt;br /&gt;
-----------------------------&lt;br /&gt;
&lt;br /&gt;
If statistics is not so good, we can use the ../Armory/Cali_e_single.C&lt;br /&gt;
&lt;br /&gt;
== How to Gain matching of xn to xf ? == &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 0&lt;br /&gt;
&lt;br /&gt;
First, it will go through energy calibration, it does not need to be good.&lt;br /&gt;
 &lt;br /&gt;
Next, select any peak, so that the program will gate on that peak and plot xf vs xn. From there, the xn will gain match xf.&lt;br /&gt;
&lt;br /&gt;
== How to gain match the xn+xf to raw e ? ==&lt;br /&gt;
&lt;br /&gt;
To properly do so, you have to gain-matched xn to xf. Then&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 1&lt;br /&gt;
&lt;br /&gt;
This has to be NOT alpha run, just any beam run. It will plot the raw e vs xf + xn&#039;.&lt;br /&gt;
&lt;br /&gt;
== How to Calibrate reaction data by kinematics ? ==&lt;br /&gt;
&lt;br /&gt;
( I know It needs more detail )&lt;br /&gt;
&lt;br /&gt;
ONLY for sufficient statistic for individual detector. &lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationtrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 2&lt;br /&gt;
&lt;br /&gt;
it will guide you through. &lt;br /&gt;
&lt;br /&gt;
---------------&lt;br /&gt;
In order to speed up the process, it will create a temp.root. a root file only contain e and z. &lt;br /&gt;
&lt;br /&gt;
User can use ../Armory/Check_e_x.root and create a cut to be used in the Monte-Carlo process.&lt;br /&gt;
&lt;br /&gt;
== How to output a root file only contain physical data ? ==&lt;br /&gt;
&lt;br /&gt;
after the calibration is done, we can edit &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and run &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
Select option 3 to generate the A_gen_runXXX.root&lt;br /&gt;
&lt;br /&gt;
[[File:Option3.png|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Kinematic and DWBA Calculation =&lt;br /&gt;
&lt;br /&gt;
The simplest way is using the Simulation_Helper.C. This is a GUI interface.&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root Simulation_Helper.C&lt;br /&gt;
&lt;br /&gt;
[[File:Simulation Helper screenshot.png|800px|frameless|none]]&lt;br /&gt;
&lt;br /&gt;
== How to change the calculation for Ex and thetaCM ? ==&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt&amp;lt;/span&amp;gt;, than recalculate the reaction.dat by running ../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
== How to change the kinematic E-Z line? ==&lt;br /&gt;
&lt;br /&gt;
see [[#How to simulate the kinematics?]]&lt;br /&gt;
&lt;br /&gt;
The E-Z lines are stored in fxList in transfer.root&lt;br /&gt;
&lt;br /&gt;
In Monitors.C, at the end or Monitors::Terminate(). &lt;br /&gt;
&lt;br /&gt;
you can see the fxList.&lt;br /&gt;
&lt;br /&gt;
== How to simulate the kinematics? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/Cleopatra, and &lt;br /&gt;
 Cleopatra&amp;gt;make&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
edit &lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;Ex.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run&lt;br /&gt;
  working&amp;gt;../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
after that, 2 files will be generated, 1) reaction.dat, 2) transfer.root&lt;br /&gt;
&lt;br /&gt;
a tree is inside transfer.root. &lt;br /&gt;
&lt;br /&gt;
you can see the tree branches by&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt; tree-&amp;gt;Print()&lt;br /&gt;
&lt;br /&gt;
I hope the branch name is self-explained. &lt;br /&gt;
&lt;br /&gt;
In Armory, there is a root macro Check_Transfer.C&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root &#039;../Armory/Check_Transfer.C(&amp;quot;transfer.root&amp;quot;)&#039;&lt;br /&gt;
&lt;br /&gt;
The macro load the transfer.root and plot the e-z plot, the recoil, recoil radius vs thetaCM etc...&lt;br /&gt;
&lt;br /&gt;
== How to do DWBA calculation ? == &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/Cleopatra, and &lt;br /&gt;
 Cleopatra&amp;gt;make &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; ONLY IN LINUX, because Ptolemy only work in Linux.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;DWBA&amp;lt;/span&amp;gt;, then&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra example 1 1 1 1 0 [minAng] [maxAng] [angStep]&lt;br /&gt;
&lt;br /&gt;
This will generate the example.in, feed to Ptolemy, output example.out, extract the differential cross section into&lt;br /&gt;
&lt;br /&gt;
* example.Xsec.txt&lt;br /&gt;
* example.root&lt;br /&gt;
&lt;br /&gt;
And plot the d.s.c. using example.root&lt;br /&gt;
&lt;br /&gt;
It will also generate example.Ex.txt&lt;br /&gt;
&lt;br /&gt;
For arguments meaning, use Cleopatra without any argument &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra&lt;br /&gt;
&lt;br /&gt;
== How to do kinematics simulation with DWBA differential cross section ? == &lt;br /&gt;
&lt;br /&gt;
see [[#How to do DWBA calculation ?]] first. &lt;br /&gt;
&lt;br /&gt;
edit&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;example &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure the reaction in the &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt; is matching with that in example&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra example 1 1 1 0 1  0 180 1&lt;br /&gt;
&lt;br /&gt;
The excitation levels is using example.Ex.txt.&lt;br /&gt;
&lt;br /&gt;
The bash script will calculate the DWBA d.s.c. using Cleopatra, then using ../Cleopatra/Transfer to do the simulation. &lt;br /&gt;
&lt;br /&gt;
see [[#How to simulate the kinematics?]]&lt;br /&gt;
&lt;br /&gt;
= How to do trace analysis ? =&lt;br /&gt;
&lt;br /&gt;
updated Feb-12, 2021&lt;br /&gt;
&lt;br /&gt;
simply&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN [RunNum] 1 -2 [number_of_worker] [Option_for_Monitors]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Updated Nov-6, 2019&lt;br /&gt;
The GEBSort_nogeb_trace was generated, Simple run ./process_run with option is fine&lt;br /&gt;
&lt;br /&gt;
--------------------------------&lt;br /&gt;
First, the GEBSort code has to be recompile by changing the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;digios/GEBSort/bin_rcnp.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in that file, comment out the trace (line ?) &lt;br /&gt;
&lt;br /&gt;
Then, recompile&lt;br /&gt;
&lt;br /&gt;
 GEBSort&amp;gt;make offline&lt;br /&gt;
&lt;br /&gt;
Now the gen_runXXX.root will contains trace data. &lt;br /&gt;
&lt;br /&gt;
go back to working directory&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./process_run [RUNNUM] 1 1 2 1&lt;br /&gt;
&lt;br /&gt;
The 4th argument is 2, that means the GeneralSort (or the mapping ) will use ../Amrory/GeneralSortTrace.C instead of ../Amory/GeneralSort.C&lt;br /&gt;
&lt;br /&gt;
The 4th argument can be also be more than 2, say, when it is N, it means it will use Proof, a parallel computing framework built-in in root that use N cores.&lt;br /&gt;
&lt;br /&gt;
To display the trace, we can use ../Armory/readTrace.C ( this macro is kind of shitty.....)&lt;br /&gt;
&lt;br /&gt;
= How to count a 1D histogram for a given range ? =&lt;br /&gt;
&lt;br /&gt;
After  ./process_run, a function Check1D() is loaded.&lt;br /&gt;
&lt;br /&gt;
= How to fit the excitation spectrum ? =&lt;br /&gt;
&lt;br /&gt;
If the reaction.dat is set properly, after ./process_run, the excite() function will give you the excitation spectrum.&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;excite()&lt;br /&gt;
&lt;br /&gt;
You can use the fitAuto() function to auto fit the spectrum by&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;fitAuto(hEx) &lt;br /&gt;
&lt;br /&gt;
For more option&lt;br /&gt;
&lt;br /&gt;
 fitAuto( [hist name], [BG estimation] )&lt;br /&gt;
&lt;br /&gt;
-------------------------------&lt;br /&gt;
Or you can can fit N-Gauss + 1 linear function. In this case, edit the &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;AutFit_para.txt&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;fitNGaussP1(hEx)&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Screenshot_2022-03-28_023801.png&amp;diff=2465</id>
		<title>File:Screenshot 2022-03-28 023801.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=File:Screenshot_2022-03-28_023801.png&amp;diff=2465"/>
		<updated>2022-03-28T06:38:47Z</updated>

		<summary type="html">&lt;p&gt;Ttang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Flow of data analysis&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
	<entry>
		<id>https://wiki.anl.gov/wiki_heliosdaq/index.php?title=%22How_to%22_for_analysis_code&amp;diff=2464</id>
		<title>&quot;How to&quot; for analysis code</title>
		<link rel="alternate" type="text/html" href="https://wiki.anl.gov/wiki_heliosdaq/index.php?title=%22How_to%22_for_analysis_code&amp;diff=2464"/>
		<updated>2022-03-28T06:36:06Z</updated>

		<summary type="html">&lt;p&gt;Ttang: /* General Flow */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[last updated July 11, 2019]&lt;br /&gt;
&lt;br /&gt;
Everything should be performed in digios/analysis/working directory, &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;ATTENTION:&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|txt file extension is editable for user.&lt;br /&gt;
|-&lt;br /&gt;
|dat files extension is not supposed to be edited, they are generated.&lt;br /&gt;
|-&lt;br /&gt;
|Editable file name will be highlighted with &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt; color&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Overview =&lt;br /&gt;
[[File:Digios analysis.png|1000px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= General Usage =&lt;br /&gt;
&lt;br /&gt;
== How to download the source code ? == &lt;br /&gt;
&lt;br /&gt;
make sure you have git in your computer.&lt;br /&gt;
&lt;br /&gt;
in the directory you like to put in the code. for example, I like to put the code in ~/, then &amp;gt;cd ~/&lt;br /&gt;
&lt;br /&gt;
 ~/&amp;gt;git clone https://github.com/calemhoffman/digios.git&lt;br /&gt;
&lt;br /&gt;
you will see a folder name digios is there. &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;cd digios &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
To check your experiment &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git branch -a&lt;br /&gt;
&lt;br /&gt;
for example your experiment is using the branch h064_15N&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
you will see you are in the branch for your experiment. &lt;br /&gt;
&lt;br /&gt;
for analysis, you only need the things inside digios/analysis&lt;br /&gt;
&lt;br /&gt;
Make sure you create folders or symbolic links for data, merged_data, and root_data under digios/analysis.&lt;br /&gt;
&lt;br /&gt;
== How to get option for a method or function ? == &lt;br /&gt;
&lt;br /&gt;
For most of the bash script, if you have no argument or the argument is &amp;quot;-help&amp;quot; it will display help message&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_run&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;../Cleopatra/Transfer -help&lt;br /&gt;
&lt;br /&gt;
For most root macro, for example, RDTCutsCreator(), &lt;br /&gt;
after typed the first bracket, use tab, it will display the arguments.&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&lt;br /&gt;
&lt;br /&gt;
then press tab. it will show&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(TString filename, TString saveFileName = &amp;quot;rdtCuts.root&amp;quot;, int eRange = 4000, int eRange = 60000 )&lt;br /&gt;
&lt;br /&gt;
== How to take a screenshot in MAC ? == &lt;br /&gt;
&lt;br /&gt;
Command + Shift + 4 = screenshot selected area&lt;br /&gt;
&lt;br /&gt;
Command + Shift + 4, then space_bar = screenshot selected window&lt;br /&gt;
&lt;br /&gt;
== How to check the start time and stop time for a run? == &lt;br /&gt;
&lt;br /&gt;
in digios/analysis/data, there is RunTimeStamp.dat. &lt;br /&gt;
this file stored all start and stop time for all runs. &lt;br /&gt;
&lt;br /&gt;
in MAC or DAQ, &lt;br /&gt;
&lt;br /&gt;
 anywhere&amp;gt;ShowRunTimeStamp&lt;br /&gt;
&lt;br /&gt;
== How to check the raw files for a run? == &lt;br /&gt;
&lt;br /&gt;
in MAC or DAQ&lt;br /&gt;
&lt;br /&gt;
 anywhere&amp;gt;ShowRunSize [RUNNUM]&lt;br /&gt;
&lt;br /&gt;
= Git Branch Management =&lt;br /&gt;
&lt;br /&gt;
== How to Setup/Switch for a new experiment? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Advance user / user familiar with git only&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Has to be done in the DAQ first&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Has to be done in the MAC after&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
given that the digios directory is clean, meaning &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status &lt;br /&gt;
&lt;br /&gt;
show no file is modified. &lt;br /&gt;
&lt;br /&gt;
If you are not in the master branch&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;./SetUpNewExp master&lt;br /&gt;
&lt;br /&gt;
Then you are ready to setup a new experimental branch by&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;./SetUpNewExp [new experiment name]&lt;br /&gt;
&lt;br /&gt;
The bash script with do all the work. &lt;br /&gt;
&lt;br /&gt;
After that, do the same in the MAC.&lt;br /&gt;
&lt;br /&gt;
----------&lt;br /&gt;
&lt;br /&gt;
When the folder is not clean. i.e., not everything git committed. The SetUpNewExp will stop and not switch branches or make a new experiment. &lt;br /&gt;
&lt;br /&gt;
In that case, the simplest way is &lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git add -A                          # add all changes to stage&lt;br /&gt;
 digios&amp;gt;git commit -m &amp;quot;comment you like&amp;quot;    # commit the change and make the folder clean&lt;br /&gt;
&lt;br /&gt;
Or, you want to discard all change&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git reset --hard&lt;br /&gt;
&lt;br /&gt;
== How to clean up the working directory and prepare for a new experiment? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Advance user / user familiar with git only&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Need to be done in both MAC and DAQ&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; !!! READ till the end before you do anything!!!!&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
After each experiment, the files in digios directory would be changed. &lt;br /&gt;
&lt;br /&gt;
To check the change,&lt;br /&gt;
&lt;br /&gt;
 DAQ&amp;gt;cd ~/digios&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git status&lt;br /&gt;
&lt;br /&gt;
To snapshot the change&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git add -A&lt;br /&gt;
 digios&amp;gt;git commit -m &amp;quot;comment for this snapshot&amp;quot;&lt;br /&gt;
&lt;br /&gt;
It is better to push the snapshot to the github&lt;br /&gt;
&lt;br /&gt;
 digios&amp;gt;git push origin [branch name]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; Also need to git the DAQ!&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; The files in the DAQ and the MAC could be both changed. Mostly, the change in the DAQ is in digios/daq. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; That means the DAQ and MAC has to be merged.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;We use a merge driver that the expName.sh will not be merged. The detail can be found in .gitattribute and git documentation. &amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is better to start with the DAQ.&lt;br /&gt;
# commit and push the daq/edm/scripts folder&lt;br /&gt;
# commit and push the daq/edm/screens (if anything changed)&lt;br /&gt;
&lt;br /&gt;
and then, go to the Mac,&lt;br /&gt;
# fetch and merge, since the DAQ pushed latest commit&lt;br /&gt;
# commit and push the analysis/Armory/&lt;br /&gt;
# commit and push the analysis/Cleopatra&lt;br /&gt;
# commit and push the analysis/working&lt;br /&gt;
&lt;br /&gt;
Now, we can go to LCRC ( /lcrc/project/HELIOS/digios )&lt;br /&gt;
The LCRC always in master branch.&lt;br /&gt;
then we can merge and solve conflict for each commit from the experiment.&lt;br /&gt;
&lt;br /&gt;
After above action, we can go back to the DAQ, and commit the expName.sh, and switch back to master branch or setup a new experiment.&lt;br /&gt;
&lt;br /&gt;
= Process Run online =&lt;br /&gt;
&lt;br /&gt;
== How to process run? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/GEBSort, and&lt;br /&gt;
 GEBSort&amp;gt;make offline&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN [RUNNUM]&lt;br /&gt;
&lt;br /&gt;
The bash script will download run [RUNNUM], merge, event building, GeneralSort (mapping), and Monitors.C &lt;br /&gt;
&lt;br /&gt;
to see more options, ./process_run without any argument&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN&lt;br /&gt;
 Process_RUN [RunNum] [Merge] [EventBuild] [GeneralSort] [Monitor]&amp;quot;&lt;br /&gt;
      RunNum = run number / \&amp;quot;lastRun\&amp;quot; &amp;quot;&lt;br /&gt;
       Merge =   1/0/-1      || 1 = merge, 0 = not merge, -1 = force merge &amp;quot;  &lt;br /&gt;
    EventBld = 2/1/0/-1/-2   || 2 = with Trace&amp;quot;  &lt;br /&gt;
  GenralSort = n/1/0/-1/-n   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&amp;quot;&lt;br /&gt;
    Monitors = 2/1/0         || 1 = single run,  2 = using the list in ChainMonitors.C&amp;quot;&lt;br /&gt;
                               10 = single run and post to websrv, 20 = list runs and post to websrv&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
        **** When feeding trace data to Monitors, the EventBld flag must be 2 or -2.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The working flow of process_run (without Monitor) is&lt;br /&gt;
&lt;br /&gt;
[[File:Process run.png|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
For data calibration, see [[GUI,_Scripts_And_Analysis_Code#Standard_data_analysis_flow|standard data analysis flow]]&lt;br /&gt;
&lt;br /&gt;
== How to process multiple runs at once ? ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 $./process_MultiRuns [RunNum1] [RunNum2] [Merge] [EventBuild] [GeneralSort]&lt;br /&gt;
     RunNum1 = start run number&lt;br /&gt;
     RunNum2 = stop run number&lt;br /&gt;
       Merge =   1/0*     &lt;br /&gt;
    EventBld = 2/1/0*   || 2 = with Trace&lt;br /&gt;
  GenralSort = n/1/0*   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&lt;br /&gt;
         * negative option = force&lt;br /&gt;
&lt;br /&gt;
== How to process multiple runs as a slurm job? == &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; In case of trace analysis, Please edit the GeneralSortMapping.h path in  digios/analysis/Armory/GeneralSortTraceProof.C&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A slurm job is a job in LCRC. The script will generate the slurm.sh and submit the job to 1 node.&lt;br /&gt;
&lt;br /&gt;
If only merge and build event, only 1 core will be used.&lt;br /&gt;
If with GeneralSort, 36 cores will be used.&lt;br /&gt;
&lt;br /&gt;
 $./process_Slurm [RunNum1] [RunNum2] [time] [Merge] [EventBuild] [GeneralSort]&lt;br /&gt;
     RunNum1 = start run number&lt;br /&gt;
     RunNum2 = stop run number&lt;br /&gt;
        time = allocate time&lt;br /&gt;
       Merge =   1/0*     &lt;br /&gt;
    EventBld = 2/1/0*   || 2 = with Trace&lt;br /&gt;
  GenralSort = n/1/0*   || 1 = GeneralSort.C, n = GeneralSortTraceProof.C with n-worker&lt;br /&gt;
         * negative option = force&lt;br /&gt;
&lt;br /&gt;
== How to manually run the Monitors.C for a given run? ==&lt;br /&gt;
&lt;br /&gt;
make sure gen_runXXX.root is generated in digios/analysis/root_data. &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root ../root_data/gen_runXXX.root&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;gen_tree-&amp;gt;Process(&amp;quot;Monitors.C+&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
== How to &amp;quot;Monitor&amp;quot; multiple runs ? ==&lt;br /&gt;
&lt;br /&gt;
edit &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can see it use the TChain class. &lt;br /&gt;
&lt;br /&gt;
to add files, for example, add the run 33 to 40, 42, 45, and 50, and I assume the run 33 to 40, 42, and 45 are already downloaded&lt;br /&gt;
&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run03[3-9].root&amp;quot;);&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run04[0,2,5].root&amp;quot;);&lt;br /&gt;
 chain-&amp;gt;Add(&amp;quot;../root_data/gen_run050.root&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
Then, in process_run&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./process_run 50 1 1 1 2&lt;br /&gt;
&lt;br /&gt;
Notice that it will download, merge, build event, and GeneralSort (mapping) for run 50 ONLY.&lt;br /&gt;
&lt;br /&gt;
= How to change the array position ? =&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Donwload all runs into the Mac ? == &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Rsyn_data_from_DAQ.sh&lt;br /&gt;
&lt;br /&gt;
== How to change or add a recoil Cuts ? ==&lt;br /&gt;
&lt;br /&gt;
see [[#How to use RDTCutsCreator ?]]&lt;br /&gt;
&lt;br /&gt;
== How to use RDTCutsCreator ? ==&lt;br /&gt;
&lt;br /&gt;
After ./process_run, the ../Armory/RDTCutsCreator.C will be loaded. &lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator( [filename], [save file name], [E range], [dE range] )&lt;br /&gt;
&lt;br /&gt;
The default [save file name] is &amp;quot;rdtCuts.root&amp;quot;. If you like to use other [save file name], please correct the TString rdtCutFile in Monitors.C&lt;br /&gt;
&lt;br /&gt;
if something go wrong during the RDTCutsCreator, simply delete the &amp;quot;rdtCuts.root&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
There is a way to include multiple files for the RDTCutsCreator&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&amp;quot;../root_data/gen_run02[3-7].root&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutsCreator(&amp;quot;../root_data/gen_run02[3,5,7,9].root&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
To include more files, we can edit ../Armory/RDTCutsCreator.C&lt;br /&gt;
&lt;br /&gt;
inside the file, manual add the files. To run that script.&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt; root&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;.L ../Armory/RDTCutsCreator.C&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;RDTCutCreator(&amp;quot;&amp;quot;, [save file name], [E range], [dE range] )&lt;br /&gt;
&lt;br /&gt;
= How is the Calibration flow ? =&lt;br /&gt;
[[File:DataAnalysis.png|800px|frameless]]&lt;br /&gt;
&lt;br /&gt;
The calibration has few steps:&lt;br /&gt;
# Gain-matching with xn to xf&lt;br /&gt;
# Gain-matching with xn&#039;+xf to e&lt;br /&gt;
# Calibrate e&lt;br /&gt;
&lt;br /&gt;
To do step 1, It is better start with alpha data, because the alpha data is independent of position. By gating on 1 of the alpha peak, then plot the xf vs xn, the gain matching of xn to xf can be easily done. And because we need to gate on the alpha peak, then why not do a calibration on the energy using alpha data? So, in the Cali_xf_xn.C, the program will first calibrate alpha energy, then gate on 1 of the alpha peak to do gain match xn to xf.&lt;br /&gt;
&lt;br /&gt;
To do step 2, we need a gain-matched xn, i.e. xn&#039;, so that xn&#039;+xf should be proportional to the raw e. &lt;br /&gt;
&lt;br /&gt;
In order to calibrate the energy, sometimes, alpha calibration is doing a good job, given that the alpha source is a good source. However, we can also calibrate the energy using kinematic E-Z lines. See [[&amp;quot;How_to&amp;quot;_for_analysis_code#How to Calibrate reaction data by kinematics ?| How to Calibrate reaction data by kinematics ?]]&lt;br /&gt;
&lt;br /&gt;
== How to Calibrate alpha data ? ==&lt;br /&gt;
&lt;br /&gt;
If statistics for single detector is sufficient, i.e. all peak is clearly identified.&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 0&lt;br /&gt;
&lt;br /&gt;
It will guide you through the process. &lt;br /&gt;
&lt;br /&gt;
-----------------------------&lt;br /&gt;
&lt;br /&gt;
If statistics is not so good, we can use the ../Armory/Cali_e_single.C&lt;br /&gt;
&lt;br /&gt;
== How to Gain matching of xn to xf ? == &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 0&lt;br /&gt;
&lt;br /&gt;
First, it will go through energy calibration, it does not need to be good.&lt;br /&gt;
 &lt;br /&gt;
Next, select any peak, so that the program will gate on that peak and plot xf vs xn. From there, the xn will gain match xf.&lt;br /&gt;
&lt;br /&gt;
== How to gain match the xn+xf to raw e ? ==&lt;br /&gt;
&lt;br /&gt;
To properly do so, you have to gain-matched xn to xf. Then&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 1&lt;br /&gt;
&lt;br /&gt;
This has to be NOT alpha run, just any beam run. It will plot the raw e vs xf + xn&#039;.&lt;br /&gt;
&lt;br /&gt;
== How to Calibrate reaction data by kinematics ? ==&lt;br /&gt;
&lt;br /&gt;
( I know It needs more detail )&lt;br /&gt;
&lt;br /&gt;
ONLY for sufficient statistic for individual detector. &lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationtrace.C+&lt;br /&gt;
&lt;br /&gt;
select option 2&lt;br /&gt;
&lt;br /&gt;
it will guide you through. &lt;br /&gt;
&lt;br /&gt;
---------------&lt;br /&gt;
In order to speed up the process, it will create a temp.root. a root file only contain e and z. &lt;br /&gt;
&lt;br /&gt;
User can use ../Armory/Check_e_x.root and create a cut to be used in the Monte-Carlo process.&lt;br /&gt;
&lt;br /&gt;
== How to output a root file only contain physical data ? ==&lt;br /&gt;
&lt;br /&gt;
after the calibration is done, we can edit &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;ChainMonitors.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and run &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root AutoCalibrationTrace.C+&lt;br /&gt;
&lt;br /&gt;
Select option 3 to generate the A_gen_runXXX.root&lt;br /&gt;
&lt;br /&gt;
[[File:Option3.png|600px|frameless]]&lt;br /&gt;
&lt;br /&gt;
= Kinematic and DWBA Calculation =&lt;br /&gt;
&lt;br /&gt;
The simplest way is using the Simulation_Helper.C. This is a GUI interface.&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root Simulation_Helper.C&lt;br /&gt;
&lt;br /&gt;
[[File:Simulation Helper screenshot.png|800px|frameless|none]]&lt;br /&gt;
&lt;br /&gt;
== How to change the calculation for Ex and thetaCM ? ==&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt&amp;lt;/span&amp;gt;, than recalculate the reaction.dat by running ../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
== How to change the kinematic E-Z line? ==&lt;br /&gt;
&lt;br /&gt;
see [[#How to simulate the kinematics?]]&lt;br /&gt;
&lt;br /&gt;
The E-Z lines are stored in fxList in transfer.root&lt;br /&gt;
&lt;br /&gt;
In Monitors.C, at the end or Monitors::Terminate(). &lt;br /&gt;
&lt;br /&gt;
you can see the fxList.&lt;br /&gt;
&lt;br /&gt;
== How to simulate the kinematics? ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/Cleopatra, and &lt;br /&gt;
 Cleopatra&amp;gt;make&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
edit &lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;Ex.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run&lt;br /&gt;
  working&amp;gt;../Cleopatra/Transfer&lt;br /&gt;
&lt;br /&gt;
after that, 2 files will be generated, 1) reaction.dat, 2) transfer.root&lt;br /&gt;
&lt;br /&gt;
a tree is inside transfer.root. &lt;br /&gt;
&lt;br /&gt;
you can see the tree branches by&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt; tree-&amp;gt;Print()&lt;br /&gt;
&lt;br /&gt;
I hope the branch name is self-explained. &lt;br /&gt;
&lt;br /&gt;
In Armory, there is a root macro Check_Transfer.C&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;root &#039;../Armory/Check_Transfer.C(&amp;quot;transfer.root&amp;quot;)&#039;&lt;br /&gt;
&lt;br /&gt;
The macro load the transfer.root and plot the e-z plot, the recoil, recoil radius vs thetaCM etc...&lt;br /&gt;
&lt;br /&gt;
== How to do DWBA calculation ? == &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; If the code is git clone or download recently, please go to ~/digios/analysis/Cleopatra, and &lt;br /&gt;
 Cleopatra&amp;gt;make &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;CAUTION:&amp;lt;/span&amp;gt; ONLY IN LINUX, because Ptolemy only work in Linux.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
edit the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;DWBA&amp;lt;/span&amp;gt;, then&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra example 1 1 1 1 0 [minAng] [maxAng] [angStep]&lt;br /&gt;
&lt;br /&gt;
This will generate the example.in, feed to Ptolemy, output example.out, extract the differential cross section into&lt;br /&gt;
&lt;br /&gt;
* example.Xsec.txt&lt;br /&gt;
* example.root&lt;br /&gt;
&lt;br /&gt;
And plot the d.s.c. using example.root&lt;br /&gt;
&lt;br /&gt;
It will also generate example.Ex.txt&lt;br /&gt;
&lt;br /&gt;
For arguments meaning, use Cleopatra without any argument &lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra&lt;br /&gt;
&lt;br /&gt;
== How to do kinematics simulation with DWBA differential cross section ? == &lt;br /&gt;
&lt;br /&gt;
see [[#How to do DWBA calculation ?]] first. &lt;br /&gt;
&lt;br /&gt;
edit&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;detectorGeo.txt &amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;example &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure the reaction in the &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;reactionConfig.txt &amp;lt;/span&amp;gt; is matching with that in example&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./Cleopatra example 1 1 1 0 1  0 180 1&lt;br /&gt;
&lt;br /&gt;
The excitation levels is using example.Ex.txt.&lt;br /&gt;
&lt;br /&gt;
The bash script will calculate the DWBA d.s.c. using Cleopatra, then using ../Cleopatra/Transfer to do the simulation. &lt;br /&gt;
&lt;br /&gt;
see [[#How to simulate the kinematics?]]&lt;br /&gt;
&lt;br /&gt;
= How to do trace analysis ? =&lt;br /&gt;
&lt;br /&gt;
updated Feb-12, 2021&lt;br /&gt;
&lt;br /&gt;
simply&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;Process_RUN [RunNum] 1 -2 [number_of_worker] [Option_for_Monitors]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Updated Nov-6, 2019&lt;br /&gt;
The GEBSort_nogeb_trace was generated, Simple run ./process_run with option is fine&lt;br /&gt;
&lt;br /&gt;
--------------------------------&lt;br /&gt;
First, the GEBSort code has to be recompile by changing the file &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;digios/GEBSort/bin_rcnp.C&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in that file, comment out the trace (line ?) &lt;br /&gt;
&lt;br /&gt;
Then, recompile&lt;br /&gt;
&lt;br /&gt;
 GEBSort&amp;gt;make offline&lt;br /&gt;
&lt;br /&gt;
Now the gen_runXXX.root will contains trace data. &lt;br /&gt;
&lt;br /&gt;
go back to working directory&lt;br /&gt;
&lt;br /&gt;
 working&amp;gt;./process_run [RUNNUM] 1 1 2 1&lt;br /&gt;
&lt;br /&gt;
The 4th argument is 2, that means the GeneralSort (or the mapping ) will use ../Amrory/GeneralSortTrace.C instead of ../Amory/GeneralSort.C&lt;br /&gt;
&lt;br /&gt;
The 4th argument can be also be more than 2, say, when it is N, it means it will use Proof, a parallel computing framework built-in in root that use N cores.&lt;br /&gt;
&lt;br /&gt;
To display the trace, we can use ../Armory/readTrace.C ( this macro is kind of shitty.....)&lt;br /&gt;
&lt;br /&gt;
= How to count a 1D histogram for a given range ? =&lt;br /&gt;
&lt;br /&gt;
After  ./process_run, a function Check1D() is loaded.&lt;br /&gt;
&lt;br /&gt;
= How to fit the excitation spectrum ? =&lt;br /&gt;
&lt;br /&gt;
If the reaction.dat is set properly, after ./process_run, the excite() function will give you the excitation spectrum.&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;excite()&lt;br /&gt;
&lt;br /&gt;
You can use the fitAuto() function to auto fit the spectrum by&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;fitAuto(hEx) &lt;br /&gt;
&lt;br /&gt;
For more option&lt;br /&gt;
&lt;br /&gt;
 fitAuto( [hist name], [BG estimation] )&lt;br /&gt;
&lt;br /&gt;
-------------------------------&lt;br /&gt;
Or you can can fit N-Gauss + 1 linear function. In this case, edit the &amp;lt;span style=&amp;quot;color:#0000FF&amp;quot;&amp;gt;AutFit_para.txt&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 root&amp;gt;fitNGaussP1(hEx)&lt;/div&gt;</summary>
		<author><name>Ttang</name></author>
	</entry>
</feed>