Skip to content

Commit

Permalink
Merge branch 'dev_v3' of github.com:susy2015/NanoSUSY-tools into dev_v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhenbin Wu committed Sep 7, 2019
2 parents 1d43635 + 3d46849 commit 1f23bde
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# NanoSUSY-tools
Postprocessing script for Stop 0L analysis

See the [readme](python/processors/Condor/README.md) in "NanoSUSYTools/python/processors/Condor" for specific instructions for condor submission.

### Set up CMSSW

```tcsh
Expand All @@ -17,6 +19,7 @@ cd $CMSSW_BASE/src
cmsenv
git clone https://github.com/cms-tau-pog/TauIDSFs TauPOG/TauIDSFs
git clone -b Stop0l [email protected]:susy2015/nanoAOD-tools.git PhysicsTools/NanoAODTools
# For condor submission check the specific tag checkout instructions in [readme](python/processors/Condor/README.md)
git clone -b dev_v3 [email protected]:susy2015/NanoSUSY-tools.git PhysicsTools/NanoSUSYTools
git clone -b Stop0l_NanoAOD_production_V3.1 [email protected]:susy2015/TopTagger.git
scram b
Expand Down
40 changes: 40 additions & 0 deletions python/processors/Condor/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Instructions for condor submission

The instructions here are up to date for postprocessing v3.0. If you are submittion for a different fine the approperiate NanoSUSY-tools tag for the desired post processing version.

It is highly advisable to check out a clean CMSSW release and follow the setup readme from scratch for each new submission to reduce the possibility of unwanted local changes causing issues.

The instructions here assume you have followed the main [README](../../../README.md).

### NanoSUSY-tools tag for submission

Use the following tag for postprocessing submissions

```
cd $CMSSW_BASE/src/PhysicsTools/NanoSUSYTools/
git checkout postpro_v3.0
scram b -j8
```
### StopCfg tag for submission

For submission of postprocessing use the following pre-processing files from the stopCfg tag [PreProcessed_StopNtuple_V3](https://github.com/susy2015/StopCfg/releases/tag/PreProcessed_StopNtuple_V3). The tag can checked out with the following command

```git clone -b PreProcessed_StopNtuple_V3 [email protected]:susy2015/StopCfg.git```

### Condor submission command

The correct command for condor submission is

```python SubmitLPC.py -c path/to/file.cfg -e [year] ```

Specific example for 2016 submission

```python SubmitLPC.py -c StopCfg/sampleSets_PreProcessed_2016.cfg -e 2016 ```

Output log files from this command will be put in `~/nobackup/condor_temp`. The output root files will be put in the aproperiate directories in `/store/user/lpcsusyhad/Stop_production` automatically.

### Checking for errors after all jobs are complete

Be sure to check for any failed jobs after they are complete by looking through the log files with the following command

``` ```

0 comments on commit 1f23bde

Please sign in to comment.