All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
discriminatePMT_icarus.fcl
Go to the documentation of this file.
1 #
2 # File: discriminatePMT_icarus.fcl
3 # Authors: Gianluca Petrillo (petrillo@slac.stanford.edu)
4 # Date: March 15, 2022
5 #
6 #
7 # This configuration runs PMT waveform discrimination on several thresholds
8 # fixed in this configuration.
9 #
10 # The configuration is written for simulation. For detector data, a different
11 # preset configuration may be needed (`icarus_pmtdiscriminatethr_fixed`
12 # is provided, and minimum bias events are recommended).
13 #
14 #
15 # Changes
16 # --------
17 #
18 # 20220315 (petrillo@slac.stanford.edu) [v1.0]
19 # : original version, based on discriminatePMT_icarus_data.fcl v1.0
20 #
21 
23 #include "rootoutput_icarus.fcl"
25 
26 
27 # ------------------------------------------------------------------------------
28 process_name: PMTthr
29 
30 
31 # ------------------------------------------------------------------------------
32 services: {
33 
34  # this provides: file service, random management (unused),
35  # Geometry, detector properties and clocks
36  @table::icarus_common_services
37 
38  # art resource tracking services may take a lot of memory on the long run
39  MemoryTracker: {}
40 # TimeTracker: {}
41 
42  # currently unused (remove the line if they start mattering):
43  LArPropertiesService: @erase
44  DetectorPropertiesService: @erase
45 
46  message: @local::icarus_message_services_interactive
47 
48 } # services
49 
50 
51 # ------------------------------------------------------------------------------
52 physics: {
53 
54  producers: {
55 
56  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
57 
58  pmtfixedthr: @local::icarus_pmtdiscriminatethr_fixed_MC
59 
60  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
61 
62  } # producers
63 
64  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
65  discriminate: [ pmtfixedthr ]
66 
67  streams: [ "rootoutput" ]
68 
69  # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
70 
71 } # physics
72 
73 physics.producers.pmtfixedthr.OpticalWaveforms: "opdaq" # for simulation
74 
75 
76 # ------------------------------------------------------------------------------
77 outputs.rootoutput: @local::icarus_rootoutput
78 
79 
80 # ------------------------------------------------------------------------------
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
echo $PWD find $PWD name *fcl xargs perl wapi e s & MemoryTracker
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
BEGIN_PROLOG gatesFromTracksW gatesFromTracksE streams
GateObj discriminate(GateObj const &gate, typename GateObj::OpeningCount_t threshold=1U, typename GateObj::OpeningCount_t pass=1U, typename GateObj::OpeningCount_t fail=0U)
Returns a discriminated version of gate.
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name