Difference between revisions of "DV Analyze Recon"
Line 1: | Line 1: | ||
=Analysis.groovy= | =Analysis.groovy= | ||
− | From a GEMC run | + | 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: |
[[File:Event14.png]] | [[File:Event14.png]] |
Revision as of 17:59, 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:
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.
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.
And the rotation about the z axis.
Transformation Matrix
The Euler angles can be applied using a transformation matrix
For event #29, in sector 3, the location of the first interaction is given by
Converting -25 degrees to radians,
which is the rotation the detectors are rotated from the y axis.
Finding
since "sector -1" =3-1=2*60=120 degrees
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.