# TLDR

If that documentation is too long, here's a lightning walkthrough:

Create a working environment and a project

```
cd /path/to/workarea
mkdir -p /path/to/workarea/run /path/to/workarea/build
cd build
setupATLAS # if you haven't done this already
asetup 21.2.32,AnalysisBase
lsetup git
cd ../
### choose a name for your project, I'm calling it "AnaProject"
curl https://gitlab.cern.ch/atlas-trt-software/TRTFramework/raw/v2.X-branch/scripts/GenerateProject.py | python - AnaProject
```

You now have a git repository with `TRTFramework` as a submodule. Let's compile it

```
cd build
cmake ../AnaProject ## or whatever you called your project
make -j4
source $AnalysisBase_PLATFORM/setup.sh
## if using a local cluster $AnalysisBase_PLATFORM might not be set
## you should source the setup.sh file which is in a folder that should
## start with x86_64...
```

Run your first job by copying over the example config file and sample list:

```
cd /path/to/workarea/run
cp ../AnaProject/TRTFramework/data/default.cfg .
cp ../AnaProject/TRTFramework/data/sample_list.txt .
```

Now run with

```
runAnaProjectLooperAlg -c default.cfg -i sample_list.txt -o job_output
```

Now go ahead and check out the algorithm code in `AnaProject/AnaProjectLooper`, that's where you'll need to do your development. The class `AnaProjectLooperAlg` inherits from `xTRT::Algorithm` which itself inherits from the EventLoop algorithm class (`EL::Algorithm`). Go read the [config](/trtframework/config.md) section and the [doxygen documentation](https://webhome.phy.duke.edu/~ddavis/TRTFramework/).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://atlastrt.gitbook.io/trtframework/tldr.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
