Parametric simulation

From Charm-Tau Detector
(Difference between revisions)
Jump to: navigation, search
(Analysis example)
Line 123: Line 123:
  
 
==Analysis example==
 
==Analysis example==
 +
 +
Here a short analysis example of
 +
<math>D^0 \to K_S^0 \pi^+ \pi^-</math>
 +
is presented.
 +
The things are performed with PyROOT.
 +
 +
The data a taken from the available
 +
[[MC_Data_Sets#Exclusive_samples|exclusive sample]].
 +
 +
The code can be taken from github
 +
[https://github.com/lbrl/sctau_py/blob/master/search_dkspipi.py]
 +
or find at the stark cluster:
 +
''/home/razuvaev/myheppy/search_dkspipi.py''.
 +
 +
<gallery>
 +
File:Dkspipi_mksmd0.png|alt=mksmd0.|<math>K_S^0</math> mass vs <math>D^0</math> mass.
 +
File:Dkspipi_md0pd0.png|alt=md0pd0.|<math>D^0</math> mass vs its momentum.
 +
</gallery>

Revision as of 17:17, 25 July 2018

Contents

Talks


About papas, heppy et cetra

Particle propagation is done by geometry calculation. To valid the calculation several different cases were plotted.

Helix.
Helix.


How to run papas

cd heppy

source init.sh

cd test

./heppy_loop.py ../../output/ ctau_cfg1.py

./txt2rtee.py


Output tree

The output tree contains branches which can be divided in several groups:

  • reconstructed particle parameters;
  • generated particle parameters;
  • generated vertices;
  • connection between reconstructed particles, generated particles and generated vertices.

The table below presents branches and description of their content.

Name Type Length Description
Reconstructed particles
n int 1 The number of reconstructed particles.
px float [] n The reconstructed particle momentum: x coordinate.
py float [] n The reconstructed particle momentum: y coordinate.
pz float [] n The reconstructed particle momentum: z coordinate.
Generated particles
n0 int 1 The number of generated particles.
px0 float [] n0 The generated particle momentum: x coordinate.
py0 float [] n0 The generated particle momentum: y coordinate.
pz0 float [] n0 The generated particle momentum: z coordinate.
Generated vertices
nv0 int 1 The number of generated vertices.
vx0 float [] nv0 The generated vertex: x coordinate.
vy0 float [] nv0 The generated vertex: y coordinate.
vz0 float [] nv0 The generated vertex: z coordinate.
Links
recgen int [] n Transform a reconstructed particle index to the generated particle index.
genver int [] n0 Transform a generated particle index to the generated vertex index.

Analysis example

Here a short analysis example of D^0 \to K_S^0 \pi^+ \pi^- is presented. The things are performed with PyROOT.

The data a taken from the available exclusive sample.

The code can be taken from github [1] or find at the stark cluster: /home/razuvaev/myheppy/search_dkspipi.py.

Personal tools