PD_Sim_Chain_Ref.fcl
Go to the documentation of this file.
1 #include "services_refactored_pdune.fcl"
2 #include "services_dune.fcl"
3 
4 #include "scintillationtime_tool.fcl"
5 
6 process_name: PDSIMCHAINREF
7 
8 services:
9 {
10  TFileService: { fileName: "pd_ref.root" }
11  TimeTracker: {}
12  MemoryTracker: {} # default is one
13  RandomNumberGenerator: {} #ART native random number generator
14  message: @local::standard_info
15  @table::protodune_simulation_services
16 
17  DetectorHolder: {}
18  ActionHolder: {}
19  PhysicsListHolder: {}
20 
21  PhysicsList:
22  {
23  PhysicsListName: "QGSP_BERT"
24  DumpList: true
25  enableCerenkov: false
26  enableScintillation: true
27  ScintillationByParticleType: false
28  enableAbsorption: false
29  enableRayleigh: false
30  enableMieHG: false
31  enableBoundary: false
32  enableWLS: false
33  }
34 
35  LArG4Detector :
36  {
37  category: "world"
38  gdmlFileName_ : "protodune_v5_refactored_nowires.gdml"
39  }
40 
41  MCTruthEventAction: {service_type: "MCTruthEventActionService"}
42  ParticleListAction: {service_type: "ParticleListActionService"}
43 }
44 
45 source:
46 {
47  module_type: RootInput
48  maxEvents: 3000000
49  fileNames: ["muon.root"]
50  firstRun: 1 //Run number to use for this file
51  firstEvent: 1 //number of first event in the file
52 }
53 
54 services.PhotonVisibilityService: @local::protodunev4_photonvisibilityservice
55 services.LArG4Parameters.UseLitePhotons: true
56 physics:
57 {
58  producers:
59  {
60  //retain largeant name for compatibility
61  largeant:
62  {
63  module_type: "larg4Main"
64  enableVisualization: false
65  macroPath: ".:./macros"
66  visMacro: "vis.mac"
67  }
68 
69  IonAndScint:
70  {
71  module_type: "IonAndScint"
72  SimulationLabel: "largeant:LArG4DetectorServicevolTPCActive"
73 // ISCalcAlg: "NEST"
74  ISCalcAlg: "Separate"
75  }
76 
77  PDFastSim:
78  {
79  module_type: "PDFastSimPVS"
80 // module_type: "PDFastSimPAR"
81 
82  SimulationLabel: "IonAndScint"
83 
84  DoSlowComponent: true
85  ScintTimeTool: @local::ScintTimeLAr
86  }
87 
88  rns:
89  {
90  module_type: "RandomNumberSaver"
91  }
92 
93  }
94 
95  analyzers:
96  {
97  ISCalcAna:
98  {
99  module_type: ISCalcAna
100  SimulationLabel: "largeant:LArG4DetectorServicevolTPCActive"
101  ISCalcAlg: "NEST"
102 // ISCalcAlg: "Separate"
103  }
104 
105  SimPh:
106  {
107  module_type: "SimPhotonCounter"
108  Verbosity: 5
109  InputModule: "PDFastSim:pvs"
110  MakeAllPhotonsTree: true
111  MakeDetectedPhotonsTree: true
112  MakeOpDetsTree: true
113  MakeOpDetEventsTree: true
114  }
115  }
116 
117  simulate: [ rns, largeant, IonAndScint, PDFastSim ]
118 // simulate: [ rns, largeant, IonAndScint ]
119  stream1: [ out1, ISCalcAna, SimPh ]
120 // stream1: [ out1, SimPh ]
121  end_paths: [ stream1 ]
122 
123 }
124 
125 outputs:
126 {
127  out1:
128  {
129  module_type: RootOutput
130  fileName: "%ifb_pd_ref.root"
131  dataTier: "simulated"
132  compressionLevel: 1
133 // outputCommands: ["keep *", "drop sim::SimEnergyD*_*_*_*"]
134  }
135 }