Add an end-to-end test for normal use of the plugin.
#42 opened on Aug 30, 2023
Repository metrics
- Stars
- (2 stars)
- PR merge metrics
- (PR metrics pending)
Description
Add end-to-end test.
The aim of the practical is to identify the decays of $\Lambda$, $\Sigma^+$ and $\Sigma^-$ particles in bubble chamber experiments images. Measurements of distances, radii of curvature and decay opening angles are then performed on these images to estimate the mass and lifetime of the particles. The tool allows the student to record a list of identified particles and their decays and to perform the measurements relevant for each case. Once recorded, the data is exported to a cvs file and the analysis can be performed with the software of choice (Excel, python, ...)
The normal analysis runs as follows:
- Load data
- Data must be loaded from a folder containing three subfolders, one for each event view of the same events.
- Calculate magnification:
- Click Magnification (a new menu appears)
- Need to choose two fiducials at the front (big, primed names) and two at the bottom (small, unpriced names), for each of them:
- Select the name in the drop down menu
- Create a point in the position of the corresponding fiducial marking and click Add
- When all four fiducials are added, click Calculate magnification, this will save the magnification parameters
- Click OK to close the Magnification menu
- Add New particle, selecting a type and decay out of the options
- If a Sigma +/- is selected measure length, radius and stereo shift
- If a Lambda 0 is selected measure length, decay angles and stereo shift
- Measure radius
- Select the Radii and Lengths layer on the layer list
- Position three points along the track of the recoiling pion to the Sigma
- Select the three points and click Calculate radius (the radius measurement is added to the particle corresponding to the row selected in the table)
- Measure decay length
- If not yet selected, select the Radii and Lengths layer on the layer list
- Position two points at the vertex of creation and decay of the Sigma+/- or the Lambda 0
- Select the two points and click Calculate decay length (the decay length measurement is added to the particle corresponding to the row selected in the table)
- Measure stereoshift
- Click Stereoshift (a new menu appears and a points layer is created)
- Choose the position of the reference point, the fiducial and the point of interest in the first View
- Use the slider at the bottom to change the View (make sure you stay in the same event, this can be verified by the event number engraved in the image)
- Choose the position of the reference point, the fiducial and the point of interest in the second View
- Click Calculate
- Click Save to table
- Click Cancel to close the Stereoshift menu and delete the points layer
- Measure decay angles (only makes sense for Lambda 0)
- Click Calculate angles (a new menu appears and a shapes layer is created containing three lines)
- Position the intersection of the lines on the Lambda 0 decay point (vertex of the V)
- Align the the lines with the direction of each particle:
- Green: Lamda 0 direction (from the production to the decay vertex)
- Red: Proton direction (tangent to the proton track at the Lambda 0 decay vertex)
- Blue: Pion direction (tangent to the pion track at the Lambda 0 decay vertex)
- Click Calculate
- Click Save to table
- Click Cancel to close the menu and delete the shapes layer
- Apply magnification and check that the quantities in the table are corrected by the magnification
- Save the table to a csv file using the Save button