<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi John,
<div class=""><br class="">
</div>
<div class="">My script that I use to count the good coin events in the run is located at:</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(254, 254, 254);" class=""><font color="#000000" class="">/w/hallc-scifs17exp/e1206107/holly/scripts/Bean_counter2.C</font></span></div>
</div>
<div class=""><br class="">
</div>
<div class="">I run it with the following command in root:</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font color="#000000" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">.x Bean_counter2.C</span><span style="font-variant-ligatures: no-common-ligatures;" class="">(</span><span style="font-variant-ligatures: no-common-ligatures;" class="">3188,1</span><span style="font-variant-ligatures: no-common-ligatures;" class="">)</span></font></div>
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font color="#000000" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><br class="">
</span></font></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font color="#000000" class="">In the command above, run 3188 is the run I’m interested in. The 1 is for hydrogen event selection (2 would be for a carbon run). </font></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font color="#000000" class=""><br class="">
</font></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font color="#000000" class="">In the script, at lines 8-10, I specify which directory to look for the file in. Line 8 is the one I used for pass2. Line 10 (currently commented out)
 looks at the files in your directory. You can change this to whatever. You can copy this script to your own directory when you edit it and run it. </font></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font color="#000000" class=""><br class="">
</font></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font color="#000000" class="">-Holly</font></div>
</body>
</html>