def get(**kwds): ''' Get the parameters of the study. Any defaults can be overridden by the keywords. All parameters of the study should be in here. ''' default = dict( # for 'config' stage label='nominal', study='hits', sample='water', particle='gamma', tub='teflon', # or aluminum # for 'sim' stage physics='op,em', energy=1.2*MeV, nevents=10, x=-1000*mm,y=0,z=0, dx=1,dy=0,dz=0, # for 'plot' stage tree = 'cowbells', ) default.update(kwds) sp = StringParams(default) sp.lock() return sp
def get(**kwds): ''' Get the parameters of the study. Any defaults can be overridden by the keywords. All parameters of the study should be in here. ''' default = dict( # for 'config' stage study='under', sample='Water', particle='proton', tub='Teflon', # for 'sim' stage physics = "op,em", energy=500*MeV, # MeV nevents=10, x=-100*mm,y=0,z=0, dx=1,dy=0,dz=0, # for 'plot' stage material_number = 1, tree = 'cowbells', ) default.update(kwds) sp = StringParams(default) sp.lock() return sp
def get(**kwds): ''' Get the parameters of the study. Any defaults can be overridden by the keywords. All parameters of the study should be in here. ''' default = dict( # for 'config' stage study='reflect', reflectivity='0.02', sample='Water', particle='mu-', tub='Aluminum', # for 'sim' stage modules = 'kine,hits,steps,stacks', physics = "op,em", energy=500*MeV, # MeV nevents=10, x=50*mm, y=0, z=100, dx=0, dy=0, dz=-1, # for 'plot' stage material_number = 1, tree = 'cowbells', ) default.update(kwds) sp = StringParams(default) sp.lock() return sp
def get(**kwds): default = dict( # for 'config' stage study='nsrl', label='nominal', # arbitrary sample='water', # for 'sim' stage particle='proton', physics='em,op', energy=2000*MeV, nevents=10, x=0,y=0,z=-5.1*meter, dx=0,dy=0,dz=1, # for 'plot' stage tree = 'cowbells', ) default.update(kwds) sp = StringParams(default) sp.lock() return sp
def get(**kwds): default = dict( # for 'config' stage study='prod', sample='water', tub='teflon', # for 'sim' stage particle='proton', physics='em,op', energy=2000*MeV, nevents=10, x=-100*mm,y=0,z=0, dx=1,dy=0,dz=0, # for 'plot' stage tree = 'cowbells', ) default.update(kwds) sp = StringParams(default) sp.lock() return sp
def get(**kwds): ''' Get the parameters of the study. Any defaults can be overridden by the keywords. All parameters of the study should be in here. ''' default = dict( # for 'config' stage label='nominal', study='boxes', sample='Water', particle='proton', box='Teflon', layout='single', # layout='multi', ndets=3, # number of detectors period = 2*10*mm + 10*mm + 2*inch, # periodicity between two detectors absorber_material = 'Lead', # needs to sync with det thickness absorber_thickness = 10*mm, # and absorber thickness # for 'sim' stage physics = "op,em", energy=500*MeV, # MeV nevents=10, x=-100*mm,y=0,z=0, dx=1,dy=0,dz=0, # for 'plot' stage tree = 'cowbells', ) default.update(kwds) sp = StringParams(default) sp.lock() return sp