-
Notifications
You must be signed in to change notification settings - Fork 6
/
RecoverDeletedFiles.py
85 lines (83 loc) · 4.17 KB
/
RecoverDeletedFiles.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
import os
deleted_files = [
"CheckMCStatus/Datasets.txt",
"CheckMCStatus/McMQuery-Link.txt",
"CheckMCStatus/python/McM-Tickets.py",
"CheckMCStatus/python/Options.py",
"CheckMCStatus/python/init.py",
"DNN_Tools/ScanCatsBins.py",
"DNN_Tools/notes.txt",
"Fragments/Outputs/HHWWgg_NMSSM/NMSSM_XYHWWggqqlnu_MX1000_MY800.py",
"Fragments/Outputs/HHWWgg_NMSSM/NMSSM_XYHWWggqqlnu_MX1600_MY400.py",
"Fragments/Outputs/HHWWgg_NMSSM/NMSSM_XYHWWggqqlnu_MX2000_MY1800.py",
"Fragments/Outputs/HHWWgg_NMSSM/NMSSM_XYHWWggqqlnu_MX300_MY170.py",
"Fragments/Outputs/HHWWgg_NMSSM/NMSSM_XYH_WWgg_qqlnu_MX_300_MY_170.py",
"Fragments/Templates/Resonant_EFT/ResonanceDecayFilter_example_HHTo2G2WTo2G4Q_madgraph_pythia8_CP5_cff.txt",
"Fragments/Templates/Resonant_EFT/TEMPLATE_HHWWgg_qqlnu_withTausAndbsFullTau.txt",
"Fragments/gridpackLocations.txt",
"HIG-21-014/Post-PreAppTalk-Checks/AddVarsToWWZ.py",
"HIG-21-014/Post-PreAppTalk-Checks/CheckStats.py",
"HIG-21-014/Post-PreAppTalk-Checks/ETTPlot.py",
"HIG-21-014/Post-PreAppTalk-Checks/ETTPlot_Tools.py",
"HIG-21-014/Post-PreAppTalk-Checks/EvenOddSplit.py",
"HIG-21-014/Post-PreAppTalk-Checks/FastDataCat.py",
"HIG-21-014/Post-PreAppTalk-Checks/FastSingleHiggsCat.py",
"HIG-21-014/Post-PreAppTalk-Checks/FixMET.py",
"HIG-21-014/Post-PreAppTalk-Checks/HHWWyyDNN_WithHggFactor2-200Epochs-3ClassMulticlass_EvenSingleH_2Hgg_withKinWeightCut10_BalanceYields.txt",
"HIG-21-014/Post-PreAppTalk-Checks/HHWWyyDNN_binary_EFT_noHgg_noNegWeights_BalanceYields_allBkgs_LOSignals_noPtOverM_withKinWeight_weightSel.txt",
"HIG-21-014/Post-PreAppTalk-Checks/ReweightForDNNTrain.py",
"HIG-21-014/Post-PreAppTalk-Checks/SplitSingleHiggsEvenOddFast.py",
"HIG-21-014/Post-PreAppTalk-Checks/arguments.txt",
"HIG-21-014/Post-PreAppTalk-Checks/condor_job.txt",
"HIG-21-014/Post-PreAppTalk-Checks/fastHHsplit.py",
"HIG-21-014/Post-PreAppTalk-Checks/hadd_condor.py",
"HIG-21-014/Post-PreAppTalk-Checks/impacts.json",
"HIG-21-014/Post-PreAppTalk-Checks/run_script.sh",
"Lightweight_MC_Production/GluGluToRadionToHHTo2G2WTo2G4Q_M-250_narrow_13TeV_madgraph_pythia8-fragment.py",
"Lightweight_MC_Production/HIG-RunIISummer19UL17DIGIPremix-00434_1_cfg.py",
"Lightweight_MC_Production/HIG-RunIISummer19UL17DIGIPremix-00434_setup.sh",
"Lightweight_MC_Production/HIG-RunIISummer19UL17SIM-00545_1_cfg.py",
"Lightweight_MC_Production/HIG-RunIISummer19UL17SIM-00545_setup.sh",
"Lightweight_MC_Production/HIG-RunIISummer19UL17wmLHEGEN-00664_setup.sh",
"Lightweight_MC_Production/Submit.py",
"NtupleAnalysis/CombineYields.py",
"NtupleAnalysis/XYMETCorrection.h",
"NtupleAnalysis/Yields-Table-SB_15Feb2021.tex",
"NtupleAnalysis/Yields-Table-SR.tex",
"NtupleAnalysis/Yields-Table-SR_15Feb2021.tex",
"NtupleAnalysis/Yields-Table.tex",
"NtupleAnalysis/output.txt",
"NtupleAnalysis/plotBVetos.py",
"NtupleAnalysis/python/misc.py",
"NtupleAnalysis/vtxEff.py",
"Plot/Data_Plot.py",
"Plot/GEN/GEN_Plotter.py",
"Plot/GEN/GEN_Plotter_Config.py",
"Plot/GEN/SubmitCondorJobs.py",
"Plot/GEN/args.txt",
"Plot/GEN/condorJobFile_1.txt",
"Plot/GEN/condorJobFile_2.txt",
"Plot/GEN/condorJobFile_3.txt",
"Plot/GEN/condorJobFile_4.txt",
"Plot/GEN/condorScript.txt",
"Plot/GEN/condorScript_1.sh",
"Plot/GEN/condorScript_2.sh",
"Plot/GEN/condorScript_3.sh",
"Plot/GEN/condorScript_4.sh",
"Plot/GEN/condor_job.txt",
"Plot/GEN/condor_script.sh",
"Plot/GEN/python/init.py",
"Plot/MC_Sub_Categorize.py",
"Plot/PlotterTools.py",
"Production/KillCrabJobs.sh",
"Production/MC_Producer_10_2_13.sh",
"Production/version_Make_MC_Configs.py",
"Production_Examples/HHWWgg_SM2018_GluGluToHHTo_WWgg_qqlnu_nodeSM_100000events_wPU_MINIAOD_CrabConfig.py",
"crabStatus.sh",
"printCrabStatus.sh",
]
recover_direc = "/afs/cern.ch/project/afs/var/ABS/recover/R.1935072295.03141121/private/HHWWgg_Tools/"
for deleted_file in deleted_files:
c = "cp %s/%s %s"%(recover_direc, deleted_file, deleted_file)
print("$",c)
os.system(c)