Back to home page

EIC code displayed by LXR

 
 

    


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

0001 # Helix
0002 
0003 contact person: marr@bnl.gov
0004 
0005 This example utilizes helix swimming method to find two-track DCA
0006 which can be used for reconstructing D0 decay vertices. 
0007 
0008 Usage: 
0009 ```
0010 eic-shell
0011 make
0012 ./analysis
0013 ```
0014 
0015 If you want to use the code locally, please make sure you have ROOT
0016 installed. In particular, if your ROOT is compiled with a recent c++ verion, you
0017 might need to replace the following two lines in StHelix.h
0018 ```
0019   if (!::finite(mDipAngle    ))         return   11;
0020   if (!::finite(mCurvature   ))         return   12; 
0021 ```
0022 with
0023 ```
0024   if (!std::isfinite(mDipAngle    ))    return   11;
0025   if (!std::isfinite(mCurvature   ))    return   12;
0026 ```