runTimingOffsetOnCRTTriggers.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "CRT.fcl"
3 #include "ProtoDUNETriggerFilter.fcl"
4 
5 process_name: CRTTimingOffset
6 
7 services:
8 {
9  # Load the service that manages root files for histograms.
10  #TFileService: { fileName: "HelloAuxDet_hist.root" }
11  TimeTracker: {}
12  MemoryTracker: {}
13  RandomNumberGenerator: {} #ART native random number generator
14  message: @local::dune_message_services_prod_debug
15  FileCatalogMetadata: @local::art_file_catalog_mc
16  @table::protodune_services
17  TFileService: { fileName: "CRT-TimingOffsets.root" }
18  IFBeam: {}
19 }
20 
21 #dune_message_services_prod_debug.destinations.LogWarningFile.categories:
22 #{
23 # timeToHits: { limit: 1000 }
24 # CreateTrigger: { limit: 1000 }
25 # moduleToChannels: { limit: 1000 }
26 #}
27 
28 source:
29 {
30  module_type: RootInput
31  maxEvents: -1
32  fileNames: ["input_file.root"]
33 }
34 
35 physics:
36 {
37  filters:
38  {
39  crtOnly: @local::pdsp_trigfilter_crt
40  }
41 
42  triggersAllowed: [crtOnly]
43 
44  analyzers:
45  {
46  timing: @local::CRTTimeOffset_standard
47  }
48 
49  ana: [ timing ]
50 
51  end_paths: [ ana ]
52 }
53 
54 physics.analyzers.timing.SelectEvents: [triggersAllowed] #Select only events triggered because of CRT activity.