Get Started on SpinQuest Simulation - E1039-Collaboration/e1039-wiki GitHub Wiki

Under construction

Obtain a Fermilab computing account

All the related libraries are compiled on the spinquestgpvm01.fnal.gov machine. To access those machines, please start with obtaining a Fermilab computing account if you haven't got one.

Day 1 Checklist:

  1. Login: init Kerberos key, <usr> below means your user name.

    kinit -f <usr>@FNAL.GOV
    <type your password>
    

    login to a submitter node

    ssh -Y <usr>@spinquestgpvm01.fnal.gov
    
  2. Setup: Source the setup macro to set up the environments

    source /exp/seaquest/app/software/osg/software/e1039/this-e1039.sh
    
  3. Check out the code: Check out analysis repository e1039-analysis from our GitHub page

    git clone https://github.com/E1039-Collaboration/e1039-analysis.git
    
  4. Run the simulation + reconstruction macro

    cd e1039-analysis/SimChainDev/
    root -l Fun4Sim.C\(100\)
    

    You will see several root output files.

    • 'GenFitExtrapolatorGeom.root' is the TGeo geometry file used for track fitting purpose.
    • Also contains some other output files for debugging the intermediate processes (eg. tracking, vertexing)

Week 1 Checklist:

  1. GitHub tutorial
  2. Fun4All and Simulation tutorials:
  3. Build your own analysis module
⚠️ **GitHub.com Fallback** ⚠️