All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dump_pmtconfig_icarus.fcl
Go to the documentation of this file.
1 #
2 # File: dump_pmtconfig_icarus.fcl
3 # Purpose: Dump on screen PMT configuration from DAQ.
4 # Author: Gianluca Petrillo (petrillo@slac.stanford.edu)
5 # Date: March 17, 2021
6 # Version: 1.0
7 #
8 # This module extracts and then dumps the PMT configuration stored in the
9 # FHiCL configuration of that file(s), one per run.
10 #
11 #
12 # Input: (data) files with FHiCL configuration of PMT.
13 #
14 # Service dependencies:
15 # - message facility
16 #
17 # Changes:
18 # 20210317 (petrillo@slac.stanford.edu) [v1.0]
19 # first version
20 #
21 
22 #include "messages_icarus.fcl"
23 #include "geometry_icarus.fcl"
25 
26 
27 # ------------------------------------------------------------------------------
28 process_name: DumpPMTcfg
29 
30 
31 # ------------------------------------------------------------------------------
32 services: {
33 
34  message: @local::icarus_message_services_interactive
35 
36  @table::icarus_geometry_services
37  IICARUSChannelMap: @local::icarus_channelmappinggservice
38 
39 } # services
40 
41 
42 # ------------------------------------------------------------------------------
43 source: {
44  module_type: RootInput
45  maxEvents: -1 # number of events to read
46 } # source
47 
48 
49 # ------------------------------------------------------------------------------
50 physics: {
51  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
52  producers: {
53  pmtconfig: { module_type: PMTconfigurationExtraction }
54  }
55 
56  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
57  analyzers: {
58  dumppmtconfig: {
59  module_type: DumpPMTconfiguration
60 
61  PMTconfigurationTag: "pmtconfig"
62 
63  } # dumppmtconfig
64  } # analyzers
65 
66  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
67  extractors: [ pmtconfig ]
68  dumpers: [ dumppmtconfig ]
69 
70 } # physics
71 
72 
73 # ------------------------------------------------------------------------------
process_name pmtconfig
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 caloskimCalorimetryCryoE physics caloskimCalorimetryCryoW physics sequence::physics pathW services
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
do source
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
Definition: frame-shunt.fcl:6
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 module_type
process_name analyzers
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name