2 # File: empty_events.fcl
3 # Purpose: Generates empty events with a timestamp.
5 # Author: Gianluca Petrillo (petrillo@fnal.gov)
8 # An empty event with a timestamp is a container whose purpose is to "fix" the
9 # random numbers generated for this event. This is achieved on jobs which use
10 # the "perEvent" policy of NuRandomService, which bases its random seeds on
13 # Note that if the timestamp plugin takes the timestamp from the system clock,
14 # that clock must have a very good resolution, since art will take little time
15 # from an event to the next, and their tiem stamps must be different.
16 # This should not be a problem with `GeneratedEventTimestamp` plugin, whose
17 # clock resolution is supposed to be at the nanosecond level.
18 # Also note that if files are produced in different jobs, there is a faint
19 # chance that two empty events have the same time stamp. If the events have
20 # same time stamp *and* event ID, they'll get the same random seed and will be
21 # duplicate of each other.
28 # lar -c empty_events.fcl -n 100 -o 'emptyevents-%tc.root'
30 # will create 100 empty events in a file named 'emptyevents-%tc.root', where %tc
31 # is replaced by `RootOutput` module with the usual creation time of the file.
32 # Note that the creation time is in seconds, so for batch jobs you have to make
33 # sure the output file names are actually different.
38 timestampPlugin: { plugin_type:
"GeneratedEventTimestamp" }
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