| 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 | MJPedestalC2.ExtractSignal.WeightsFile: msignal/calibration_weights_UV.dat
|
|---|
| 60 | MJPedestalY2.ExtractSignal.WeightsFile: msignal/cosmics_weights.dat
|
|---|
| 61 | MJPedestalY3.ExtractSignal.WeightsFile: msignal/cosmics_weights.dat
|
|---|
| 62 | MJCalibration.ExtractSignal.WeightsFile: msignal/calibration_weights_UV.dat
|
|---|
| 63 | MJCalibrateSignal.ExtractSignal.WeightsFile: msignal/cosmics_weights.dat
|
|---|
| 64 |
|
|---|
| 65 |
|
|---|
| 66 | # -------------------------------------------------------------------------
|
|---|
| 67 | # Configure MJCalibration
|
|---|
| 68 | # -------------------------------------------------------------------------
|
|---|
| 69 | # Switch on relative time calibration
|
|---|
| 70 | #MJCalibration.RelTimeCalibration: Yes
|
|---|
| 71 | # Switch on intensity calibration
|
|---|
| 72 | #MJCalibration.IntensityCalibration: Yes
|
|---|
| 73 | # Set color to be used
|
|---|
| 74 | #MJCalibration.Color:
|
|---|
| 75 | # Type of displayed plots
|
|---|
| 76 | #MJCalibration.Display: Full,DataCheck,Normal
|
|---|
| 77 | # Used for data-check (eg. raw files are read)
|
|---|
| 78 | #MJCalibration.DataCheck: No
|
|---|
| 79 | # Write additinal debug output
|
|---|
| 80 | #MJCalibration.Debug: No
|
|---|
| 81 | # Use blind pixel
|
|---|
| 82 | #MJCalibration.UseBlindPixel: No
|
|---|
| 83 | # Use pin diode
|
|---|
| 84 | #MJCalibration.UsePINDiode: No
|
|---|
| 85 |
|
|---|
| 86 | # -------------------------------------------------------------------------
|
|---|
| 87 | # You can choose the pedestal extraction algorithm/task. To use
|
|---|
| 88 | # MPedCalcPedRun use the lines below. Be carefull, a pedestal file
|
|---|
| 89 | # could be (if no pedestal file available) a data-file, too.
|
|---|
| 90 | # -------------------------------------------------------------------------
|
|---|
| 91 | #MJPedestalC1.ExtractPedestal: MPedCalcPedRun
|
|---|
| 92 | #MJPedestalC1.ExtractPedestal.ExtractWinFirst: 0
|
|---|
| 93 | #MJPedestalC1.ExtractPedestal.ExtractWinSize: 6
|
|---|
| 94 | #MJPedestalC1.ExtractPedestal.PedestalUpdate: no
|
|---|
| 95 | #MJPedestalC1.ExtractPedestal.CheckWinFirst: 0
|
|---|
| 96 | #MJPedestalC1.ExtractPedestal.CheckWinSize: 29
|
|---|
| 97 |
|
|---|
| 98 | #MJPedestalC2.ExtractPedestal: MPedCalcPedRun
|
|---|
| 99 | #MJPedestalC2.ExtractPedestal.ExtractWinFirst: 0
|
|---|
| 100 | #MJPedestalC2.ExtractPedestal.ExtractWinSize: 6
|
|---|
| 101 | #MJPedestalC2.ExtractPedestal.PedestalUpdate: no
|
|---|
| 102 | #MJPedestalC2.ExtractPedestal.CheckWinFirst: 0
|
|---|
| 103 | #MJPedestalC2.ExtractPedestal.CheckWinSize: 29
|
|---|
| 104 |
|
|---|
| 105 | # -------------------------------------------------------------------------
|
|---|
| 106 | # You can choose the pedestal extraction algorithm/task. To use
|
|---|
| 107 | # MPedCalcFromLoGain use the lines below. Be carefull, a pedestal file
|
|---|
| 108 | # could be (if no pedestal file available) a data-file, too.
|
|---|
| 109 | # -------------------------------------------------------------------------
|
|---|
| 110 | #MJPedestalC1.ExtractPedestal: MPedCalcFromLoGain
|
|---|
| 111 | #MJPedestalC1.ExtractPedestal.ExtractWinFirst: 0
|
|---|
| 112 | #MJPedestalC1.ExtractPedestal.ExtractWinSize: 6
|
|---|
| 113 | #MJPedestalC1.ExtractPedestal.PedestalUpdate: no
|
|---|
| 114 | #MJPedestalC1.ExtractPedestal.CheckWinFirst: 0
|
|---|
| 115 | #MJPedestalC1.ExtractPedestal.CheckWinSize: 29
|
|---|
| 116 | #MJPedestalC1.ExtractPedestal.MaxHiGainVar: 40
|
|---|
| 117 |
|
|---|
| 118 | #MJPedestalC2.ExtractPedestal: MPedCalcFromLoGain
|
|---|
| 119 | #MJPedestalC2.ExtractPedestal.ExtractWinFirst: 0
|
|---|
| 120 | #MJPedestalC2.ExtractPedestal.ExtractWinSize: 6
|
|---|
| 121 | #MJPedestalC2.ExtractPedestal.PedestalUpdate: no
|
|---|
| 122 | #MJPedestalC2.ExtractPedestal.CheckWinFirst: 0
|
|---|
| 123 | #MJPedestalC2.ExtractPedestal.CheckWinSize: 29
|
|---|
| 124 | #MJPedestalC2.ExtractPedestal.MaxHiGainVar: 40
|
|---|
| 125 |
|
|---|
| 126 | # -------------------------------------------------------------------------
|
|---|
| 127 | # Configure MJPedestalC1 and MJPedestalC2
|
|---|
| 128 | # -------------------------------------------------------------------------
|
|---|
| 129 | # Used for data-check (eg. raw files are read)
|
|---|
| 130 | #MJPedestalC1.DataCheck: No
|
|---|
| 131 | #MJPedestalC2.DataCheck: No
|
|---|
| 132 | # Maximum number of event processed in the loop
|
|---|
| 133 | #MJPedestalC1.MaxEvents: 1000
|
|---|
| 134 | #MJPedestalC2.MaxEvents: 1000
|
|---|
| 135 | # Allow to overwrite existing files with the output file
|
|---|
| 136 | #MJPedestalC1.AllowOverwrite: No
|
|---|
| 137 | #MJPedestalC2.AllowOverwrite: No
|
|---|
| 138 | # Use data runs from the sequence instead of calibration runs
|
|---|
| 139 | #MJPedestalC1.UseData: No
|
|---|
| 140 | #MJPedestalC2.UseData: No
|
|---|
| 141 |
|
|---|
| 142 |
|
|---|
| 143 | # -------------------------------------------------------------------------
|
|---|
| 144 | # Use this if you want to change the signal extractor for the calibration
|
|---|
| 145 | # and automatically the data extraction
|
|---|
| 146 | # -------------------------------------------------------------------------
|
|---|
| 147 | #MJCalibration.ExtractSignal: MExtractFixedWindow
|
|---|
| 148 | #MJCalibration.ExtractSignal.HiGainFirst: 3
|
|---|
| 149 | #MJCalibration.ExtractSignal.HiGainLast: 14
|
|---|
| 150 | #MJCalibration.ExtractSignal.LoGainFirst: 4
|
|---|
| 151 | #MJCalibration.ExtractSignal.LoGainLast: 13
|
|---|
| 152 | #MJCalibration.ExtractSignal.HiGainWindowSize: 6
|
|---|
| 153 | #MJCalibration.ExtractSignal.LoGainWindowSize: 6
|
|---|
| 154 | #MJCalibration.ExtractSignal.PeakSearchWindow: 4
|
|---|
| 155 | #MJCalibration.ExtractSignal.OffsetFromWindow: 1
|
|---|
| 156 | #MJCalibration.ExtractSignal.LoGainPeakShift: 0
|
|---|
| 157 |
|
|---|
| 158 | # -------------------------------------------------------------------------
|
|---|
| 159 | # Use this if you want to change the time extractor for the calibration
|
|---|
| 160 | # and automatically the data extraction
|
|---|
| 161 | # -------------------------------------------------------------------------
|
|---|
| 162 | #MJCalibration.ExtractTime: <dummy>
|
|---|
| 163 | #MJCalibration.ExtractTime: MExtractTimeFastSpline
|
|---|
| 164 | #MJCalibration.ExtractTime.HiGainFirst: 0
|
|---|
| 165 | #MJCalibration.ExtractTime.HiGainLast: 7
|
|---|
| 166 | #MJCalibration.ExtractTime.LoGainFirst: 3
|
|---|
| 167 | #MJCalibration.ExtractTime.LoGainLast: 8
|
|---|
| 168 | #MJCalibration.ExtractTime.WindowSizeHiGain: 6
|
|---|
| 169 | #MJCalibration.ExtractTime.WindowSizeLoGain: 6
|
|---|
| 170 | #MJCalibration.ExtractTime.OffsetLoGain: 1.51
|
|---|
| 171 |
|
|---|
| 172 | # -------------------------------------------------------------------------
|
|---|
| 173 | # Use this to change the behaviour of the calibration
|
|---|
| 174 | # -------------------------------------------------------------------------
|
|---|
| 175 | #MJCalibration.MCalibrationChargeCalc.ChargeLimit: 2.5
|
|---|
| 176 | #MJCalibration.MCalibrationChargeCalc.ChargeErrLimit: 0
|
|---|
| 177 | #MJCalibration.MCalibrationChargeCalc.ChargeRelErrLimit: 1
|
|---|
| 178 | #MJCalibration.MCalibrationChargeCalc.Debug: no
|
|---|
| 179 |
|
|---|
| 180 | #MJCalibration.MCalibrationChargeCalc.FFactorErrLimit: 4.5
|
|---|
| 181 | #MJCalibration.MCalibrationChargeCalc.LambdaErrLimit: 0.2
|
|---|
| 182 | #MJCalibration.MCalibrationChargeCalc.LambdaCheckLimit: 0.5
|
|---|
| 183 | #MJCalibration.MCalibrationChargeCalc.PheErrLimit: 3.5
|
|---|
| 184 |
|
|---|
| 185 | # -------------------------------------------------------------------------
|
|---|
| 186 | # Use this to change the behaviour of the calibration
|
|---|
| 187 | # -------------------------------------------------------------------------
|
|---|
| 188 | #MJCalibration.MHCalibrationChargeCam.Debug: no
|
|---|
| 189 |
|
|---|
| 190 |
|
|---|
| 191 |
|
|---|
| 192 | # ==========================================================================
|
|---|
| 193 | #############################################################################
|
|---|
| 194 | # ==========================================================================
|
|---|
| 195 | # Signal extraction
|
|---|
| 196 | # ==========================================================================
|
|---|
| 197 | #############################################################################
|
|---|
| 198 | # ==========================================================================
|
|---|
| 199 |
|
|---|
| 200 | # -------------------------------------------------------------------------
|
|---|
| 201 | # Use a OutputPath if you want to write the results to a file
|
|---|
| 202 | # -------------------------------------------------------------------------
|
|---|
| 203 | #MJCalibrateSignal.PathOut: .
|
|---|
| 204 | #MJPedestalY1.PathOut: .
|
|---|
| 205 | #MJPedestalY2.PathOut: .
|
|---|
| 206 | #MJPedestalY3.PathOut: .
|
|---|
| 207 | #MJPedestalY1.PathData: /data/MAGIC/Period016/
|
|---|
| 208 | #MJPedestalY2.PathData: /data/MAGIC/Period016/
|
|---|
| 209 | #MJPedestalY3.PathData: /data/MAGIC/Period016/
|
|---|
| 210 | #MJCalibrateSignal.PathData: /data/MAGIC/Period016/
|
|---|
| 211 | #MJCalibrateSignal.PathIn: .
|
|---|
| 212 |
|
|---|
| 213 | # -------------------------------------------------------------------------
|
|---|
| 214 | # If you want to change the behaviour of the pedestal extraction...
|
|---|
| 215 | # -------------------------------------------------------------------------
|
|---|
| 216 | # Used for data-check (eg. raw files are read)
|
|---|
| 217 | #MJPedestalY1.DataCheck: No
|
|---|
| 218 | #MJPedestalY2.DataCheck: No
|
|---|
| 219 | #MJPedestalY3.DataCheck: No
|
|---|
| 220 | #MJPedestalY1.UseData: Yes
|
|---|
| 221 | #MJPedestalY2.UseData: Yes
|
|---|
| 222 | #MJPedestalY3.UseData: Yes
|
|---|
| 223 | MJPedestalY1.MaxEvents: 500
|
|---|
| 224 | MJPedestalY2.MaxEvents: 500
|
|---|
| 225 | MJPedestalY3.MaxEvents: 500
|
|---|
| 226 |
|
|---|
| 227 | #MJPedestalY.ExtractPedestal: MPedCalcFromLoGain
|
|---|
| 228 | #MJPedestalY.ExtractPedestal.PedestalUpdate: no
|
|---|
| 229 |
|
|---|
| 230 | # -------------------------------------------------------------------------
|
|---|
| 231 | # Setup pedestal extractor for running through data
|
|---|
| 232 | # -------------------------------------------------------------------------
|
|---|
| 233 | #MJCalibrateSignal.MPedCalcFundamental.PedestalUpdate: yes
|
|---|
| 234 | #MJCalibrateSignal.MPedCalcFundamental.NumEventsDump: 1500
|
|---|
| 235 | #MJCalibrateSignal.MPedCalcFundamental.ExtractWinFirst: 15
|
|---|
| 236 | #MJCalibrateSignal.MPedCalcFundamental.ExtractWinSize: 6
|
|---|
| 237 | #MJCalibrateSignal.MPedCalcFundamental.CheckWinFirst: 0
|
|---|
| 238 | #MJCalibrateSignal.MPedCalcFundamental.CheckWinSize: 29
|
|---|
| 239 | #MJCalibrateSignal.MPedCalcFundamental.MaxHiGainVar: 40
|
|---|
| 240 |
|
|---|
| 241 | #MJCalibrateSignal.MPedCalcFromExtractor.PedestalUpdate: yes
|
|---|
| 242 | #MJCalibrateSignal.MPedCalcFromExtractor.NumEventsDump: 1500
|
|---|
| 243 | #MJCalibrateSignal.MPedCalcFromExtractor.ExtractWinFirst: 15
|
|---|
| 244 | #MJCalibrateSignal.MPedCalcFromExtractor.ExtractWinSize: 6
|
|---|
| 245 | #MJCalibrateSignal.MPedCalcFromExtractor.CheckWinFirst: 0
|
|---|
| 246 | #MJCalibrateSignal.MPedCalcFromExtractor.CheckWinSize: 29
|
|---|
| 247 | #MJCalibrateSignal.MPedCalcFromExtractor.MaxHiGainVar: 40
|
|---|
| 248 |
|
|---|
| 249 | # -------------------------------------------------------------------------
|
|---|
| 250 | # Setup calibration of data
|
|---|
| 251 | # -------------------------------------------------------------------------
|
|---|
| 252 | # Used for data-check (eg. raw files are read)
|
|---|
| 253 | #MJCalibrateSignal.DataCheck: No
|
|---|
| 254 | #MJCalibrateSignal.MCalibrateData.PedestalFlag: Event
|
|---|
| 255 | #MJCalibrateSignal.MCalibrateData.CalibrationMode: Default
|
|---|
| 256 | #MJCalibrateSignal.MCalibrateData.SignalType: Default
|
|---|
| 257 |
|
|---|
| 258 | # -------------------------------------------------------------------------
|
|---|
| 259 | # Setup level for determining of bad pixels
|
|---|
| 260 | # -------------------------------------------------------------------------
|
|---|
| 261 | MJCalibrateSignal.MBadPixelsCalc.PedestalLevel: 3.0
|
|---|
| 262 | MJCalibrateSignal.MBadPixelsCalc.PedestalLevelVariance: 3.0
|
|---|
| 263 | #MJCalibrateSignal.MBadPixelsTreat.NumMinNeighbors: 2
|
|---|
| 264 | #MJCalibrateSignal.MBadPixelsTreat.UseInterpolation: yes
|
|---|
| 265 | #MJCalibrateSignal.MBadPixelsTreat.ProcessPedestalEvt: yes
|
|---|
| 266 | #MJCalibrateSignal.MBadPixelsTreat.ProcessPedestalRun: no
|
|---|
| 267 | #MJCalibrateSignal.MBadPixelsTreat.ProcessTimes: yes
|
|---|
| 268 | #MJCalibrateSignal.MBadPixelsTreat.UseCentralPixel: no
|
|---|
| 269 | #MJCalibrateSignal.MBadPixelsTreat.HardTreatment: no
|
|---|