Skip to content

Commit 8a9af29

Browse files
committed
added GPL
1 parent 6e6554f commit 8a9af29

20 files changed

+725
-36
lines changed

GPL

+674
Large diffs are not rendered by default.

framework/analyzer.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2014 Colin Bernet
2+
# https://github.com/cbernet/heppy/blob/master/GPL
3+
14
import os
25
import logging
36

framework/anapath.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2014 Colin Bernet
2+
# https://github.com/cbernet/heppy/blob/master/GPL
3+
14
import os
25
import sys
36

framework/chain.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
# Copyright (C) 2014 Colin Bernet
2+
# https://github.com/cbernet/heppy/blob/master/GPL
3+
14
import glob
25
from ROOT import TChain, TFile, TTree, gSystem
36

4-
# print 'loading data model - ALBERS SPECIFIC'
5-
# gSystem.Load("libDataModelExample") # .so or .dylib on the mac..
6-
77
class Chain( object ):
88
"""Wrapper to TChain, with a python iterable interface.
99

framework/config.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
# Copyright (C) 2014 Colin Bernet
2+
# https://github.com/cbernet/heppy/blob/master/GPL
3+
14
from weight import Weight
25
import glob
36

4-
57
def printComps(comps, details=False):
68
'''
79
Summary printout for a list of components comps.

framework/eventsalbers.py

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
from eventstore import EventStore as Events
2-
3-
## class Events(object):
1+
# Copyright (C) 2014 Colin Bernet
2+
# https://github.com/cbernet/heppy/blob/master/GPL
43

5-
## def __init__(self, files, tree_name):
6-
## self.store = EventStore(files[0])
7-
8-
## # def __len__(self):
9-
## # return len(self.store)
4+
from eventstore import EventStore as Events

framework/eventsdummy.py

-19
This file was deleted.

framework/eventstfile.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2014 Colin Bernet
2+
# https://github.com/cbernet/heppy/blob/master/GPL
3+
14
from ROOT import TFile
25

36
class Events(object):

framework/looper.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2014 Colin Bernet
2+
# https://github.com/cbernet/heppy/blob/master/GPL
3+
14
import os
25
import sys
36
import imp

framework/weight.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright (C) 2014 Colin Bernet
2+
# https://github.com/cbernet/heppy/blob/master/GPL
13

24
def printWeights( weights ):
35
for key, value in weights.iteritems():

scripts/heppy_check.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env python
2+
# Copyright (C) 2014 Colin Bernet
3+
# https://github.com/cbernet/heppy/blob/master/GPL
24

35
import sys
46
import re

scripts/heppy_hadd.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env python
2+
# Copyright (C) 2014 Colin Bernet
3+
# https://github.com/cbernet/heppy/blob/master/GPL
24

35
import os
46
import pprint

scripts/multiloop.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/usr/bin/env python
2+
# Copyright (C) 2014 Colin Bernet
3+
# https://github.com/cbernet/heppy/blob/master/GPL
4+
25
import os
36
import shutil
47
import glob

statistics/average.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
# Copyright (C) 2014 Colin Bernet
2+
# https://github.com/cbernet/heppy/blob/master/GPL
3+
14
import math
25
import pickle
36
from heppy.utils.diclist import diclist
47

5-
#TODO make user interface less verbose?
6-
78
class Average(object):
89

910
def __init__(self, name):

statistics/counter.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2014 Colin Bernet
2+
# https://github.com/cbernet/heppy/blob/master/GPL
3+
14
import pickle
25
from heppy.utils.diclist import diclist
36

statistics/histograms.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# from ROOT import TTree, TH1F, TH2F, TProfile, gDirectory
2-
#ROOTTOOLS
1+
# Copyright (C) 2014 Colin Bernet
2+
# https://github.com/cbernet/heppy/blob/master/GPL
3+
34
class Histograms(object):
45
'''Base class to handle writing and formatting of a set of histograms.
56

statistics/tree.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2014 Giovanni Petrucciani
2+
# https://github.com/cbernet/heppy/blob/master/GPL
3+
14
import numpy
25
from ROOT import TTree
36

statistics/value.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2014 Colin Bernet
2+
# https://github.com/cbernet/heppy/blob/master/GPL
3+
14
import math
25
import copy
36

utils/deltar.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
#ROOTTOOLS
1+
# Copyright (C) 2014 Colin Bernet
2+
# https://github.com/cbernet/heppy/blob/master/GPL
3+
24
import math
35
import copy
46

utils/diclist.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (C) 2014 Colin Bernet
2+
# https://github.com/cbernet/heppy/blob/master/GPL
3+
14
class diclist( list ):
25

36
def __init__(self):

0 commit comments

Comments
 (0)