Difference between revisions of "DV Analyze Recon"

From New IAC Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
       [[File:Event14.png]]
 
       [[File:Event14.png]]
  
We take the phi angle from the Generated Event momentum as the initial phi angle.  The obtain the final phi angle, we can look at the final position of the electron with in the drift chambers.   
+
Using the phythagorean theorm to construct the Generated Event momentum vector length, we find:
 +
 
 +
<center><math>r=\sqrt{1.23162997^2+1.49707997^2+3.6786499^2}=4.15819983964</math></center>
 +
 
 +
We take the phi angle from the Generated Event momentum as the initial phi angle.   
 +
 
 +
 
 +
The obtain the final phi angle, we can look at the final position of the electron with in the drift chambers.   
  
 
       [[File:Event14_part2.png]]
 
       [[File:Event14_part2.png]]

Revision as of 18:03, 30 March 2016

Analysis.groovy

From a GEMC run of solenoid field strength of 0T, the eg12_rec.0.evio output file of the reconstruction is analyzed. The different kinematic variables are displayed as shown:

      Event14.png

Using the phythagorean theorm to construct the Generated Event momentum vector length, we find:

[math]r=\sqrt{1.23162997^2+1.49707997^2+3.6786499^2}=4.15819983964[/math]

We take the phi angle from the Generated Event momentum as the initial phi angle.


The obtain the final phi angle, we can look at the final position of the electron with in the drift chambers.

     Event14 part2.png

Examining the position from Timer Based Tracking, we can see that after rotations about first the y-axis, then the z-axis transforms from the detector frame of reference to the lab frame of reference.

Euler Angles

We can use the Euler angles to perform the rotations.

For the rotation about the y axis.

Euler1.png

And the rotation about the z axis.

Euler2.png

Transformation Matrix

The Euler angles can be applied using a transformation matrix

[math]\left( \begin{array}{ccc} \cos (\theta ) & 0 & -\sin (\theta ) \\ 0 & 1 & 0 \\ \sin (\theta ) & 0 & \cos (\theta ) \\ \end{array} \right).\left( \begin{array}{c} x \\ y \\ z \\ \end{array} \right)[/math][math]=\left( \begin{array}{c} x \cos (\theta )-z \sin (\theta ) \\ y \\ z \cos (\theta )+x \sin (\theta ) \\ \end{array} \right)[/math]



For event #29, in sector 3, the location of the first interaction is given by

Conversions.png


Converting -25 degrees to radians,

[math]\theta =-0.436332[/math]

which is the rotation the detectors are rotated from the y axis.

[math]\left( \begin{array}{ccc} \cos (\theta ) & 0 & -\sin (\theta ) \\ 0 & 1 & 0 \\ \sin (\theta ) & 0 & \cos (\theta ) \\ \end{array} \right).\left( \begin{array}{c} -15.76 \\ 0 \\ 237.43 \\ \end{array} \right)[/math][math]=\left( \begin{array}{c} 86.0588 \\ 0. \\ 221.845 \\ \end{array} \right)[/math]

Finding [math]\phi =\frac{120\ 2 \pi }{360};[/math] since "sector -1" =3-1=2*60=120 degrees

[math]\left( \begin{array}{ccc} \cos (\phi ) & -\sin (\phi ) & 0 \\ \sin (\phi ) & \cos (\phi ) & 0 \\ 0 & 0 & 1 \\ \end{array} \right).\left( \begin{array}{c} 86.0588 \\ 0. \\ 221.845 \\ \end{array} \right)[/math][math]=\left( \begin{array}{c} -43.0294 \\ 74.5291 \\ 221.845 \\ \end{array} \right)[/math]

This shows how the coordinates are transformed and explains the validity of using the TBTracking information to obtain a phi angle in the lab frame.