Monte Carlo code

From GlueXWiki
Revision as of 12:32, 16 January 2013 by Dugger (Talk | contribs)

Jump to: navigation, search

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 MC code