2 # File: simulationservices_sbnd.fcl
3 # Purpose: collection of standard simulation service settings for SBND
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)
16 # @table::sbnd_simulation_services
21 # 20160601 (petrillo@fnal.gov) [v1.1]
22 # content moved from services_sbnd.fcl
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
51 #Brailsford 27/10/09: Enable
the custom
physics list and disable its neutron killer
53 sbnd_largeantparameters.EnabledPhysics: [
"Em",
"FastOptical",
"SynchrotronAndGN",
"Ion",
"Hadron",
"Decay",
"HadronElastic",
"Stopping" ] #Removed
the neutron killer
56 #Define a largeantparameters which doesn't use the optical simulation
58 sbnd_largeantparameters_noopticalsim.EnabledPhysics: [
"Em",
"SynchrotronAndGN",
"Ion",
"Hadron",
"Decay",
"HadronElastic",
"Stopping" ]
60 # ascarff 16Jun2020: Change the diffusion constants to match ProtoDUNE results
63 sbnd_largeantparameters_noopticalsim.LongitudinalDiffusion: 4.0e-9 #
in cm^2/ns (was 6.2
e-9)
64 sbnd_largeantparameters_noopticalsim.TransverseDiffusion: 8.8
e-9
#in cm^2/ns (was 16.3e-9)
67 sbnd_larvoxelcalculator: @local::standard_larvoxelcalculator #
from simulationservices.fcl
69 sbnd_backtrackerservice: @local::standard_backtrackerservice #
from backtrackerservice.fcl
71 sbnd_backtrackerservice.BackTracker.G4ModuleLabel:
"largeant"
72 sbnd_backtrackerservice.BackTracker.MinimumHitEnergyFraction: 1
e-1
73 sbnd_backtrackerservice.BackTracker.OverrideRealData:
true
75 sbnd_particleinventoryservice: @local::standard_particleinventoryservice
77 # Define sbnd_g4_services
81 @table::sbnd_random_services
83 LArVoxelCalculator: @local::sbnd_larvoxelcalculator
84 MagneticField: @local::no_mag_larsoft
85 PhotonVisibilityService: @local::sbnd_Nhits_vuv_vis_prop_timing_photonvisibilityservice
90 # Define sbnd_detsim_services
94 @table::sbnd_random_services
95 LArFFT: @local::sbnd_larfft
97 NoiseModel: @local::sbnd_uboonedatadrivennoiseservice
98 OpDetResponseInterface: @local::sbnd_opdetresponse
99 } # sbnd_detsim_services
102 # Define sbnd_simulation_services
103 sbnd_simulation_services:
105 @table::sbnd_services
106 @table::sbnd_random_services
107 @table::sbnd_g4_services
108 @table::sbnd_detsim_services
114 #sbnd_opsimulation_services:
116 # @table::sbnd_simulation_services
117 # OpDetResponseInterface: @local::sbnd_opdetresponse
118 ## PhotonVisibilityService: @local::sbnd_photonvisibilityservice
119 ## OpDigiProperties: @local::sbnd_opdigiproperties
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",
129 # "SynchrotronAndGN",
135 # "NeutronTrackingCut" ]
BEGIN_PROLOG sbnd_largeantparameters
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
BEGIN_PROLOG sbnd_signalshapingservice
required by fuzzyCluster table::sbnd_g4_services LArFFT
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
BEGIN_PROLOG standard_largeantparameters