GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — KLUBAnalysis/parallelScripts.py at master · LLRCMS/KLUBAnalysis

Expand file tree

/

parallelScripts.py

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
19 lines (17 loc) · 783 Bytes
/

parallelScripts.py

Copy path

File metadata and controls

19 lines (17 loc) · 783 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
chs = ['MuTau', 'ETau', 'TauTau']
parts = [(0, 499), (500, 999), (1000, 1499), (1500, 1999), (2000, 2499), (2500, 2672)]
for idx, part in enumerate(parts):
siglist = ['bidimrew' + str(i) for i in range(part[0], part[1]+1)]
strSigs = ', '.join(siglist)
# print strSigs
for ch in chs:
fin = open('config/mainCfg_%s_templateParallel.cfg' % ch)
fout = open('config/mainCfg_%s_part%i.cfg' % (ch, idx), 'w')
for line in fin:
if 'XXX_SIGNALS_XXX' in line:
line = line.replace('XXX_SIGNALS_XXX', strSigs)
if 'XXX_OUTPUT_XXX' in line:
line = line.replace('XXX_OUTPUT_XXX', 'analysis_%s_7Mar_lims_2dscan_part%i' % (ch, idx))
fout.write(line)
fin.close()
fout.close()
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.