from lbne import build_lbne import os import sys dir = os.path.split(os.path.realpath(__file__))[0] sys.path.append(dir + '/..') from view import buildable # from Water Cherenkov case study radius = 65.0/2 height = 80.3 nstrings = 229 pmts_per_string = 90 endcap_spacing = 0.8912 @buildable('lbne') def build_lbne_200kton(): return build_lbne(radius, height, nstrings, pmts_per_string, endcap_spacing) @buildable('minilbne') def build_minilbne(): return build_lbne(radius/10, height/10, nstrings//10, pmts_per_string//10, endcap_spacing)