All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
find_duplicate_events.fcl
Go to the documentation of this file.
1 #
2 # File: find_duplicate_events.fcl
3 # Purpose: Prints a list of the duplicate events in the input.
4 # Author: Gianluca Petrillo (petrillo@slac.stanford.edu)
5 # Date: May 5, 2021
6 #
7 # This configuration requires to read the content of the input files,
8 # and it prints a summary of duplicate events into a
9 # `DuplicateEventSummary.log` file.
10 # Note that if the production file naming convention allows, it may be
11 # much faster to detect duplicate files from that naming convention.
12 #
13 # Example of usage:
14 #
15 # lar -c find_duplicate_events.fcl -S input.list
16 #
17 # will report in `DuplicateEventSummary.log` (and on screen)
18 # about all the duplicate events in the files listed in `input.list`.
19 #
20 
21 process_name: CheckDupl
22 
23 services: {
24 
25  message: {
26  destinations: {
27  console: {
28  type: cout
29  threshold: INFO
30  } # console
31  summary: {
32  type: file
33  filename: "DuplicateEventSummary.log"
34  categories: {
35  DuplicateEventTracker: { limit: -1 }
36  default: { limit: 0 }
37  }
38  } # summary
39  } # destinations
40  } # message
41 
42  DuplicateEventTracker: {
43  # just emit a warning on screen instead of throwing an exception
44  WarningOnly: true
45 
46  # do print a summary of the duplicate events at end of job
47  SkipSummary: false # default
48 
49  # in case of duplicate, wait until the end of job to throw an exception
50  ExceptionAtEnd: true
51 
52  LogCategory: "DuplicateEventTracker" # default
53  }
54 
55 } # services
56 
57 
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
* file
Definition: file_to_url.sh:69
BEGIN_PROLOG could also be dds filename
BEGIN_PROLOG could also be cout
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name