Back to home page

sPhenix code displayed by LXR

 
 

    


Warning, /tutorials/Momentum/README.md is written in an unsupported language. File is not indexed.

0001 # Example simulation/reconstruction for quick tracker tuning
0002 
0003 Before running any of the macros, source the sphenix setup script:
0004 ```
0005 source /opt/sphenix/core/bin/sphenix_setup.csh
0006 ```
0007 
0008 The output file (by default FastTrackingEval.root) contains a tracks ntuple with track quantities (truth and reconstructed) and an ntuple with vertex quantities. The eta ranges differ in the macros to play with the coverage.
0009 
0010 * Fun4All_G4_Momentum.C: 6 layer silicon cylinder detector with constant 1.5T solenoidal field.
0011 
0012 * Fun4All_G4_Momentum_Projection.C: Same as above. With added projections on two cylinders (2cm and 70cm) and a vertical plane at 100cm downstream
0013 
0014 * Fun4All_G4_Momentum_Projection_Detectors.C: Same as above, with added cylinders at the projections to get a measure of the actual simulated track
0015 
0016 * Fun4All_G4_Momentum_Projection_Calorimeters.C: 6 layer silicon cylinder detector with constant 1.5T solenoidal field with central barrel EMCal (CEMC) and corresponding projections to it center. It runs very significantly longer than the other macros because the calorimeter sims are cpu intensive.