All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rootoutput_sbnd.fcl
Go to the documentation of this file.
1 #
2 # File: rootoutput_sbnd.fcl
3 # Brief: common settings for the RootOutput module
4 # Date: December 23rd, 2016
5 # Author: Gianluca Petrillo (petrillo@fnal.gov)
6 # Version: 1.0
7 #
8 # Provides:
9 #
10 # - sbnd_rootoutput: base setting (to be overridden) for ROOT output;
11 # to completely override the output file name (needed when using
12 # EmptyEvent as input module):
13 #
14 # outputs: {
15 # out1: {
16 # @table::sbnd_rootoutput # inherit common SBND settings
17 #
18 # fileName: "..."
19 # } # out1
20 # } # outputs
21 #
22 # or, to accept everything::
23 #
24 # outputs: { out1: @local::sbnd_rootoutput }
25 #
26 #
27 
28 BEGIN_PROLOG
29 
30 #
31 # sbnd_rootoutput: settings for RootOutput module
32 #
33 # This configuration sets compression level and possibly other details.
34 # but the output file name (fileName) must be provided
35 #
36 # The output file name is made out of the input file name, plus the
37 # process name (%p) and the time of creation of the output file (%tc).
38 # This is a good default unless there is no input file name (like in a generation
39 # process using EmptyEvent as input module).
40 #
41 # The compression level 0 will not compress at all. This saves quite some memory.
42 # Compression level of 7 (default) is slow. Compression level 1 compresses almost
43 # as much as 7, but it takes much, much less time.
44 #
46  module_type: RootOutput
47 
48  fileName: "%ifb_%p-%tc.root"
49  compressionLevel: 1 # minimum compression, but some
51 
53 
54 sbnd_tfileoutput.fileName: "hists_%ifb_%p-%tc.root"
55 END_PROLOG
56 
TString compression(pset.get< std::string >("CompressionType"))
BEGIN_PROLOG sbnd_rootoutput
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 keep raw::RawDigits_ *_ *_ * saveMemoryObjectThreshold
Definition: test_mchdb.fcl:5