| 1 | # ==========================================================================
|
|---|
| 2 | #############################################################################
|
|---|
| 3 | # ==========================================================================
|
|---|
| 4 | # General
|
|---|
| 5 | # ==========================================================================
|
|---|
| 6 | #############################################################################
|
|---|
| 7 | # ==========================================================================
|
|---|
| 8 |
|
|---|
| 9 | # -------------------------------------------------------------------------
|
|---|
| 10 | # Use this if you want to setup the logging stream for the jobs
|
|---|
| 11 | # (overwrites command line options)
|
|---|
| 12 | # -------------------------------------------------------------------------
|
|---|
| 13 | #MLog.VerbosityLevel: 2
|
|---|
| 14 | #MLog.DebugLevel: 1
|
|---|
| 15 | #MLog.NoColors: yes
|
|---|
| 16 |
|
|---|
| 17 | # ==========================================================================
|
|---|
| 18 | #############################################################################
|
|---|
| 19 | # ==========================================================================
|
|---|
| 20 | # Calibration
|
|---|
| 21 | # ==========================================================================
|
|---|
| 22 | #############################################################################
|
|---|
| 23 | # ==========================================================================
|
|---|
| 24 |
|
|---|
| 25 | # -------------------------------------------------------------------------
|
|---|
| 26 | # Use this if you want to write the MJPedestal output somewhere
|
|---|
| 27 | # If you don't want it, it is written to the calibration output anyhow.
|
|---|
| 28 | # -------------------------------------------------------------------------
|
|---|
| 29 | #MJPedestalC1.PathOut: .
|
|---|
| 30 | #MJPedestalC2.PathOut: .
|
|---|
| 31 |
|
|---|
| 32 | # -------------------------------------------------------------------------
|
|---|
| 33 | # Use this to define where the calibration output is stored. The filename
|
|---|
| 34 | # is created from the sequence number. If nothing is specified '.' is
|
|---|
| 35 | # assumed. (overwrites command line options)
|
|---|
| 36 | # -------------------------------------------------------------------------
|
|---|
| 37 | #MJCalibration.PathOut: calped
|
|---|
| 38 |
|
|---|
| 39 | # -------------------------------------------------------------------------
|
|---|
| 40 | # Use this to define where the program should search for the pedestal
|
|---|
| 41 | # and calibration files defined in the sequence. To use the local
|
|---|
| 42 | # directory use '.' If nothing is specified the default path in the
|
|---|
| 43 | # datacenter is used. (overwrites command line options)
|
|---|
| 44 | # -------------------------------------------------------------------------
|
|---|
| 45 | #MJPedestalC1.PathData: /data/MAGIC/Period016/
|
|---|
| 46 | #MJPedestalC2.PathData: /data/MAGIC/Period016/
|
|---|
| 47 | #MJCalibration.PathData: /data/MAGIC/Period016/
|
|---|
| 48 |
|
|---|
| 49 | # -------------------------------------------------------------------------
|
|---|
| 50 | # Define here which signal extractor you are going to use for the
|
|---|
| 51 | # whole calibration chain
|
|---|
| 52 | # -------------------------------------------------------------------------
|
|---|
| 53 | MJPedestalC1.ExtractSignal: MExtractTimeAndChargeDigitalFilter
|
|---|
| 54 |
|
|---|
| 55 | # -------------------------------------------------------------------------
|
|---|
| 56 | # In the case of the Digital filter you have to overwrite the default
|
|---|
| 57 | # weights file depending on what you are extracting
|
|---|
| 58 | # -------------------------------------------------------------------------
|
|---|
| 59 | MJPedetslaC2.ExtractSignal.WeightsFile: msignal/calibration_weights_UV.dat
|
|---|
| 60 | MJPedetslaY2.ExtractSignal.WeightsFile: msignal/calibration_weights_UV.dat
|
|---|
| 61 | MJCalibration.ExtractSignal.WeightsFile: msignal/calibration_weights_UV.dat
|
|---|
| 62 | MJCalibrateSignal.ExtractSignal.WeightsFile: msignal/cosmics_weights.dat
|
|---|
| 63 |
|
|---|
| 64 |
|
|---|
| 65 | # -------------------------------------------------------------------------
|
|---|
| 66 | # Configure MJCalibration
|
|---|
| 67 | # -------------------------------------------------------------------------
|
|---|
| 68 | # Switch on relative time calibration
|
|---|
| 69 | #MJCalibration.RelTimeCalibration: Yes
|
|---|
| 70 | # Switch on intensity calibration
|
|---|
| 71 | #MJCalibration.IntensityCalibration: Yes
|
|---|
| 72 | # Set color to be used
|
|---|
| 73 | #MJCalibration.Color:
|
|---|
| 74 | # Type of displayed plots
|
|---|
| 75 | #MJCalibration.Display: Full,DataCheck,Normal
|
|---|
| 76 | # Used for data-check (eg. raw files are read)
|
|---|
| 77 | #MJCalibration.Datacheck: No
|
|---|
| 78 | # Write additinal debug output
|
|---|
| 79 | #MJCalibration.Debug: No
|
|---|
| 80 | # Use blind pixel
|
|---|
| 81 | #MJCalibration.UseBlindPixel: No
|
|---|
| 82 | # Use pin diode
|
|---|
| 83 | #MJCalibration.UsePINDiode: No
|
|---|
| 84 |
|
|---|
| 85 | # -------------------------------------------------------------------------
|
|---|
| 86 | # You can choose the pedestal extraction algorithm/task. To use
|
|---|
| 87 | # MPedCalcPedRun use the lines below. Be carefull, a pedestal file
|
|---|
| 88 | # could be (if no pedestal file available) a data-file, too.
|
|---|
| 89 | # -------------------------------------------------------------------------
|
|---|
| 90 | #MJPedestalC1.ExtractPedestal: MPedCalcFromPedRun
|
|---|
| 91 | #MJPedestalC1.ExtractPedestal.ExtractWinFirst: 0
|
|---|
| 92 | #MJPedestalC1.ExtractPedestal.ExtractWinSize: 6
|
|---|
| 93 | #MJPedestalC1.ExtractPedestal.PedestalUpdate: no
|
|---|
| 94 | #MJPedestalC1.ExtractPedestal.CheckWinFirst: 0
|
|---|
| 95 | #MJPedestalC1.ExtractPedestal.CheckWinSize: 29
|
|---|
| 96 |
|
|---|
| 97 | #MJPedestalC2.ExtractPedestal: MPedCalcFromPedRun
|
|---|
| 98 | #MJPedestalC2.ExtractPedestal.ExtractWinFirst: 0
|
|---|
| 99 | #MJPedestalC2.ExtractPedestal.ExtractWinSize: 6
|
|---|
| 100 | #MJPedestalC2.ExtractPedestal.PedestalUpdate: no
|
|---|
| 101 | #MJPedestalC2.ExtractPedestal.CheckWinFirst: 0
|
|---|
| 102 | #MJPedestalC2.ExtractPedestal.CheckWinSize: 29
|
|---|
| 103 |
|
|---|
| 104 | # -------------------------------------------------------------------------
|
|---|
| 105 | # You can choose the pedestal extraction algorithm/task. To use
|
|---|
| 106 | # MPedCalcFromLoGain use the lines below. Be carefull, a pedestal file
|
|---|
| 107 | # could be (if no pedestal file available) a data-file, too.
|
|---|
| 108 | # -------------------------------------------------------------------------
|
|---|
| 109 | #MJPedestalC1.ExtractPedestal: MPedCalcFromLoGain
|
|---|
| 110 | #MJPedestalC1.ExtractPedestal.ExtractWinFirst: 0
|
|---|
| 111 | #MJPedestalC1.ExtractPedestal.ExtractWinSize: 6
|
|---|
| 112 | #MJPedestalC1.ExtractPedestal.PedestalUpdate: no
|
|---|
| 113 | #MJPedestalC1.ExtractPedestal.CheckWinFirst: 0
|
|---|
| 114 | #MJPedestalC1.ExtractPedestal.CheckWinSize: 29
|
|---|
| 115 | #MJPedestalC1.ExtractPedestal.MaxHiGainVar: 40
|
|---|
| 116 |
|
|---|
| 117 | #MJPedestalC2.ExtractPedestal: MPedCalcFromLoGain
|
|---|
| 118 | #MJPedestalC2.ExtractPedestal.ExtractWinFirst: 0
|
|---|
| 119 | #MJPedestalC2.ExtractPedestal.ExtractWinSize: 6
|
|---|
| 120 | #MJPedestalC2.ExtractPedestal.PedestalUpdate: no
|
|---|
| 121 | #MJPedestalC2.ExtractPedestal.CheckWinFirst: 0
|
|---|
| 122 | #MJPedestalC2.ExtractPedestal.CheckWinSize: 29
|
|---|
| 123 | #MJPedestalC2.ExtractPedestal.MaxHiGainVar: 40
|
|---|
| 124 |
|
|---|
| 125 | # -------------------------------------------------------------------------
|
|---|
| 126 | # Configure MJPedestalC1 and MJPedestalC2
|
|---|
| 127 | # -------------------------------------------------------------------------
|
|---|
| 128 | # Maximum number of event processed in the loop
|
|---|
| 129 | #MJPedestalC1.MaxEvents: 1000
|
|---|
| 130 | #MJPedestalC2.MaxEvents: 1000
|
|---|
| 131 | # Allow to overwrite existing files with the output file
|
|---|
| 132 | #MJPedestalC1.AllowOverwrite: No
|
|---|
| 133 | #MJPedestalC2.AllowOverwrite: No
|
|---|
| 134 | # Use data runs from the sequence instead of calibration runs
|
|---|
| 135 | #MJPedestalC1.UseData: No
|
|---|
| 136 | #MJPedestalC2.UseData: No
|
|---|
| 137 |
|
|---|
| 138 |
|
|---|
| 139 | # -------------------------------------------------------------------------
|
|---|
| 140 | # Use this if you want to change the signal extractor for the calibration
|
|---|
| 141 | # and automatically the data extraction
|
|---|
| 142 | # -------------------------------------------------------------------------
|
|---|
| 143 | #MJCalibration.ExtractSignal: MExtractFixedWindow
|
|---|
| 144 | #MJCalibration.ExtractSignal.HiGainFirst: 3
|
|---|
| 145 | #MJCalibration.ExtractSignal.HiGainLast: 14
|
|---|
| 146 | #MJCalibration.ExtractSignal.LoGainFirst: 4
|
|---|
| 147 | #MJCalibration.ExtractSignal.LoGainLast: 13
|
|---|
| 148 | #MJCalibration.ExtractSignal.HiGainWindowSize: 6
|
|---|
| 149 | #MJCalibration.ExtractSignal.LoGainWindowSize: 6
|
|---|
| 150 | #MJCalibration.ExtractSignal.PeakSearchWindow: 4
|
|---|
| 151 | #MJCalibration.ExtractSignal.OffsetFromWindow: 1
|
|---|
| 152 | #MJCalibration.ExtractSignal.LoGainPeakShift: 0
|
|---|
| 153 |
|
|---|
| 154 | # -------------------------------------------------------------------------
|
|---|
| 155 | # Use this if you want to change the time extractor for the calibration
|
|---|
| 156 | # and automatically the data extraction
|
|---|
| 157 | # -------------------------------------------------------------------------
|
|---|
| 158 | #MJCalibration.ExtractTime: <dummy>
|
|---|
| 159 | #MJCalibration.ExtractTime: MExtractTimeFastSpline
|
|---|
| 160 | #MJCalibration.ExtractTime.HiGainFirst: 0
|
|---|
| 161 | #MJCalibration.ExtractTime.HiGainLast: 7
|
|---|
| 162 | #MJCalibration.ExtractTime.LoGainFirst: 3
|
|---|
| 163 | #MJCalibration.ExtractTime.LoGainLast: 8
|
|---|
| 164 | #MJCalibration.ExtractTime.WindowSizeHiGain: 6
|
|---|
| 165 | #MJCalibration.ExtractTime.WindowSizeLoGain: 6
|
|---|
| 166 | #MJCalibration.ExtractTime.OffsetLoGain: 1.51
|
|---|
| 167 |
|
|---|
| 168 | # -------------------------------------------------------------------------
|
|---|
| 169 | # Use this to change the behaviour of the calibration
|
|---|
| 170 | # -------------------------------------------------------------------------
|
|---|
| 171 | #MJCalibration.MCalibrationChargeCalc.ChargeLimit: 2.5
|
|---|
| 172 | #MJCalibration.MCalibrationChargeCalc.ChargeErrLimit: 0
|
|---|
| 173 | #MJCalibration.MCalibrationChargeCalc.ChargeRelErrLimit: 1
|
|---|
| 174 | #MJCalibration.MCalibrationChargeCalc.Debug: no
|
|---|
| 175 |
|
|---|
| 176 | #MJCalibration.MCalibrationChargeCalc.FFactorErrLimit: 4.5
|
|---|
| 177 | #MJCalibration.MCalibrationChargeCalc.LambdaErrLimit: 0.2
|
|---|
| 178 | #MJCalibration.MCalibrationChargeCalc.LambdaCheckLimit: 0.5
|
|---|
| 179 | #MJCalibration.MCalibrationChargeCalc.PheErrLimit: 3.5
|
|---|
| 180 |
|
|---|
| 181 | # -------------------------------------------------------------------------
|
|---|
| 182 | # Use this to change the behaviour of the calibration
|
|---|
| 183 | # -------------------------------------------------------------------------
|
|---|
| 184 | #MJCalibration.MHCalibrationChargeCam.Debug: no
|
|---|
| 185 |
|
|---|
| 186 |
|
|---|
| 187 |
|
|---|
| 188 | # ==========================================================================
|
|---|
| 189 | #############################################################################
|
|---|
| 190 | # ==========================================================================
|
|---|
| 191 | # Signal extraction
|
|---|
| 192 | # ==========================================================================
|
|---|
| 193 | #############################################################################
|
|---|
| 194 | # ==========================================================================
|
|---|
| 195 |
|
|---|
| 196 | # -------------------------------------------------------------------------
|
|---|
| 197 | # Use a OutputPath if you want to write the results to a file
|
|---|
| 198 | # -------------------------------------------------------------------------
|
|---|
| 199 | #MJCalibrateSignal.PathOut: .
|
|---|
| 200 | #MJPedestalY1.PathOut: .
|
|---|
| 201 | #MJPedestalY2.PathOut: .
|
|---|
| 202 | #MJPedestalY1.PathData: /data/MAGIC/Period016/
|
|---|
| 203 | #MJPedestalY2.PathData: /data/MAGIC/Period016/
|
|---|
| 204 | #MJCalibrateSignal.PathData: /data/MAGIC/Period016/
|
|---|
| 205 | #MJCalibrateSignal.PathIn: .
|
|---|
| 206 |
|
|---|
| 207 | # -------------------------------------------------------------------------
|
|---|
| 208 | # If you want to change the behaviour of the pedestal extraction...
|
|---|
| 209 | # -------------------------------------------------------------------------
|
|---|
| 210 | #MJPedestalY1.UseData: Yes
|
|---|
| 211 | #MJPedestalY2.UseData: Yes
|
|---|
| 212 | MJPedestalY1.MaxEvents: 500
|
|---|
| 213 | MJPedestalY2.MaxEvents: 500
|
|---|
| 214 |
|
|---|
| 215 | #MJPedestalY.ExtractPedestal: MPedCalcFromLoGain
|
|---|
| 216 | #MJPedestalY.ExtractPedestal.PedestalUpdate: no
|
|---|
| 217 |
|
|---|
| 218 | # -------------------------------------------------------------------------
|
|---|
| 219 | # Setup pedestal extractor for running through data
|
|---|
| 220 | # -------------------------------------------------------------------------
|
|---|
| 221 | #MJCalibrateSignal.MPedCalcMeanFromLoGain.PedestalUpdate: yes
|
|---|
| 222 | #MJCalibrateSignal.MPedCalcMeanFromLoGain.NumEventsDump: 1500
|
|---|
| 223 | #MJCalibrateSignal.MPedCalcMeanFromLoGain.ExtractWinFirst: 15
|
|---|
| 224 | #MJCalibrateSignal.MPedCalcMeanFromLoGain.ExtractWinSize: 6
|
|---|
| 225 | #MJCalibrateSignal.MPedCalcMeanFromLoGain.CheckWinFirst: 0
|
|---|
| 226 | #MJCalibrateSignal.MPedCalcMeanFromLoGain.CheckWinSize: 29
|
|---|
| 227 | #MJCalibrateSignal.MPedCalcMeanFromLoGain.MaxHiGainVar: 40
|
|---|
| 228 |
|
|---|
| 229 | #MJCalibrateSignal.MPedCalcRmsFromLoGain.PedestalUpdate: yes
|
|---|
| 230 | #MJCalibrateSignal.MPedCalcRmsFromLoGain.NumEventsDump: 1500
|
|---|
| 231 | #MJCalibrateSignal.MPedCalcRmsFromLoGain.ExtractWinFirst: 15
|
|---|
| 232 | #MJCalibrateSignal.MPedCalcRmsFromLoGain.ExtractWinSize: 6
|
|---|
| 233 | #MJCalibrateSignal.MPedCalcRmsFromLoGain.CheckWinFirst: 0
|
|---|
| 234 | #MJCalibrateSignal.MPedCalcRmsFromLoGain.CheckWinSize: 29
|
|---|
| 235 | #MJCalibrateSignal.MPedCalcRmsFromLoGain.MaxHiGainVar: 40
|
|---|
| 236 |
|
|---|
| 237 | # -------------------------------------------------------------------------
|
|---|
| 238 | # Setup calibration of data
|
|---|
| 239 | # -------------------------------------------------------------------------
|
|---|
| 240 | #MJCalibrateSignal.MCalibrateData.PedestalFlag: Event
|
|---|
| 241 | #MJCalibrateSignal.MCalibrateData.CalibrationMode: Default
|
|---|
| 242 |
|
|---|
| 243 | # -------------------------------------------------------------------------
|
|---|
| 244 | # Setup level for determining of bad pixels
|
|---|
| 245 | # -------------------------------------------------------------------------
|
|---|
| 246 | #MJCalibrateSignal.MBadPixelsCalc.PedestalLevel: 3.0
|
|---|
| 247 | #MJCalibrateSignal.MBadPixelsTreat.NumMinNeighbors: 2
|
|---|
| 248 | #MJCalibrateSignal.MBadPixelsTreat.UseInterpolation: yes
|
|---|
| 249 | #MJCalibrateSignal.MBadPixelsTreat.ProcessPedestalEvt: yes
|
|---|
| 250 | #MJCalibrateSignal.MBadPixelsTreat.ProcessPedestalRun: no
|
|---|
| 251 | #MJCalibrateSignal.MBadPixelsTreat.ProcessTimes: yes
|
|---|
| 252 | #MJCalibrateSignal.MBadPixelsTreat.UseCentralPixel: no
|
|---|
| 253 | #MJCalibrateSignal.MBadPixelsTreat.HardTreatment: no
|
|---|