3x1x1dphase_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: "3x1x1dphase_larg4_hist.root" }
17  TimeTracker: {}
18  MemoryTracker: {}
19  RandomNumberGenerator: {} #ART native random number generator
20  message: @local::standard_info
21 
22  @table::dunedphase3x1x1_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  ScintillationStackPhotons: false
39  }
40  LArG4Detector :
41  {
42  category: "world"
43  gdmlFileName_ : "3x1x1dphase_nowires.gdml"
44  }
45  MCTruthEventAction: {service_type: "MCTruthEventActionService"}
46  ParticleListAction:{service_type: "ParticleListActionService"}
47  #PhotonVisibilityServiceS2: @local::dunedphase3x1x1_photonvisibilityserviceS2
48 }
49 
50 services.Geometry: @local::dphase3x1x1_geo
51 services.PhotonVisibilityService: @local::dunedphase3x1x1_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 
64 source:
65 {
66  module_type: EmptyEvent
67  timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
68  maxEvents: 1 # Number of events to create
69  firstRun: 1 # Run number to use for this file
70  firstEvent: 1 # number of first event in the file
71 }
72 
73 physics:
74 {
75 
76  producers:
77  {
78  generator: @local::dunefd_singlep
79 
80  larg4Main: { module_type: "larg4Main"
81  enableVisualization: false
82  macroPath: ".:./macros"
83  visMacro: "vis.mac"
84  }
85 
86 # elecDrift: { module_type: "SimDriftElectrons"
87 # SimulationLabel: "larg4Main:LArG4DetectorServicevolTPCActive"
88 # StoreDriftedElectronClusters: true
89 # }
90 
91  photonProp: { module_type: "PhotonLibraryPropagation"
92  DoSlowComponent: false
93  RiseTimeFast: 0 #default parameter in ns
94  RiseTimeSlow: 0 #default parameter in ns
95  EDepModuleLabels: ["larg4Main:LArG4DetectorServicevolTPCActive"]
96  }
97 
98 # photonPropS2:{ module_type: "PhotonLibraryPropagationS2"
99 # Gain: 300
100 # DriftEModuleLabel: "elecDrift"
101 # }
102 
103  rns: { module_type: "RandomNumberSaver" }
104  }
105  analyzers:
106  {
107  pmtresponse: #@local::standard_simphotoncounter
108  {
109  module_type: "SimPhotonCounter"
110  Verbosity: 3
111  #InputModule: ["photonProp","photonPropS2"]
112  InputModule: "photonProp"
113  MakeAllPhotonsTree: true
114  MakeDetectedPhotonsTree: true
115  MakeOpDetsTree: true
116  MakeOpDetEventsTree: true
117  }
118 
119 
120  }
121 
122 #simulate: [ rns, generator, larg4Main, elecDrift, photonProp, photonPropS2 ]
123 simulate: [ rns, generator, larg4Main, photonProp ]
124 
125  stream1: [ out1, pmtresponse ]
126  trigger_paths: [simulate]
127  end_paths: [stream1]
128 }
129 
130 physics.producers.generator.Theta0XZ: [ 0 ]
131 physics.producers.generator.Theta0YZ: [ 0 ]
132 
133 physics.producers.generator.X0: [ 0.01 ]
134 physics.producers.generator.Y0: [ 0.01 ]
135 physics.producers.generator.Z0: [ 0.01 ]
136 
137 physics.producers.generator.P0: [ 3 ] # momentum in GeV/c
138 physics.producers.generator.PDG: [ 13 ]
139 
140 
141 outputs:
142 {
143  out1:
144  {
145  module_type: RootOutput
146  fileName: "3x1x1dphase_larg4_gen.root" #default file name, can override from command line with -o or --output
147  }
148 }
149 
150