Follow these steps to generate simulated events: 

  1. Copy the zip file and place it in your working directory on Rivanna.
  2. Set up the environment using the command: source setup.sh.
  3. Run the Fun4All macro as a basic test before running it on the grid:
    root -b 'Fun4Sim.C(1000)'
  4. 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);
  5. For grid submission, follow the instructions: SpinQuest Monte Carlo Generation on Rivanna




Vertex LocationPhysics Channel

Scripts

2TargetDYDY_Target_script.zip


3TargetJ/Psi
4DumpDY
5DumpJ/Psi
  • No labels