-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUseful.info
More file actions
37 lines (17 loc) · 1.23 KB
/
Useful.info
File metadata and controls
37 lines (17 loc) · 1.23 KB
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
How to search in terminal for files
[This is outdated] dbs search --query="find dataset where dataset=/JetMETTau/Run2010A-Jul15thReReco-v1/RECO" | sort -n
dasgoclient --query="dataset dataset=/DarkMatter_Codex_LQ*_TuneCP5_13TeV-madgraph/RunIIFall17MiniAOD*/MINIAODSIM"
How to find large file size on linux:
Find all files that have a size >= 100MB, from root folder and its sub-directories.
sudo find / -type f -size +100000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
Script to make webpage of shapes:
You need V00-02-11 or later of HiggsAnalysis/HiggsToTauTau (or just take the head)
Recompile, rehash, then
shape_audit.py your_datacard_file.root
python -m SimpleHTTPServer &
access it from your local machine by typing in this URL in your browser: http://127.0.0.1:8000
ls my_list_of_shape_uncertainties* | xargs -n 1 cat >> mega_list.txt
cat my_list_of_shape_uncertainties_*.txt | xargs -n 1 -I {} echo '{} shape' >> unc.conf
cat q.txt | xargs -n 1 -I {} echo 'sh copy_from_srm_2.sh {} I' > mmm.txt
find ~/ -name eventdict.h
xrdcp root://xrootd.unl.edu//store/mc/RunIISpring15DR74/WJetsToLNu_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/MINIAODSIM/Asympt25ns_MCRUN2_74_V9-v1/00000/20290DD9-41FD-E411-B8D0-1CC1DE04FF50.root M.root