Skip to content

Commit

Permalink
Switch to datasets v2.2.0 (jpata#341)
Browse files Browse the repository at this point in the history
* try with swd

* add cls to was

* normed

* update postprocessing

* update postprocessing

* fix cp-track splitting in postprocessing

* upload dataset

* fix params
  • Loading branch information
jpata authored Sep 2, 2024
1 parent 9736620 commit d0c45d7
Show file tree
Hide file tree
Showing 25 changed files with 797 additions and 527 deletions.
8 changes: 4 additions & 4 deletions mlpf/data_cms/genjob_nopu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
set -e
set -x

OUTDIR=/local/joosep/mlpf/cms/20240702_cptruthdef/nopu/
OUTDIR=/local/joosep/mlpf/cms/20240823_simcluster/nopu/
CMSSWDIR=/scratch/persistent/joosep/CMSSW_14_1_0_pre3
MLPF_PATH=/home/joosep/particleflow/

Expand All @@ -22,7 +22,7 @@ mkdir -p $OUTDIR
PILEUP=NoPileUp
PILEUP_INPUT=

N=200
N=100

env
source /cvmfs/cms.cern.ch/cmsset_default.sh
Expand Down Expand Up @@ -73,15 +73,15 @@ ls -lrt
echo "process.RandomNumberGeneratorService.generator.initialSeed = $SEED" >> step2_phase1_new.py
cmsRun step2_phase1_new.py > /dev/null
cmsRun step3_phase1_new.py > /dev/null
#cmsRun $CMSSWDIR/src/Validation/RecoParticleFlow/test/pfanalysis_ntuple.py
mv pfntuple.root pfntuple_${SEED}.root

python3 ${MLPF_PATH}/mlpf/data_cms/postprocessing2.py --input pfntuple_${SEED}.root --outpath ./
bzip2 -z pfntuple_${SEED}.pkl
cp *.pkl.bz2 $OUTDIR/$SAMPLE/raw/

#copy ROOT outputs
#cp step2_phase1_new.root $OUTDIR/$SAMPLE/root/step2_${SEED}.root
#cp step3_phase1_new.root $OUTDIR/$SAMPLE/root/step3_${SEED}.root
#cp pfntuple_${SEED}.root $OUTDIR/$SAMPLE/root/
cp pfntuple_${SEED}.root $OUTDIR/$SAMPLE/root/

rm -Rf /scratch/local/joosep/$SLURM_JOBID
10 changes: 5 additions & 5 deletions mlpf/data_cms/genjob_pu55to75.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
set -e
set -x

OUTDIR=/local/joosep/mlpf/cms/20240702_cptruthdef/pu55to75/
OUTDIR=/local/joosep/mlpf/cms/20240823_simcluster/pu55to75/
CMSSWDIR=/scratch/persistent/joosep/CMSSW_14_1_0_pre3
MLPF_PATH=/home/joosep/particleflow/

Expand Down Expand Up @@ -77,13 +77,13 @@ cmsRun step2_phase1_new.py > /dev/null
cmsRun step3_phase1_new.py > /dev/null
#cmsRun $CMSSWDIR/src/Validation/RecoParticleFlow/test/pfanalysis_ntuple.py
mv pfntuple.root pfntuple_${SEED}.root
python3 ${MLPF_PATH}/mlpf/data_cms/postprocessing2.py --input pfntuple_${SEED}.root --outpath ./
bzip2 -z pfntuple_${SEED}.pkl
cp *.pkl.bz2 $OUTDIR/$SAMPLE/raw/
# python3 ${MLPF_PATH}/mlpf/data_cms/postprocessing2.py --input pfntuple_${SEED}.root --outpath ./
# bzip2 -z pfntuple_${SEED}.pkl
# cp *.pkl.bz2 $OUTDIR/$SAMPLE/raw/

#copy ROOT outputs
#cp step2_phase1_new.root $OUTDIR/$SAMPLE/root/step2_${SEED}.root
#cp step3_phase1_new.root $OUTDIR/$SAMPLE/root/step3_${SEED}.root
#cp pfntuple_${SEED}.root $OUTDIR/$SAMPLE/root/
cp pfntuple_${SEED}.root $OUTDIR/$SAMPLE/root/

rm -Rf /scratch/local/joosep/$SLURM_JOBID
Loading

0 comments on commit d0c45d7

Please sign in to comment.