All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
21 
22 #include "services_sbnd.fcl"
23 #include "simulationservices.fcl"
24 #include "spacecharge_sbnd.fcl"
25 #include "larfft_sbnd.fcl"
26 #include "signalservices_sbnd.fcl"
27 #include "magfield_larsoft.fcl"
29 #include "backtrackerservice.fcl"
30 #include "spacecharge.fcl"
31 #include "noiseservices_sbnd.fcl"
33 #include "larg4_services_sbnd.fcl"
34 
35 BEGIN_PROLOG
36 
38 sbnd_largeantparameters.UseModLarqlRecomb: true
39 sbnd_largeantparameters.ElectronClusterSize: 20.0
40 #Brailsford 27/10/09: Enable the custom physics list and disable its neutron killer
41 sbnd_largeantparameters.UseCustomPhysics: true
42 sbnd_largeantparameters.EnabledPhysics: [ "Em", "FastOptical", "SynchrotronAndGN", "Ion", "Hadron", "Decay", "HadronElastic", "Stopping" ] #Removed the neutron killer
43 sbnd_largeantparameters.UseLitePhotons: true
44 sbnd_largeantparameters.IonAndScintCalculator: "Correlated"
45 
46 #Define a largeantparameters which doesn't use the optical simulation
47 sbnd_largeantparameters_noopticalsim: @local::sbnd_largeantparameters
48 sbnd_largeantparameters_noopticalsim.EnabledPhysics: [ "Em", "SynchrotronAndGN", "Ion", "Hadron", "Decay", "HadronElastic", "Stopping" ]
49 
50 # ascarff 16Jun2020: Change the diffusion constants to match ProtoDUNE results
51 sbnd_largeantparameters.LongitudinalDiffusion: 4.0e-9 #in cm^2/ns (was 6.2e-9)
52 sbnd_largeantparameters.TransverseDiffusion: 8.8e-9 #in cm^2/ns (was 16.3e-9)
53 sbnd_largeantparameters_noopticalsim.LongitudinalDiffusion: 4.0e-9 #in cm^2/ns (was 6.2e-9)
54 sbnd_largeantparameters_noopticalsim.TransverseDiffusion: 8.8e-9 #in cm^2/ns (was 16.3e-9)
55 
56 
57 sbnd_larvoxelcalculator: @local::standard_larvoxelcalculator # from simulationservices.fcl
58 
59 sbnd_backtrackerservice: @local::standard_backtrackerservice # from backtrackerservice.fcl
60 
61 sbnd_backtrackerservice.BackTracker.G4ModuleLabel: "largeant"
62 sbnd_backtrackerservice.BackTracker.SimChannelModuleLabel: "simdrift"
63 sbnd_backtrackerservice.BackTracker.MinimumHitEnergyFraction: 1e-1
64 sbnd_backtrackerservice.BackTracker.OverrideRealData: true
65 
66 sbnd_particleinventoryservice: @local::standard_particleinventoryservice
67 
68 # Define sbnd_g4_services
69 sbnd_g4_services:
70 {
71  @table::sbnd_services
72  @table::sbnd_random_services
73  LArG4Parameters: @local::sbnd_largeantparameters
74  LArVoxelCalculator: @local::sbnd_larvoxelcalculator
75  MagneticField: @local::no_mag_larsoft
76  PhotonVisibilityService: @local::sbnd_library_for_hybrid_mode_photonvisibilityservice
77  @table::sbnd_larg4_services
78 } # sbnd_g4_services
79 
80 sbnd_g4_services_noophybrid:
81 {
82  @table::sbnd_g4_services
83  PhotonVisibilityService: @local::sbnd_Nhits_vuv_vis_prop_timing_photonvisibilityservice
84  @table::sbnd_larg4_services_noophybrid
85 } # sbnd_g4_services_hybrid
86 
87 
88 # Define sbnd_detsim_services
89 sbnd_detsim_services:
90 {
91  @table::sbnd_services
92  @table::sbnd_random_services
93  LArFFT: @local::sbnd_larfft
94  SignalShapingServiceSBND: @local::sbnd_signalshapingservice # from signalservices_sbnd.fcl
95  NoiseModel: @local::sbnd_uboonedatadrivennoiseservice
96  OpDetResponseInterface: @local::sbnd_opdetresponse
97 } # sbnd_detsim_services
98 
99 
100 # Define sbnd_simulation_services
101 sbnd_simulation_services:
102 {
103  @table::sbnd_services
104  @table::sbnd_random_services
105  @table::sbnd_g4_services
106  @table::sbnd_detsim_services
107  SignalShapingServiceSBND: @local::sbnd_signalshapingservice # from signalservices_sbnd.fcl
108  SpaceCharge: @local::sbnd_spacecharge
109 }
110 
111 
112 
113 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