 <?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.lhep.unibe.ch/index.php?action=history&amp;feed=atom&amp;title=Pi%2FMu_Separation</id>
	<title>Pi/Mu Separation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.lhep.unibe.ch/index.php?action=history&amp;feed=atom&amp;title=Pi%2FMu_Separation"/>
	<link rel="alternate" type="text/html" href="https://wiki.lhep.unibe.ch/index.php?title=Pi/Mu_Separation&amp;action=history"/>
	<updated>2026-05-14T05:03:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.lhep.unibe.ch/index.php?title=Pi/Mu_Separation&amp;diff=389&amp;oldid=prev</id>
		<title>Lhep: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.lhep.unibe.ch/index.php?title=Pi/Mu_Separation&amp;diff=389&amp;oldid=prev"/>
		<updated>2015-03-18T07:49:28Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:49, 18 March 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Lhep</name></author>
	</entry>
	<entry>
		<id>https://wiki.lhep.unibe.ch/index.php?title=Pi/Mu_Separation&amp;diff=388&amp;oldid=prev</id>
		<title>Lhep: /* MC related stuff */</title>
		<link rel="alternate" type="text/html" href="https://wiki.lhep.unibe.ch/index.php?title=Pi/Mu_Separation&amp;diff=388&amp;oldid=prev"/>
		<updated>2008-08-19T10:41:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;MC related stuff&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;PSI/CERN exposure in July 2007: Pi/Mu testbeam&lt;br /&gt;
&lt;br /&gt;
==General Informations==&lt;br /&gt;
&lt;br /&gt;
- CERN exposure: &lt;br /&gt;
 - Purpose: To provide intercalibrationtracks in the corners of the brick&lt;br /&gt;
 - 10 GeV Pi-&lt;br /&gt;
 - +50 mrad, +150 mrad&lt;br /&gt;
 - about 4x3000 particles triggered (2 spots x 2 angles)&lt;br /&gt;
- PSI exposure:&lt;br /&gt;
 - Purpose: Provide unbiased emulsion data for Pi/Mu separation analysis&lt;br /&gt;
 - Mu- and Pi+ with angles of 0...-300 mrad (about 5000 particles)&lt;br /&gt;
 - p_mu = 125 MeV/c at muE1 area at PSI&lt;br /&gt;
 - p_pi = 148 MeV/c at pM1 area at PSI&lt;br /&gt;
- Brick setup: 3e + 35 x (pb + e)&lt;br /&gt;
&lt;br /&gt;
==Bricks==&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
! Brick !! Particle !! Angle (mrad) !!  Location !! Comment &lt;br /&gt;
|-&lt;br /&gt;
! b1 !! Muon !! -300 !! Lyon !!&lt;br /&gt;
|-&lt;br /&gt;
! [[b2]] !! Muon !! -100 !! Bern !! Scanning on Mic2 now&lt;br /&gt;
|-&lt;br /&gt;
! [[b3]] !! Muon !! 0 !! Bern !! Scanning is finished&lt;br /&gt;
|-&lt;br /&gt;
! [[b4]] !! Muon !! -200 !! Bern !!&lt;br /&gt;
|-&lt;br /&gt;
! b5 !! Pion !! 0 !! Lyon !!&lt;br /&gt;
|-&lt;br /&gt;
! b6 !! Pion !! -300 !! Lyon !!&lt;br /&gt;
|-&lt;br /&gt;
! [[b7]] !! Pion !! 0 !! Bern !! Scanning is finished&lt;br /&gt;
|-&lt;br /&gt;
! [[b8]] !! Pion !! -100 !! Bern !! next... after b2&lt;br /&gt;
|-&lt;br /&gt;
! [[b9]] !! Pion !! -200 !! Bern !! no marks&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Produce Predictions==&lt;br /&gt;
This is not a full description, it is meant as an overview and guideline. &lt;br /&gt;
&lt;br /&gt;
- all the scrips should be found at [http://lheppc46.unibe.ch/Jonas/PiMu/ /terabig/scan/Jonas/PiMu]&lt;br /&gt;
 - use scanlarge_test.C in the ONLINE folder to check the quality and settings before scanning&lt;br /&gt;
 - use scanlargePiMu.C to scan the full emulsion surface (10.5cm x 8cm = 84 cm^2). It produces 12 subareas.&lt;br /&gt;
 - produce the old fedra format structure (data, par, report) for each subarea.&lt;br /&gt;
 - align all the subaras (use default.par_forAlignment): use scanlib.C, AlignPlate1(), 3x recset -a -lnk.def&lt;br /&gt;
 - track the subareas(use default.par_forTracking)&lt;br /&gt;
 - merge the linked_tracks.root files&lt;br /&gt;
 - open linked_tracks.root file, define good cut and use link2cp.C to produce a cp-file (link2cp(&amp;quot;mycut&amp;quot;, 3) - 3 is necessary in order to project to the correct Z distance of 0: 1 is -600 Z distance)&lt;br /&gt;
 - use cp2txt.C to produce predictions (pred.txt)&lt;br /&gt;
 - make folder pred in your main folder of the brick, put pred.txt into this folder.&lt;br /&gt;
 - use split.sh to split the pred.txt into several files (adapt acording to the amount of predictions you have)&lt;br /&gt;
 - use dopred() in the script utils.C (adapt accordingly to the amout of prediction you have)&lt;br /&gt;
&lt;br /&gt;
==Scanback==&lt;br /&gt;
- The scanback script is adapted to process more than 100 predictions. A lot of prediction slowed down the scanning too much.&lt;br /&gt;
&lt;br /&gt;
- IMPORTANT: do intercalibration with scanback() and scanback with scanback_batch() in sb5.C. In order to copy the AFF transformation for all the prediction files, the cal cannot be done with the scanback_batch() because it will overwrite the copied AFF file.&lt;br /&gt;
&lt;br /&gt;
- Merge SBT: use in the sb5.C script the function mergesbt(&amp;lt;version&amp;gt;). adapt first the .operation.h file accordingly: example: merge from plate 4-7, put START_PLATE=4 and TO_PLATE=7.&lt;br /&gt;
&lt;br /&gt;
==Analysis==&lt;br /&gt;
- Adapt line in WriteStopping of sb5.C &amp;quot;if(rtsb.ePred.ID()==p-&amp;gt;ID() &amp;amp;&amp;amp; rtsb.eStatus==0 &amp;amp;&amp;amp; rtsb.eIdp[1]&amp;gt;p-&amp;gt;PID())&amp;quot; with &amp;gt; instead of &amp;lt; (start from plate 1 instead of 57)&lt;br /&gt;
&lt;br /&gt;
- Stopping points are written. Merge txt files manually and add first line to create automatically the root plots:&lt;br /&gt;
 N/I:X/F:Y/F:TX/F:TY/F:S/I\n&lt;br /&gt;
 0 19988.351562 11970.712891 0.065430 -0.061815 36&lt;br /&gt;
 1 22626.093750 13754.257812 -0.249425 0.065311 36&lt;br /&gt;
 - TTree PV   &lt;br /&gt;
 - PV.ReadFile(&amp;quot;b000007.stopping_points_Tree_all.txt&amp;quot;)&lt;br /&gt;
 - PV.Draw(&amp;quot;S&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
- Chain sbt-files: use ChainSBT.C script - adapt accordingly&lt;br /&gt;
&lt;br /&gt;
==MC related stuff==&lt;br /&gt;
[[Image:Pdgidlist.png|thumb|PDG ID list]]&lt;br /&gt;
* Check actual number of low energy in the OPERA bricks&lt;br /&gt;
* read file&lt;br /&gt;
 MCfile = new TFile(&amp;quot;filename&amp;quot;)&lt;br /&gt;
 TreeKB = (TTree*)MCfile-&amp;gt;Get(&amp;quot;TreeKB&amp;quot;)&lt;/div&gt;</summary>
		<author><name>Lhep</name></author>
	</entry>
</feed>