summaryrefslogtreecommitdiff
path: root/detectors/__init__.py
blob: 2028300bf225363fa2f200f76f6f155793bf5524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
from lbne import build_lbne
from sno import build_sno as build_sno_detector
from miniclean import build_miniclean as build_miniclean_detector

# from LBNE document #3951
radius = 63.30/2
height = 76.60
nstrings = 230
pmts_per_string = 88
endcap_spacing = 0.86

def lbne_event_view():
    return build_lbne(radius, height, nstrings, pmts_per_string,
                      endcap_spacing, physical_model=False)

def lbne():
    return build_lbne(radius, height, nstrings, pmts_per_string,
                      endcap_spacing)

def minilbne():
    return build_lbne(radius/10, height/10, nstrings//10, pmts_per_string//10,
                      endcap_spacing)

def microlbne():
    return build_lbne(radius/40, height/40, nstrings//40, pmts_per_string//40,
                      endcap_spacing)

def sno():
    return build_sno_detector()

def cad_sno():
    return build_sno_detector(real_av=True)

def miniclean():
    return build_miniclean_detector()