-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathconfigFile_MANGO.txt
75 lines (60 loc) · 3.31 KB
/
configFile_MANGO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
# DATA FORMAT
'rawdata_tier' : 'midas',
# DETECTOR
'geometry' : 'Mango_full',
# DEBUG plots
'debug_mode' : 0,
'ev' : 6,
'nclu' : -1, # -1
# Plots that will be made if debug_mode = 1
'flag_full_image' : 0,
'flag_rebin_image' : 1,
'flag_edges_image' : 1,
'flag_polycluster' : 1,
'flag_dbscan_seeds' : 1,
'flag_stats' : 0,
'pkl_ext' : 0,
'camera_mode' : 1,
# Parameters of the plots
'cmapcolor' : 'gray',
'figsizeY' : 12,
'figsizeX' : 12,
# Setting environments parameters
'offline' : False, #if False it reads the logbook from online, if true it reads the runlog_tag_auto.csv locally
'rebin' : 4,
'nsigma' : 1.8,
'min_neighbors_average' : 1.1, # cut on the minimum average energy around a pixel (remove isolated macro-pixels)
'cimax' : 5000, # Upper threshold (keep very high not to kill large signals)
'justPedestal' : False,
'daq' : 'midas', # DAQ type (btf/h5/midas)
'type' : 'neutrons', # events type (beam/cosmics/neutrons)
'tag' : 'MAN', # 'LNGS' for LIME LNGS experimental data, 'LNF' for all data taken at LNF, 'MAN' for all data taken at LNGS MANGO, 'MC$path_to_histogram.root' for MC.
# An example for MC tag could be (see configFile_MC.txt) 'MC$digitized/LIME_08_keV_Sat_NewCode_Iso_RandZ' (do not include the bucket nor the file name)
'vignetteCorr' : True, # apply vignetting correction (correction maps in data/ according to the geometry)
'environment_variables' : False, # if True the environment variables are added to the Tree. Be sure your midas files contain these information
'excImages' : [], #list(range(5))+[], # To exlude some images of the analysis. Always exclude the first 5 which are messy (not true anymore)
'donotremove' : True, # Remove or not the file from the tmp folder
'scfullinfo' : True, # If True some the supercluster pixels info will be saved
'save_MC_data' : False, # If True save the MC informations
'tip' : '3D',
'saturation_corr' : False,
# Superclusters parameters are hardcoded
'calibrate_clusters' : False,
### PMT waveform reconstruction
'pmt_mode' : 0,
'board_pmt_channels' : [1], # Board channels used to save PMT.
# NB: This assumes the PMTs are connected to the same channels in both digitizers.
'threshold' : 0,
'height_RMS' : 5, ## 5 * RMS
'minPeakDistance' : 1,
'prominence' : 0.1,
'fixed_prom' : True, ## If True, overrides prominence value with optimized one
'width' : 5,
'resample' : 10, ## Number of samples used for moving average. Minimum: 1
'pmt_plotpy' : False, ## saves ALL waveforms in '{--pdir}./waveforms'. Careful.
'pmt_wf_in_tree' : False, ## saves full Y array in tree branches.
'pmt_verbose' : 0, ## Choose from 0 to 3. '0' for no output; '3' for full output.
'include_gem' : 0, ## Also performs very basic GEM signal analysis
'board_gem_channels' : []
}