fcs:eic:intro
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
fcs:eic:intro [2016/09/19 22:41] – [Reconstructed events] asc | fcs:eic:intro [2016/12/09 16:34] (current) – [Hit timing information] asc | ||
---|---|---|---|
Line 77: | Line 77: | ||
====== Reconstructed events ====== | ====== Reconstructed events ====== | ||
Each detector in HepSim has " | Each detector in HepSim has " | ||
- | Click this link: [[http:// | + | Click this link: [[http:// |
- | The reconstruction tags are shown in the info page of this sample [[http:// | + | The reconstruction tags are shown in the info page of this sample [[http:// |
<code bash> | <code bash> | ||
Line 93: | Line 93: | ||
You can run such scripts using " | You can run such scripts using " | ||
- | Look at the tutorial [[community: | + | <note tip>Look at the tutorial [[community: |
Here is an example of plotting the distribution of pseudorapidity for truth and reconstructed electrons: | Here is an example of plotting the distribution of pseudorapidity for truth and reconstructed electrons: | ||
Line 109: | Line 109: | ||
{{: | {{: | ||
- | You can use this template to study: | + | Note that the plot is done for all electrons starting from 1 GeV (a region where the efficiency is quite small). |
+ | |||
+ | |||
+ | ====== Hit timing information ====== | ||
+ | |||
+ | |||
+ | |||
+ | You can also look at timing of silicon tracker using this script: {{: | ||
+ | <code bash> | ||
+ | hs-get pgun_elec_eta4_pt30gev%rfull052 data # 2 100 get 100 files in 2 threads in the directory " | ||
+ | fpad eic: | ||
+ | </ | ||
+ | The plot is shown here: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ====== Looking at track resolution ====== | ||
+ | |||
+ | You can also look at single particles with flat pT, Eta and Phi. Here is an example this using a simple validation script {{: | ||
+ | for the MCparticle container inside LCIO file. We will use the "flat pT" sample called [[http:// | ||
+ | |||
+ | <code bash> | ||
+ | hs-get pgun_elec_eta4_pt30gev%rfull052 data 2 100 # get 100 files in 2 threads in the directory " | ||
+ | fpad mc_truth_flat.py | ||
+ | </ | ||
+ | |||
+ | The resulting image is: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Now, let's calculate track resolution. We will use this script {{: | ||
+ | makes fit of pT(reco)/ | ||
+ | This command shown below makes resolution plots, fits with a Gaussian function, and plot resolution as a function of pT: | ||
+ | <code bash> | ||
+ | hs-get pgun_elec_eta4_pt30gev%rfull052 data 2 20 # get 20 files in 2 threads in the directory " | ||
+ | fpad track_resolution.py | ||
+ | </ | ||
+ | |||
+ | The final plot is shown below: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | ====== How to continue ====== | ||
+ | |||
+ | Now you can use this template to study: | ||
* electron efficiency as a function of pT | * electron efficiency as a function of pT | ||
Line 117: | Line 162: | ||
* fake rate (cannot be done with this sample!) | * fake rate (cannot be done with this sample!) | ||
* calculate Q2 and x_bj, check efficiency and resolutions for these variable | * calculate Q2 and x_bj, check efficiency and resolutions for these variable | ||
- | ===== Displaying reconstructed events ===== | + | ====== Displaying reconstructed events |
Line 126: | Line 171: | ||
<code bash> | <code bash> | ||
- | wget http:// | + | wget http:// |
</ | </ | ||
fcs/eic/intro.1474324897.txt.gz · Last modified: 2016/09/19 22:41 by asc