Follow these steps to generate simulated events:
- Copy the zip file and place it in your working directory on Rivanna.
- Set up the environment using the command:
source setup.sh
. - Run the Fun4All macro as a basic test before running it on the grid:
root -b 'Fun4Sim.C(1000)'
- If you would like to save your event information as RUS.root format: keep. this portion of the output manager in your macro:
Fun4AllRUSEventOutputManager* tree = new Fun4AllRUSEventOutputManager();
tree->Verbosity(100);
tree->SetTreeName("tree");
tree→SetMCMode(false); (If you set this one to true, it will hold track information.)
tree→SetRecoMode(false);
tree->SetSaveOnlyDimuon(false);
tree->SetFileName("RUS.root");
se->registerOutputManager(tree); - For grid submission, follow the instructions: SpinQuest Monte Carlo Generation on Rivanna.
Vertex Location | Physics Channel | Scripts | |
---|---|---|---|
2 | Target | DY | DY_Target_script.zip |
3 | Target | J/Psi | |
4 | Dump | DY | |
5 | Dump | J/Psi |