@@ -13,36 +13,46 @@ pmtdecoder:
1313
1414 # configure CAEN inputs
1515 caen_fragment_name: [ "CAENV1730", "ContainerCAENV1730" ]
16- ignore_fragid: [8 ] # boards to ignore for testing purposes, fragid==8 is the timing board, this is 0-indexed!
16+ ignore_fragid: [] # boards to ignore for testing purposes, fragid==8 is the timing board, this is 0-indexed!
1717 nominal_length: 5000 # expected waveform length
18+ raw_ts_correction: 367000 # ns, correction to the rawheader timestamp
1819
1920 # configure SPEC TDC inputs
2021 spectdc_product_name: "tdcdecoder" # used if the tdc decoder has been run
21- spectdc_ftrig_ch: 3 # this should be the channel number of the spec tdc that stores the flash trigger
22- spectdc_etrig_ch: 4 # this should be the channel number of the spec tdc that stores the event trigger
22+ spectdc_ftrig_ch: 3 # channel number of the spec tdc that stores the flash trigger
23+ spectdc_etrig_ch: 4 # channel number of the spec tdc that stores the event trigger
2324
24- # configure PTB inputs
25+ # configure PTB inputs; the HLT with the smallest trigger word will be used (within some range to the rawheader timestamp)
2526 ptb_product_name: "ptbdecoder"
26- ptb_etrig_trigword: 0x0000000000000000
27+ ptb_etrig_trigword_min: 1 # minimum trigger word (in decimal)
28+ ptb_etrig_trigword_max: 100000 # maximum trigger word (in decimal)
2729 ptb_etrig_wordtype: 2
30+ ptb_trig_raw_diff_max: 3000000 # the maximum allowed time difference in ns
2831
2932 # configure output options
33+ # use time difference between reference + CAEN used to determine rollover and/or weirdness
34+ allowed_time_diff: 3000 # us!! not nanoseconds
3035 # configure the output data product instance names
3136 pmtInstanceName: "PMTChannels"
3237 ftrigInstanceName: "FTrigChannels"
38+ timingInstanceName: "TimingChannels"
3339 output_ftrig_wvfm: true # whether or not to output the ftrig as an opdetwaveform (artroot data product)
40+ output_timing_wvfm: true # whether or not to output the timing caen wvfms as an opdetwaveform (artroot data product)
41+ ignore_timing_ch: [4,5,6,7,8,9,10,11,12,13,14] # only ch0=BES, ch1=RWM, ch2=ETRIG, ch3=MSUM, ch15=FTRIG
3442
3543 # more detailed configurables
3644 n_maxflashes: 30 # maximum number of flashes anticipated, this is used for memory allocation
37- n_caenboards: 8 # number of caen boards; this is used for memory allocation
45+ n_caenboards: 9 # number of caen boards; this is used for memory allocation
46+ # 1-8 = PMT caens, 9th = timing caen
3847 threshold_ftrig: 16350 # the threshold for the flash trigger channel
3948
4049 fragid_offset: 40960 # the offset to subtract to get single digit fragids; if use_set_map is true, should set this to 0
4150 hist_evt: 1 # the # of the event used to generate the histograms, 1st event by default
4251
43- # for when the fragIDs are mapped to the old configuration...
44- set_fragid_map: [3,7,5,9,11,13,15,17,19] # digitizers 0-8 are mapped to these fragids
52+ # for when the fragIDs are mapped to the old configuration or you need to hardcode fragids ...
53+ ## to use this, must set `fragid_offset` to 0!!!
4554 use_set_map: false
55+ set_fragid_map: [3,7,5,9,11,13,15,17,19] # use if `use_set_map` is true: digitizers 0-8 are mapped to these fragids
4656
4757 # ordered in sets of 15 by increasing fragID
4858 # the PMT_to_Digitizers.txt file in the same directory is the reference for this
@@ -54,7 +64,8 @@ pmtdecoder:
5464 173,172,227,226,197,196,171,170,225,224,169,168,223,222,167, # digitizer 4
5565 195,194,221,220,165,164,219,218,193,192,163,162,217,216,166, # digitizer 5
5666 251,250,305,304,275,274,249,248,303,302,247,246,301,300,245, # digitizer 6
57- 273,272,299,298,243,242,297,296,271,270,241,240,295,294,244] # digitizer 7
67+ 273,272,299,298,243,242,297,296,271,270,241,240,295,294,244, # digitizer 7
68+ 900,901,902,903,904,905,906,907,908,909,910,911,912,913,914] # digitizer 8 (TIMING CAEN)
5869}
5970
6071END_PROLOG
0 commit comments