Functions | Variables
hadd_caf Namespace Reference

Functions

def chunks (l, n)
 functions More...
 

Variables

 parser = OptionParser()
 
 help
 
 action
 
 type
 
 dest
 
 default
 
 options
 
 args
 
 protocal
 run More...
 
 input_files = glob.glob("%s%s.root"%(options.input,options.wildcard))
 Get input files. More...
 
 exclude_tokens = options.exclude.split(",")
 
list new_file_list = []
 
 chunked_lists = chunks(input_files,100)
 If adding in sections prepare these and remake the input file list. More...
 
string input_files_str = " "
 Add the final input file list. More...
 
string cmd = "%s %s_section_%i.root %s"
 

Function Documentation

def hadd_caf.chunks (   l,
  n 
)

functions

Definition at line 5 of file hadd_caf.py.

5 def chunks(l, n):
6  return_list = []
7  for i in xrange(0, len(l), n):
8  return_list.append(l[i:i+n])
9  return return_list
def chunks(l, n)
functions
Definition: hadd_caf.py:5

Variable Documentation

hadd_caf.action

Definition at line 13 of file hadd_caf.py.

hadd_caf.args

Definition at line 22 of file hadd_caf.py.

hadd_caf.chunked_lists = chunks(input_files,100)

If adding in sections prepare these and remake the input file list.

Definition at line 63 of file hadd_caf.py.

string hadd_caf.cmd = "%s %s_section_%i.root %s"

Definition at line 69 of file hadd_caf.py.

hadd_caf.default

Definition at line 13 of file hadd_caf.py.

hadd_caf.dest

Definition at line 13 of file hadd_caf.py.

hadd_caf.exclude_tokens = options.exclude.split(",")

Definition at line 49 of file hadd_caf.py.

hadd_caf.help

Definition at line 13 of file hadd_caf.py.

hadd_caf.input_files = glob.glob("%s%s.root"%(options.input,options.wildcard))

Get input files.

Definition at line 44 of file hadd_caf.py.

string hadd_caf.input_files_str = " "

Add the final input file list.

Definition at line 68 of file hadd_caf.py.

list hadd_caf.new_file_list = []

Definition at line 51 of file hadd_caf.py.

hadd_caf.options

Definition at line 22 of file hadd_caf.py.

hadd_caf.parser = OptionParser()

Definition at line 12 of file hadd_caf.py.

hadd_caf.protocal

run

Definition at line 41 of file hadd_caf.py.

hadd_caf.type

Definition at line 13 of file hadd_caf.py.