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

Switch to datasets v2.2.0 #341

Merged
merged 13 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading