Tasks 7-8
Overview
Teaching: 0 min
Exercises: 120 minQuestions
Information and objectives for tasks 7-8
Objectives
Find the final two parts of the file name!
Task 7 - Exploring a Reconstructed Output File
In this task, we will take a closer look at the branches contained within a reconstruction file. You may find lesson 2 of the analysis tutorial to be useful here if you have not looked at analysis files before.
Exercise:
- Using the file -
/volatile/eic/EPIC/RECO/25.08.0/epic_craterlake/EXCLUSIVE/UCHANNEL_PI0/18x275/pi0_18x275_uChannel_Q2of0to10_hiDiv.0104.eicrecon.edm4eic.root, do the following:- Check the number of branches this file contains
- Find the number of branches that contain
ZDCwithin their name, do not include branches that begin with_- Find the number of branch elements contained within these branches
- Divide the number of branch elements by the number of branches, square root this number and round it to the nearest integer. This number to get your clue for task 7.
As a formula - \(round(sqrt(Elements/Branches))\)
Task 8 - Using MC Particles
In this task, we will do a basic analysis of some information contained within a reconstruction file. Namely, we will look at the inforrmation in the MCParticles branch. Accessing the truth information is very important in simulation studes. You may find lesson 3 of the analysis tutorial to be useful here if you have not looked at analysis files before.
Exercise:
- Using the file -
/volatile/eic/EPIC/RECO/25.08.0/epic_craterlake/EXCLUSIVE/UCHANNEL_PI0/18x275/pi0_18x275_uChannel_Q2of0to10_hiDiv.0104.eicrecon.edm4eic.root, the same as Task 7, do the following using theMCParticlesbranch:
- Determine the number of stable, final state electrons that have an associated reconstructed particle
- Determine the number of stable, final state photons that have an associated reconstructed particle
- Determine multiply the number of electrons and photons you found together to get your answer to task 8.
- If this product is not a 4 digit integer, add 0’s in front to make it a 4 digit number. E.g.
14would be0014.
Comment:
- You will need to utilise the
ReconstructedParticleAssociationscollection to find whether your MC particles have an associated reconstructed particle or not.
Answer Checker
Once you have your solutions from tasks 7-8, you can check your answers using this link.
Key Points