rundphaseFarDetector.sh
Go to the documentation of this file.
1 #!/bin/bash
2 
3 #################################
4 ### Far detector (drift in Y) ###
5 #################################
6 
7 # with wires for larcore
8 perl generate_dunedphase10kt_v2_driftY.pl -w 1 -o dphase_geo_driftY.xml --pmtdensity 1 --TPBFoils 1
9 perl make_gdml.pl -i dphase_geo_driftY.xml -o dunedphase10kt_v2_driftY.gdml
10 
11 # clean up
12 rm dunedphase10kt_v2_driftY_*.gdml
13 rm dphase_geo_driftY.xml
14 
15 # no wires for geant
16 perl generate_dunedphase10kt_v2_driftY.pl -w 0 -o dphase_geo_driftY_nowires.xml --pmtdensity 1 --TPBFoils 1
17 perl make_gdml.pl -i dphase_geo_driftY_nowires.xml -o dunedphase10kt_v2_driftY_nowires.gdml
18 
19 # clean up
20 rm dunedphase10kt_v2_driftY_nowires_*.gdml
21 rm dphase_geo_driftY_nowires.xml
22 
23 # with wires for larcore
24 perl generate_dunedphase10kt_v2_driftY.pl -w 1 -o dphase_geo_driftY_HalfFoil.xml --pmtdensity 1 --TPBFoils 2
25 perl make_gdml.pl -i dphase_geo_driftY_HalfFoil.xml -o dunedphase10kt_v2_driftY_HalfFoil.gdml
26 
27 # clean up
28 rm dunedphase10kt_v2_driftY_HalfFoil_*.gdml
29 rm dphase_geo_driftY_HalfFoil.xml
30 
31 # no wires for geant
32 perl generate_dunedphase10kt_v2_driftY.pl -w 0 -o dphase_geo_driftY_HalfFoil_nowires.xml --pmtdensity 1 --TPBFoils 2
33 perl make_gdml.pl -i dphase_geo_driftY_HalfFoil_nowires.xml -o dunedphase10kt_v2_driftY_HalfFoil_nowires.gdml
34 
35 # clean up
36 rm dunedphase10kt_v2_driftY_HalfFoil_nowires_*.gdml
37 rm dphase_geo_driftY_HalfFoil_nowires.xml
38 
39 # with wires for larcore
40 perl generate_dunedphase10kt_v2_driftY.pl -w 1 -o dphase_geo_driftY_2PMTperM2.xml --pmtdensity 2 --TPBFoils 0
41 perl make_gdml.pl -i dphase_geo_driftY_2PMTperM2.xml -o dunedphase10kt_v2_driftY_2PMTperM2.gdml
42 
43 # clean up
44 rm dunedphase10kt_v2_driftY_2PMTperM2_*.gdml
45 rm dphase_geo_driftY_2PMTperM2.xml
46 
47 # no wires for geant
48 perl generate_dunedphase10kt_v2_driftY.pl -w 0 -o dphase_geo_driftY_2PMTperM2_nowires.xml --pmtdensity 2 --TPBFoils 0
49 perl make_gdml.pl -i dphase_geo_driftY_2PMTperM2_nowires.xml -o dunedphase10kt_v2_driftY_2PMTperM2_nowires.gdml
50 
51 # clean up
52 rm dunedphase10kt_v2_driftY_2PMTperM2_nowires_*.gdml
53 rm dphase_geo_driftY_2PMTperM2_nowires.xml
54