runCRTSimRefac.fcl
Go to the documentation of this file.
1 #include "services_refactored_pdune.fcl"
2 #include "CRT.fcl"
3 
4 process_name: CRTSim
5 
6 services:
7 {
8  # Load the service that manages root files for histograms.
9  #TFileService: { fileName: "HelloAuxDet_hist.root" }
10  TimeTracker: {}
11  MemoryTracker: {}
12  RandomNumberGenerator: {} #ART native random number generator
13  message: @local::dune_message_services_prod_debug
14  FileCatalogMetadata: @local::art_file_catalog_mc
15  @table::protodune_services
16  TFileService: { fileName: "CRTSimRefac.root" }
17  IFBeam: {}
18 }
19 #services.message.destinations.LogStandardOut.threshold: "INFO"
20 #services.Geometry.GDML: "protodune_v7_refactored_nowires.gmdl"
21 #services.Geometry.ROOT: "protodune_v7_refactored_nowires.gmdl"
22 dune_message_services_prod_debug.destinations.LogWarningFile.categories:
23 {
24  timeToHits: { limit: 1000 }
25  CreateTrigger: { limit: 1000 }
26  moduleToChannels: { limit: 1000 }
27 }
28 
29 #Configure message service for debugging
30 #services.message.destinations.debugmsg:
31 #{
32 # type: "cout"
33 # threshold: "DEBUG"
34 # append: true
35 # categories:
36 # {
37 # timeToHits: { limit: 1000 }
38 # CreateTrigger: { limit: 1000 }
39 # moduleToChannels: { limit: 1000 }
40 # }
41 #}
42 
43 source:
44 {
45  module_type: RootInput
46  maxEvents: -1
47  fileNames: ["input_file.root"]
48 }
49 
50 physics:
51 {
52  analyzers:
53  {
54  #TODO: Validation module
55  }
56  producers:
57  {
58  crt: @local::CRTSimRefac_standard
59  }
60 
61  stream1: [ out1 ]
62 
63  detSim: [ crt ]
64  #ana: [ validation ]
65 
66  trigger_paths: [ detSim ]
67 
68  end_paths: [ stream1 ] #ana ]
69 }
70 
71 outputs:
72 {
73  out1:
74  {
75  module_type: RootOutput
76  fileName: "CRTDetSim_protoDUNE.root" #default file name, can override from command line with -o or --output
77  dataTier: "DetSim"
78  compressionLevel: 1
79  }
80 }
81 
82 CRTSim.DACThreshold: 100 #Make the DAC threshold so high that nothing will pass it