Difference between revisions of "Monte Carlo code"
From GlueXWiki
Line 18: | Line 18: | ||
where the environment variable ROOTLIBS points to your ROOT libraries | where the environment variable ROOTLIBS points to your ROOT libraries | ||
− | === Download MC code === | + | === Download and run the MC code === |
The MC code can be found [https://userweb.jlab.org/~dugger/triPol/mc/mamiConfig.tar here (mamiConfig.tar)] | The MC code can be found [https://userweb.jlab.org/~dugger/triPol/mc/mamiConfig.tar here (mamiConfig.tar)] |
Revision as of 13:01, 16 January 2013
The goal of this wiki is to give enough information so that someone could install, run, and modify the triplet polarimeter Monte Carlo code.
This is a work in progress
Mami MC code
The Mami MC code is set up to represent the triplet polarimeter expected to be used at Mami
Prerequisites
To install and run the Monte Carlo you will need to have installed:
- ROOT
- GEANT (I have version 4.9.5)
For the GEANT code you will need to modify the analysis.gmk file to include the lines
- CPPFLAGS +=$(shell root-config --cflags)
- ROOTLIBS = $(shell root-config --nonew --libs)
- EXTRALIBS += $(ROOTLIBS)
where the environment variable ROOTLIBS points to your ROOT libraries
Download and run the MC code
The MC code can be found here (mamiConfig.tar)