All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
geometry_sbnd.fcl
Go to the documentation of this file.
1 #
2 # File: geometry_sbnd.fcl
3 # Purpose: configuration of SBND geometry services
4 # Version: 1.5
5 #
6 # Offsers:
7 # * single service configuration:
8 # - sbnd_geo: configuration for Geometry service (standard SBND geometry);
9 # configure it in services table as:
10 #
11 # services.Geometry: @local::sbnd_geo
12 #
13 # - sbnd_geometry_helper: configuration for ExptGeoHelperInterface service
14 # configure it in services table as:
15 #
16 # services.ExptGeoHelperInterface: @local::sbnd_geometry_helper
17 #
18 # * bundles:
19 # - sbnd_geometry_services: complete geometry configuration; add it to
20 # the service table as:
21 #
22 # services: {
23 # # ...
24 #
25 # @table::sbnd_geometry_services
26 #
27 # # ...
28 # } # services
29 #
30 #
31 # Future geometry
32 # ---------------
33 # The future geometry is currently the v00_08 (by Gustavo Valdiviesso).
34 # To use it with an existing configuration (e.g., standard_g4_sbnd.fcl),
35 # a complete FHiCL file may look like:
36 #
37 # #include "standard_g4_sbnd.fcl"
38 #
39 # services: {
40 # @table::services # everything unchanged...
41 # @table::future_sbnd_geo::sbnd_geometry_services
42 # }
43 #
44 #
45 # Changes:
46 # 20160707 (petrillo@fnal.gov) [1.1]
47 # added sbnd_geometry_services
48 #
49 #20190805 (dbrailsf@fnal.gov) [1.2]
50 # Bumped the geometry version to v01_03
51 
52 #include "geometry.fcl"
53 
54 BEGIN_PROLOG
55 
56 sbnd_geometry_file: "sbnd_v02_00.gdml"
57 sbnd_geometry_file_nowires: "sbnd_v02_00_nowires.gdml"
58 
59 
60 #
61 # sourec of geometry description
62 #
63 sbnd_geo_source: {
64  Name: "sbndv2"
67 } # sbnd_geo_source
68 
69 #
70 # standard SBND geometry
71 #
72 sbnd_geo:
73 {
74  SurfaceY: 130.0e2 #in cm, vertical distance to the surface
75 
76  @table::sbnd_geo_source
77 
79  DetectorVersion: "sbnd"
80  }
81 
82  SurfaceY: 0.0e2 #in cm, vertical distance to the surface
83  DisableWiresInG4: true
84 
85 } # sbnd_geo
86 
87 sbnd_geometry_helper:
88 {
89  service_provider : SBNDGeometryHelper
90 }
91 
92 sbnd_auxdetgeo:
93 {
94  @table::sbnd_geo_source
95  SortingParameters: {} # empty parameter set for default
96 }
97 
98 sbnd_auxdetgeometry_helper:
99 {
100  service_provider: "sbndcode/CRT/CRTGeometryHelper"
101 }
102 
103 #
104 # sbnd_geometry_services
105 #
106 sbnd_geometry_services: {
107  ExptGeoHelperInterface: @local::sbnd_geometry_helper
108 # ExptGeoHelperInterface: @local::standard_geometry_helper
109  GeometryConfigurationWriter: {}
110  Geometry: @local::sbnd_geo
111  AuxDetExptGeoHelperInterface: @local::sbnd_auxdetgeometry_helper
112  AuxDetGeometry: @local::sbnd_auxdetgeo
113 } # sbnd_geometry_services
114 
115 
116 ###############################################################################
117 #
118 # Future geometry configuration;
119 #
120 # no furure geometry configuration right now...
121 #
122 future_sbnd_geo: {}
123 
124 future_sbnd_geo.sbnd_geo_source: @local::sbnd_geo_source
125 
126 future_sbnd_geo.sbnd_geo: {
127  @table::sbnd_geo
128  @table::future_sbnd_geo.sbnd_geo_source # overriding geometry source
129 } # future_sbnd_geo.sbnd_geo
130 
131 future_sbnd_geo.sbnd_auxdetgeo: {
132  @table::sbnd_auxdetgeo
133  @table::future_sbnd_geo.sbnd_geo_source # overriding geometry source
134 } # future_sbnd_geo.sbnd_auxdetgeo
135 
136 future_sbnd_geo.sbnd_geometry_services: {
137  @table::sbnd_geometry_services
138  Geometry: @local::future_sbnd_geo.sbnd_geo
139  AuxDetGeometry: @local::future_sbnd_geo.sbnd_auxdetgeo
140 } # future_sbnd_geo.sbnd_geometry_services
141 
142 ###############################################################################
143 #
144 
145 # ********************************************************
146 # *** USE FUTURE GEOMETRY (for test branch only!!!) ***
147 # ********************************************************
148 
149 sbnd_geometry_services: @local::future_sbnd_geo.sbnd_geometry_services
150 
151 ###############################################################################
152 
153 END_PROLOG
154 
const geo::GeometryCore * geometry
do source
#define the
process_name vertical distance to the surface vertical distance to the surface DisableWiresInG4
services AuxDetGeometry
double distance(geo::Point_t const &point, CathodeDesc_t const &cathode)
Returns the distance of a point from the cathode.
BEGIN_PROLOG sbnd_geometry_file
BEGIN_PROLOG vertical distance to the surface Name
if &&[-z"$BASH_VERSION"] then echo Attempting to switch to bash bash shellSwitch exit fi &&["$1"= 'shellSwitch'] shift declare a IncludeDirectives for Dir in
bool empty(FixedBins< T, C > const &) noexcept
Definition: FixedBins.h:555
BEGIN_PROLOG vertical distance to the surface table::sbnd_geo_source SortingParameters