Back to home page

EIC code displayed by LXR

 
 

    


Warning, /snippets/Exclusive/README.md is written in an unsupported language. File is not indexed.

0001 # snippets/Exclusive
0002 
0003 Snippets related to exclusive, diffractive, and tagged processes at the EIC.
0004 
0005 ## `ePIC_ExcKinUtils.h`
0006 
0007 This is a header file which contains functions for calculating exclusive kinematic quantities. In order to use these functions within any ePIC analysis, the following line should be added to the relevant scripts:
0008 
0009 ```
0010 #include "snippets/Exclusive/ePIC_ExcKinUtils.h"
0011 ```
0012 
0013 The header file here contains functions for calculating the following quantities:
0014 - The energy of a particle, from its scalar mass and vector momentum.
0015 - Missing mass (squared), momentum, pT and energy, for a 2-body final state (a + b -> c + d)
0016 - Missing mass (squared), momentum, pT and energy, for a 3-body final state (a + b -> c + d + f)
0017 - The Mandelstam variable t, using multiple methods as defined in the tRECO convention note
0018 
0019 
0020 The functions take as input the 4 vectors for particles identified within an ePIC event. These 4-vectors can take the form of any type which includes the relevant operators: `.E()`, `.P()`, `.Pt()` and `.M2()`. ROOT's legacy `TLorentzVector` class, and its more recent replacement, `ROOT::Math::LorentzVector`, both contain all of the operators required.
0021 
0022 ## `teXBABE.h`
0023 
0024 A header file to calculate teXBABE. This is a generic formulation of a calculation used in the analysis of DEMP events. Vectors and inputs have been named generically to match the tRECO convention for ease of use and readability.
0025 
0026 ```
0027 #include "snippets/Exclusive/teXBABE.h"
0028 ```
0029 
0030 The header file contains three methods for calculating teXBABE -
0031 
0032 - An explicit method which takes 6 inputs
0033   - Detected scattered electron vector
0034   - Detected X vector
0035   - Detected baryon (BA) vector
0036   - Mass of the expected baryon (BA)
0037   - Electron beam vector
0038   - Hadron beam vector
0039 - A simplified method with 4 inputs
0040   - PMiss vector
0041   - Detected BA vector
0042   - Mass of the expected baryon (BA)
0043   - Hadron beam vector
0044 - Shortest method with 2 inputs
0045   - Corrected BA vector
0046   - Hadron beam vector
0047 
0048 Some comments and additional explanations are included in the file.
0049 
0050 ## Notes
0051 
0052 A test of equivalence between ePIC_ExcKinUtils.h and teXBABE.h should be conducted.