protodunedp_larg4.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "singles_dune.fcl"
3 #include "largeantmodules_dune.fcl"
4 #include "detsimmodules_dune.fcl"
5 #include "mccheatermodules.fcl"
6 #include "photpropservices_dune.fcl"
7 #include "opticaldetectormodules_dune.fcl"
8 #include "opticaldetectorservices_dune.fcl"
9 
10 
11 process_name: test
12 
13 services:
14 {
15  # Load the service that manages root files for histograms.
16  TFileService: { fileName: "protodunedp_larg4_hist.root" }
17  TimeTracker: {}
18  MemoryTracker: {}
19  RandomNumberGenerator: {} #ART native random number generator
20  message: @local::standard_info
21 
22  @table::protodunedphase_simulation_services_legacy
23 
24  DetectorHolder: {}
25  ActionHolder: {}
26  PhysicsListHolder: {}
27  PhysicsList: {
28  PhysicsListName: "FTFP_BERT"
29  DumpList: false
30  enableCerenkov: false
31  enableScintillation: true
32  ScintillationByParticleType: true
33  enableAbsorption: false
34  enableRayleigh: false
35  enableMieHG: false
36  enableBoundary: false
37  enableWLS: false
38  }
39  LArG4Detector :
40  {
41  category: "world"
42  gdmlFileName_ : "protodunedphase_nowires.gdml"
43  }
44  MCTruthEventAction: {service_type: "MCTruthEventActionService"}
45  ParticleListAction:{service_type: "ParticleListActionService"}
46  #PhotonVisibilityServiceS2: @local::dunedphase3x1x1_photonvisibilityserviceS2
47 
48 }
49 
50 services.Geometry: @local::protodunedphase_geo
51 PhotonVisibilityService: @local::protodunedp_photonvisibilityservice
52 services.PhotonVisibilityService.ParametrisedTimePropagation: false
53 
54 #services.PhotonVisibilityServiceS2.LibraryFile: "../S2_tests/libext_dunedphase3x1x1_lightsim_S2_20171213.root"
55 #services.PhotonVisibilityServiceS2.ParametrisedTimePropagation: true
56 
57 services.LArG4Parameters.UseLitePhotons: true
58 services.LArPropertiesService.ScintFastTimeConst: 6 #default decay time in ns
59 #services.LArPropertiesService.ScintSlowTimeConst: 1590 #default decay time in ns
60 services.OpDetResponseInterface.QuantumEfficiency: 1
61 services.LArPropertiesService.ScintPreScale: 1
62 services.PhotonVisibilityService.Interpolate: true
63 services.PhotonVisibilityService.ParametrisedTimePropagation: false
64 
65 
66 source:
67 {
68  module_type: EmptyEvent
69  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
70  maxEvents: 1 # Number of events to create
71  firstRun: 1 # Run number to use for this file
72  firstEvent: 1 # number of first event in the file
73 }
74 
75 physics:
76 {
77 
78  producers:
79  {
80  generator: @local::dunefd_singlep
81 
82  larg4Main: { module_type: "larg4Main"
83  enableVisualization: false
84  macroPath: ".:./macros"
85  visMacro: "vis.mac"
86  }
87 
88 # elecDrift: { module_type: "SimDriftElectrons"
89 # SimulationLabel: "larg4Main:LArG4DetectorServicevolTPCActive"
90 # StoreDriftedElectronClusters: true
91 # }
92 
93  photonProp: { module_type: "PhotonLibraryPropagation"
94  RiseTimeFast: 0 #default parameter in ns
95  RiseTimeSlow: 0 #default parameter in ns
96  DoSlowComponent: false
97  EDepModuleLabels: ["larg4Main:LArG4DetectorServicevolTPCActive"] }
98 
99 # photonPropS2:{ module_type: "PhotonLibraryPropagationS2"
100 # Gain: 300
101 # DriftEModuleLabel: "elecDrift"
102 # }
103 
104  rns: { module_type: "RandomNumberSaver" }
105  }
106  analyzers:
107  {
108  pmtresponse: #@local::standard_simphotoncounter
109  {
110  module_type: "SimPhotonCounter"
111  Verbosity: 3
112 // InputModule: ["photonProp","photonPropS2"]
113  InputModule: "photonProp"
114  MakeAllPhotonsTree: true
115  MakeDetectedPhotonsTree: true
116  MakeOpDetsTree: true
117  MakeOpDetEventsTree: true
118  }
119 
120 
121  }
122 
123 #simulate: [ rns, generator, larg4Main, elecDrift, photonProp, photonPropS2 ]
124 
125 simulate: [ rns, generator, larg4Main, photonProp ]
126 
127  stream1: [ pmtresponse ]
128  trigger_paths: [simulate]
129  end_paths: [stream1]
130 }
131 
132 physics.producers.generator.Theta0XZ: [ 0 ]
133 physics.producers.generator.Theta0YZ: [ 0 ]
134 
135 physics.producers.generator.X0: [ 0.01 ]
136 physics.producers.generator.Y0: [ 0.01 ]
137 physics.producers.generator.Z0: [ 0.01 ]
138 
139 physics.producers.generator.P0: [ 3 ] # momentum in GeV/c
140 physics.producers.generator.PDG: [ 13 ]
141 
142 
143 outputs:
144 {
145  out1:
146  {
147  module_type: RootOutput
148  fileName: "protodunedp_larg4_gen.root" #default file name, can override from command line with -o or --output
149  }
150 }
151 
152