~mbogomilov/maus/devel

« back to all changes in this revision

Viewing changes to bin/user/PiMu_Macro/README

  • Committer: Mariyan Bogomilov
  • Date: 2013-02-12 16:39:23 UTC
  • Revision ID: mbogomilov@abv.bg-20130212163923-qvl0zu0hdr7wteyd
Add PiMu separation algorithm.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
This is a howto run pimu.C macro.
 
2
 
 
3
0) The macro run pimu.C and *.root files must be in the same directory
 
4
1) Open root session
 
5
2) Link the macro by typing
 
6
  .L pimu.C
 
7
3) Execute macro by typing
 
8
   pimu("XX", "YY")
 
9
where XX must be one of {P1, P2, P3} for defined TOF windows
 
10
and YY = {unw, w}.
 
11
"unw" stands for not weighted tof distribution, "w" for weighted
 
12
 
 
13
 
 
14
Results for pi and mu fractions are stored in a file defined in the macro by char* FileName = ...
 
15
 
 
16
* There is an option to inject muons in pion peak in calibration runs (see description in macro).
 
17
* One can choose different tof windows if he wants.
 
18
 
 
19
/////////////////////////
 
20
The root files are:
 
21
 
 
22
240 MeV/c muon run:
 
23
PiMuSeparation_muon1.root
 
24
 
 
25
Calibration runs:
 
26
PiMuSeparation_3253.root
 
27
PiMuSeparation_3426.root
 
28
PiMuSeparation_3252_3250.root
 
29
PiMuSeparation_3261.root
 
30
PiMuSeparation_3256.root
 
31
PiMuSeparation_3254.root
 
 
b'\\ No newline at end of file'