ra4_macros  bede988c286599a3a84b77a4d788ac0a971e89f9
Functions | Variables
make_rpv_snippets Namespace Reference

Functions

def copytemplate (template, jobindex)
 
def replacestringinfile (filename, stringbefore, stringafter)
 
def writetemplate ()
 
def writescript ()
 

Variables

string PATH = '/homes/jaehyeokyoo/RPV/ra4_macros_heller'
 
list VARLIST
 
tuple newfilename = copytemplate('TEMPLATE.cmd', vartype)
 

Function Documentation

def make_rpv_snippets.copytemplate (   template,
  jobindex 
)
Copy template to rundir

Definition at line 6 of file make_rpv_snippets.py.

def make_rpv_snippets.replacestringinfile (   filename,
  stringbefore,
  stringafter 
)
Replace placeholders in template

Definition at line 13 of file make_rpv_snippets.py.

def make_rpv_snippets.writescript ( )
Write script for condor jobs

Definition at line 35 of file make_rpv_snippets.py.

def make_rpv_snippets.writetemplate ( )
Output template

Definition at line 21 of file make_rpv_snippets.py.

Variable Documentation

tuple make_rpv_snippets.newfilename = copytemplate('TEMPLATE.cmd', vartype)

Definition at line 86 of file make_rpv_snippets.py.

tuple make_rpv_snippets.PATH = '/homes/jaehyeokyoo/RPV/ra4_macros_heller'

Definition at line 49 of file make_rpv_snippets.py.

list make_rpv_snippets.VARLIST
Initial value:
1 = ['nominal','btag_bc', 'btag_udsg',
2  'gs45', 'gs67', 'gs89', 'gs10Inf',
3  'jes', 'jer',
4  'lep_eff', 'ttbar_pt', 'pileup',
5  'isr',
6  'qcd_flavor',
7  # the following are njet-dependent
8  # versions of the previous variation
9  'qcd_flavor45', 'qcd_flavor67',
10  'qcd_flavor89', 'qcd_flavor10Inf',
11  'qcd_mur', 'qcd_muf', 'qcd_murf',
12  'ttbar_mur', 'ttbar_muf', 'ttbar_murf',
13  'wjets_mur', 'wjets_muf', 'wjets_murf',
14  'other_mur', 'other_muf', 'other_murf',
15  'signal_mur', 'signal_muf', 'signal_murf']

Definition at line 50 of file make_rpv_snippets.py.