Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to make standalone run also from within a CMSSW area #36

15 changes: 15 additions & 0 deletions RecoTracker/LSTCore/standalone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ source setup.sh # if on UCSD or Cornell
source setup_hpg.sh # if on Florida
```

Currently, the data files for LST need to be copied manually. This is done by running:

```bash
mkdir -p $CMSSW_BASE/external/$SCRAM_ARCH/data/RecoTracker/LSTCore/
cd $CMSSW_BASE/external/$SCRAM_ARCH/data/RecoTracker/LSTCore/
git clone [email protected]:cms-data/RecoTracker-LSTCore.git data
cd -
```

### Setting up LST outside of CMSSW

For this setup, dependencies are still provided from CMSSW through CVMFS (see below for an even more independent setup) but no CMSSW area is setup. This is done by running the following commands.
Expand All @@ -53,6 +62,12 @@ source setup.sh # if on UCSD or Cornell
source setup_hpg.sh # if on Florida
```

Currently, the data files for LST need to be copied manually. This is done by running:

```bash
git clone [email protected]:cms-data/RecoTracker-LSTCore.git data
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably worth mentioning where this data directory should reside. It's not clear whether it's in standalone or LSTCore.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, and in fact I had the directory wrong in one case. I now fixed that and added an explicit mention of the directory where the data files should end up.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the setup.sh, after it's called the $CMSSW_SEARCH_PATH will already be set.
So, the same git clone [email protected]:cms-data/RecoTracker-LSTCore.git $CMSSW_BASE/external/$SCRAM_ARCH/data/RecoTracker/LSTCore/data should work (note that cd in and out of the target directory is not really necessary)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, nevermind; that search path will not include the local CMSSW checkout

```

<!---
#### Running LST in a CVMFS-less setup

Expand Down