@@ -7,7 +7,7 @@ Similar to JUNO Offline, two main structures exist: one is named **`algorithm`**
## Create your own algorithm
Create an algorithm named `ExampleAlg` in `./Analysis`
Create an **`algorithm`** named `ExampleAlg` in `./Analysis`
```bash
cd Analysis
mkdir ExampleAlg
...
...
@@ -118,13 +118,13 @@ source setup.sh
```
## How to add your own algorithm or tool
If the algorithm named `ExampleAlg` was created in `./Analysis`, the folder's name should be add in the `./Analysis/CMakeLists.txt` as
If the **`algorithm`** named `ExampleAlg` was created in `./Analysis`, the folder's name should be add in the `./Analysis/CMakeLists.txt` as
```cmake
add_subdirectory(ExampleAlg)
```
## How to run
There is an example of python script name `run.py` in `./share/`. When you want to run a new tool or algorithm, you can add them into a copy of run.py like
There is an example of python script name `run.py` in `./share/`. When you want to run a new **`tool`** or **`algorithm`**, you can add them into a copy of run.py like
And the name of the **`tool`** should be added into `./share/toolList`
```bash
python run.py --input[list of input] --output[output directory] --evtmax[the number of event will be processed for every ROOT file, -1 means all] --toollist[list of tool]
# python run.py --input [list of input] --output [output directory] --evtmax [the number of event will be processed for every ROOT file, -1 means all] --toollist [list of tool]