###Authors:
Xiaozhi Bai ([email protected])
Mustafa Mustafa ([email protected]),
Zhenyu Ye ([email protected])
- EvtGen As External Decayer in StarSim, Xiaozhi, S&C , 2015-06-10.
###How to use EvtGen external decayer class in STAR(RCF)
To setup your directory:
mkdir TEST
cd TEST
git clone https://github.com/XiaozhiBai/StarEvtGen.git
cd StarEvtGen
starver DEV
source setup.csh
./cons.csh
You need to load the following shared libraries:
gROOT->LoadMacro("$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
loadSharedLibraries();
gSystem->Load("/star/u/xiao00/Run14/work_AuAu200_NPE/Simulation_NPE/Event_Gen/evtgen/1.3.0/lib/libEvtGen.so");
gSystem->Load("/star/u/xiao00/Run14/work_AuAu200_NPE/Simulation_NPE/Event_Gen/evtgen/1.3.0/lib/libEvtGenExternal.so");
gSystem->Load("/star/u/xiao00/Run14/work_AuAu200_NPE/Simulation_NPE/Event_Gen/pythia8/186/lib/libpythia8.so");
gSystem->Load(".sl64_gcc447/lib/libStarEvtGenDecayer.so");
###Code use example:
Please see StRoot/StEvtGenTest/StEvtGenTest.cxx
for an example for how to instantiate this class.
You will need to compile with the provided custmomized cons.csh
.