Warning, /HEPMC_Merger/README.md is written in an unsupported language. File is not indexed.
0001 # EPIC HEPMC MERGER
0002 ## author: Benjamen Sterwerf, UC Berkeley (bsterwerf@berkeley.edu)
0003
0004 This code is used to combine HEPMC files. You can run this code as:
0005
0006 ```bash
0007 python signal_background_merger.py --Signal_File signal.hepmc --Background_Files background_1.hepmc background_2.hepmc
0008 ```
0009
0010 For more information run:
0011
0012 ```bash
0013 python signal_background_merger.py --help
0014 ```
0015
0016 ## Dependencies
0017
0018 We need to install the ```pyhepmc``` module (e.g. ```pip install pyhepmc```).
0019
0020 ## Variables
0021
0022 1. one_background_particle
0023 - default = ```True```
0024 - Set to True if all the background vertices in the file are to be connected temporally and spatially and False for backgrounds with many particles in the event like SR (synchrotron radiation)
0025 2. Int_Window
0026 - default = ```0```
0027 - length of the integration window in nanoseconds. If set to a value > 0, the signal event will either be set to a random time within the integration window
0028 3. Signal_File
0029 - default = ```'dummy_signal.hepmc'```
0030 - Name of the HEPMC file with signal events
0031 4. Background_Files
0032 - default = ```['dummy_background_1.hepmc','dummy_background_2.hepmc']```
0033 - Names of the HEPMC files with background events
0034