All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
legacy_simulationservices_sbnd.fcl
Go to the documentation of this file.
1 #
2 # File: simulationservices_sbnd.fcl
3 # Purpose: collection of standard simulation service settings for SBND
4 # Version: 1.3
5 #
6 # Provides:
7 #
8 # - sbnd_g4_services: services needed by LArG4
9 # - sbnd_detsim_services: services needed by readout simulation
10 # - sbnd_simulation_services: bundle of services including Geant4, optical
11 # and electronics simulation (also includes the core ones)
12 #
13 # Use as:
14 #
15 # services: {
16 # @table::sbnd_simulation_services
17 # # ...
18 # }
19 #
20 # Changes:
21 # 20160601 (petrillo@fnal.gov) [v1.1]
22 # content moved from services_sbnd.fcl
23 #
24 # 20190807 (dbrailsf@fnal.gov) [v1.2]
25 # PhotonVisibilityService included in g4 servces table
26 # OpDetResponseInterface included in detsim services table
27 # Disabled sbnd_opsimulation_services table
28 # Enabled 'FastOptical' in the custom physics list (in largeantparameters)
29 # 20190807 (dbrailsf@fnal.gov) [v1.3]
30 # Added an optional largeantparameters config which does not run the optical sim
31 # 20200616 (ascarff@fnal.gov) [v1.4]
32 # Change diffusion constants to match ProtoDUNE data
33 
34 
35 #include "services_sbnd.fcl"
36 #include "simulationservices.fcl"
37 #include "spacecharge_sbnd.fcl"
38 #include "larfft_sbnd.fcl"
39 #include "signalservices_sbnd.fcl"
40 #include "magfield_larsoft.fcl"
42 #include "backtrackerservice.fcl"
43 #include "spacecharge.fcl"
44 #include "noiseservices_sbnd.fcl"
46 
47 BEGIN_PROLOG
48 
50 sbnd_largeantparameters.ElectronClusterSize: 20.0
51 #Brailsford 27/10/09: Enable the custom physics list and disable its neutron killer
52 sbnd_largeantparameters.UseCustomPhysics: true
53 sbnd_largeantparameters.EnabledPhysics: [ "Em", "FastOptical", "SynchrotronAndGN", "Ion", "Hadron", "Decay", "HadronElastic", "Stopping" ] #Removed the neutron killer
54 sbnd_largeantparameters.UseLitePhotons: true
55 
56 #Define a largeantparameters which doesn't use the optical simulation
57 sbnd_largeantparameters_noopticalsim: @local::sbnd_largeantparameters
58 sbnd_largeantparameters_noopticalsim.EnabledPhysics: [ "Em", "SynchrotronAndGN", "Ion", "Hadron", "Decay", "HadronElastic", "Stopping" ]
59 
60 # ascarff 16Jun2020: Change the diffusion constants to match ProtoDUNE results
61 sbnd_largeantparameters.LongitudinalDiffusion: 4.0e-9 #in cm^2/ns (was 6.2e-9)
62 sbnd_largeantparameters.TransverseDiffusion: 8.8e-9 #in cm^2/ns (was 16.3e-9)
63 sbnd_largeantparameters_noopticalsim.LongitudinalDiffusion: 4.0e-9 #in cm^2/ns (was 6.2e-9)
64 sbnd_largeantparameters_noopticalsim.TransverseDiffusion: 8.8e-9 #in cm^2/ns (was 16.3e-9)
65 
66 
67 sbnd_larvoxelcalculator: @local::standard_larvoxelcalculator # from simulationservices.fcl
68 
69 sbnd_backtrackerservice: @local::standard_backtrackerservice # from backtrackerservice.fcl
70 
71 sbnd_backtrackerservice.BackTracker.G4ModuleLabel: "largeant"
72 sbnd_backtrackerservice.BackTracker.MinimumHitEnergyFraction: 1e-1
73 sbnd_backtrackerservice.BackTracker.OverrideRealData: true
74 
75 sbnd_particleinventoryservice: @local::standard_particleinventoryservice
76 
77 # Define sbnd_g4_services
78 sbnd_g4_services:
79 {
80  @table::sbnd_services
81  @table::sbnd_random_services
82  LArG4Parameters: @local::sbnd_largeantparameters
83  LArVoxelCalculator: @local::sbnd_larvoxelcalculator
84  MagneticField: @local::no_mag_larsoft
85  PhotonVisibilityService: @local::sbnd_Nhits_vuv_vis_prop_timing_photonvisibilityservice
86 } # sbnd_g4_services
87 
88 
89 
90 # Define sbnd_detsim_services
91 sbnd_detsim_services:
92 {
93  @table::sbnd_services
94  @table::sbnd_random_services
95  LArFFT: @local::sbnd_larfft
96  SignalShapingServiceSBND: @local::sbnd_signalshapingservice # from signalservices_sbnd.fcl
97  NoiseModel: @local::sbnd_uboonedatadrivennoiseservice
98  OpDetResponseInterface: @local::sbnd_opdetresponse
99 } # sbnd_detsim_services
100 
101 
102 # Define sbnd_simulation_services
103 sbnd_simulation_services:
104 {
105  @table::sbnd_services
106  @table::sbnd_random_services
107  @table::sbnd_g4_services
108  @table::sbnd_detsim_services
109  SignalShapingServiceSBND: @local::sbnd_signalshapingservice # from signalservices_sbnd.fcl
110  SpaceCharge: @local::sbnd_spacecharge
111 }
112 
113 
114 #sbnd_opsimulation_services:
115 #{
116 # @table::sbnd_simulation_services
117 # OpDetResponseInterface: @local::sbnd_opdetresponse
118 ## PhotonVisibilityService: @local::sbnd_photonvisibilityservice
119 ## OpDigiProperties: @local::sbnd_opdigiproperties
120 #}
121 
122 
123 # Define sbnd_optical_simulation_services
124 #sbnd_optical_simulation_services.LArPropertiesService.ScintYield: 24000
125 #sbnd_optical_simulation_services.LArPropertiesService.EnableCerenkovLight: false
126 #sbnd_optical_simulation_services.LArG4Parameters.UseCustomPhysics: true
127 #sbnd_optical_simulation_services.LArG4Parameters.EnabledPhysics: [ "Em",
128 # "FastOptical",
129 # "SynchrotronAndGN",
130 # "Ion",
131 # "Hadron",
132 # "Decay",
133 # "HadronElastic",
134 # "Stopping",
135 # "NeutronTrackingCut" ]
136 
137 END_PROLOG
BEGIN_PROLOG sbnd_largeantparameters
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
#define the
BEGIN_PROLOG sbnd_signalshapingservice
required by fuzzyCluster table::sbnd_g4_services LArFFT
Definition: reco_sbnd.fcl:182
return match has_match and(match.match_pdg==11 or match.match_pdg==-11)
if &&[-z"$BASH_VERSION"] then echo Attempting to switch to bash bash shellSwitch exit fi &&["$1"= 'shellSwitch'] shift declare a IncludeDirectives for Dir in
do i e
BEGIN_PROLOG standard_largeantparameters
list
Definition: file_to_url.sh:28