-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathscript.sh
More file actions
executable file
·21 lines (20 loc) · 1.03 KB
/
script.sh
File metadata and controls
executable file
·21 lines (20 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
source /cvmfs/cms.cern.ch/cmsset_default.sh
cd /cvmfs/cms.cern.ch/el9_amd64_gcc12/cms/cmssw/CMSSW_13_3_2/src/
eval `scramv1 runtime -sh`
cd -
source setup_el9.sh
BASE=2025_08_SNSPD
chmod 755 NetScopeStandaloneDat2Root
chmod 755 add_branches_TimingDAQ.py
cp /eos/uscms/store/group/cmstestbeam/${BASE}/LecroyScope/RecoData/ConversionRECO/converted_run$1.root .
cp /eos/uscms/store/group/cmstestbeam/${BASE}/Tracks/RecoData/v1/Run$1_CMSTiming_FastTriggerStream_converted.root .
cp /eos/uscms//store/group/cmstestbeam/${BASE}//ConfigInfo/Runs/info_$1.json .
ls
./NetScopeStandaloneDat2Root --input_file=converted_run$1.root --pixel_input_file=Run$1_CMSTiming_FastTriggerStream_converted.root --config=LecroyScope_$2.config --output_file=out_run$1.root --save_meas --correctForTimeOffsets=true
python3 add_branches_TimingDAQ.py $1 9999 out_run$1.root
ls
xrdcp -fs out_run$1_info.root root://cmseos.fnal.gov//store/group/cmstestbeam/${BASE}/LecroyScope/RecoData/TimingDAQRECO/RecoWithTracks/$2//run$1_info.root
rm *$1*.root
rm info_$1.json
date