| 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 | #                                   Ceres | 
|---|
| 21 | # ========================================================================== | 
|---|
| 22 | ############################################################################# | 
|---|
| 23 | # ========================================================================== | 
|---|
| 24 |  | 
|---|
| 25 | # ------------------------------------------------------------------------- | 
|---|
| 26 | # Use this if you want to write the MJStar output somewhere | 
|---|
| 27 | # If you don't want it, it is written to the calibration output anyhow. | 
|---|
| 28 | # ------------------------------------------------------------------------- | 
|---|
| 29 | #PathOut: . | 
|---|
| 30 | #PathIn: . | 
|---|
| 31 |  | 
|---|
| 32 |  | 
|---|
| 33 | # ------------------------------------------------------------------------- | 
|---|
| 34 | # Configure Eventloop | 
|---|
| 35 | # ------------------------------------------------------------------------- | 
|---|
| 36 | #MaxEvents: 10000 | 
|---|
| 37 | #Overwrite: yes,no | 
|---|
| 38 |  | 
|---|
| 39 |  | 
|---|
| 40 | # ------------------------------------------------------------------------- | 
|---|
| 41 | # Use this to setup binnings. For more details see: MBinning::ReadEnv | 
|---|
| 42 | # ------------------------------------------------------------------------- | 
|---|
| 43 | # BinningEnergy.Raw:      100      1    100000  log | 
|---|
| 44 | # BinningSize.Raw:        100      1  10000000  log | 
|---|
| 45 | # BinningImpact.Raw:       50   -250       250 | 
|---|
| 46 | # BinningHeight.Raw:       50      0        12 | 
|---|
| 47 | # BinningAz.Raw:          360   -360       360 | 
|---|
| 48 | # BinningZd.Raw:           70      0        70 | 
|---|
| 49 | # BinningViewCone.Raw:    155      0        31 | 
|---|
| 50 | # BinningTrigPos.Raw:     150    -25       125 | 
|---|
| 51 | # BinningEvtWidth.Raw:    150      0        25 | 
|---|
| 52 | # BinningDist.Raw:        100      0       2.5 | 
|---|
| 53 | # BinningDistC.Raw:       100      0       2.5 | 
|---|
| 54 | # BinningThreshold.Raw:    35    0.9     90000  log | 
|---|
| 55 | # BinningEnergyEst.Raw:   100    0.9     90000  log | 
|---|
| 56 |  | 
|---|
| 57 |  | 
|---|
| 58 | # ------------------------------------------------------------------------- | 
|---|
| 59 | # Initialize random number generator (see MJob::InitRandomNumberGenerator) | 
|---|
| 60 | # ------------------------------------------------------------------------- | 
|---|
| 61 | RandomNumberGenerator: TRandom3 | 
|---|
| 62 | #RandomNumberSeedValue: 0 | 
|---|
| 63 |  | 
|---|
| 64 |  | 
|---|
| 65 | # ------------------------------------------------------------------------- | 
|---|
| 66 | # Ceres general setup | 
|---|
| 67 | # ------------------------------------------------------------------------- | 
|---|
| 68 |  | 
|---|
| 69 | # Switch off the camera "electronics" | 
|---|
| 70 | #Camera: Off | 
|---|
| 71 |  | 
|---|
| 72 | # Force the use of the "hardware" trigger for calibration data | 
|---|
| 73 | #ForceTrigger: Yes | 
|---|
| 74 |  | 
|---|
| 75 |  | 
|---|
| 76 | # ------------------------------------------------------------------------- | 
|---|
| 77 | # Some setup for the atmosphere. The default should be well suited. | 
|---|
| 78 | # ------------------------------------------------------------------------- | 
|---|
| 79 | #MSimAtmosphere.FileAerosols: resmc/atmopshere-aerosols.txt | 
|---|
| 80 | #MSimAtmosphere.FileOzone:    resmc/atmopshere-ozone.txt | 
|---|
| 81 |  | 
|---|
| 82 |  | 
|---|
| 83 | # ------------------------------------------------------------------------- | 
|---|
| 84 | # Here you can control the poiting of the telescope. To switch on | 
|---|
| 85 | # off-target observations set a value for the distance !=0 [deg]. | 
|---|
| 86 | # For details see MSimPointingPos | 
|---|
| 87 | # ------------------------------------------------------------------------- | 
|---|
| 88 | #MSimPointingPos.OffTargetDistance: 0.4 | 
|---|
| 89 | #MSimPointingPos.OffTargetPhi: -1 | 
|---|
| 90 |  | 
|---|
| 91 |  | 
|---|
| 92 | # ------------------------------------------------------------------------- | 
|---|
| 93 | # Setup the reflector and camera geometry | 
|---|
| 94 | # ------------------------------------------------------------------------- | 
|---|
| 95 | Reflector.Constructor: MReflector | 
|---|
| 96 |  | 
|---|
| 97 | # For the file definition see MReflector::ReadFile | 
|---|
| 98 |  | 
|---|
| 99 | #Reflector.FileName: resmc/magic-reflector.txt | 
|---|
| 100 | #Reflector.FileName: resmc/magic-reflector-chessboard.txt | 
|---|
| 101 | # Units mm: ~0.020° | 
|---|
| 102 | #Reflector.SetSigmaPSF: 6.0 | 
|---|
| 103 | # Units mm: ~0.025° | 
|---|
| 104 | #Reflector.SetSigmaPSF: 7.5 | 
|---|
| 105 |  | 
|---|
| 106 | Reflector.FileName: resmc/dwarf-reflector.txt | 
|---|
| 107 | # Units mm: ~0.02° | 
|---|
| 108 | #Reflector.SetSigmaPSF: 1.8 | 
|---|
| 109 | # Units mm: ~0.03° | 
|---|
| 110 | Reflector.SetSigmaPSF: 2.6 | 
|---|
| 111 |  | 
|---|
| 112 |  | 
|---|
| 113 | # --- DWARF --- | 
|---|
| 114 | # distance from mirror to camera [cm] | 
|---|
| 115 | #focal_distance     489.73 | 
|---|
| 116 | # TRUE focal of the paraboloid (must correspond to that of the mirror positions defined below!) | 
|---|
| 117 | #paraboloid_focal   488.87 | 
|---|
| 118 |  | 
|---|
| 119 | # Hex cones maximum D=8mm | 
|---|
| 120 | GeomCones.Constructor:  MGeomCamDwarf(209.5, 7.5, 4.8887); | 
|---|
| 121 | MGeomCam.Constructor:   MGeomCamDwarf(209.5, 15,  4.8887); | 
|---|
| 122 |  | 
|---|
| 123 | MSimBundlePhotons.FileName: resmc/dwarf-apdmap.txt | 
|---|
| 124 |  | 
|---|
| 125 | # Set the APD type (1: 30x30 <default>, 2: 60x60) | 
|---|
| 126 | #MSimAPD.Type: 1 | 
|---|
| 127 |  | 
|---|
| 128 | # --- MAGIC --- | 
|---|
| 129 | #MGeomCam.Constructor:   MGeomCamMagic(17.0) | 
|---|
| 130 | #MSimAPD.NameGeomCam: | 
|---|
| 131 |  | 
|---|
| 132 |  | 
|---|
| 133 | # ------------------------------------------------------------------------- | 
|---|
| 134 | # Setup the absorption, conversion efficiency and angular acceptance | 
|---|
| 135 | # ------------------------------------------------------------------------- | 
|---|
| 136 | MirrorReflectivity.FileName:           resmc/dwarf-reflectivity.txt | 
|---|
| 137 | PhotonDetectionEfficiency.FileName:    resmc/dwarf-pde-gapd.txt | 
|---|
| 138 | ConesAngularAcceptance.FileName:       resmc/dwarf-cones.txt | 
|---|
| 139 | ConesTransmission.FileName:            resmc/dwarf-cones-trans.txt | 
|---|
| 140 |  | 
|---|
| 141 |  | 
|---|
| 142 | # ------------------------------------------------------------------------- | 
|---|
| 143 | # Setup what in MMCS would be called "additional spot size" | 
|---|
| 144 | # ------------------------------------------------------------------------- | 
|---|
| 145 | #MSimPSF.Sigma: -1 | 
|---|
| 146 | #MSimReflector.DetectorMargin: 0 | 
|---|
| 147 |  | 
|---|
| 148 |  | 
|---|
| 149 | # ------------------------------------------------------------------------- | 
|---|
| 150 | # Setup the dark counts (FrequencyFixed) and the NSB noise per cm^2 | 
|---|
| 151 | # ------------------------------------------------------------------------- | 
|---|
| 152 | # Dark Counts per APD: ~4MHz | 
|---|
| 153 | #MSimRandomPhotons.FrequencyFixed: 0.004 | 
|---|
| 154 | # Spectrum to use as NSB spectrum (see Benn et al. for example) | 
|---|
| 155 | #MSimRandomPhotons.FileNameNSB: resmc/night-sky-la-palma.txt | 
|---|
| 156 | # If an empty file name is given a constant is used instead: | 
|---|
| 157 | #  NSB photon rate [ph/m^2/nm/sr/ns] | 
|---|
| 158 | #MSimRandomPhotons.FrequencyNSB:   5.8 | 
|---|
| 159 |  | 
|---|
| 160 | # FIXME: With a class describing the cones we could give NSB as | 
|---|
| 161 | # per sr and cm^2 | 
|---|
| 162 |  | 
|---|
| 163 |  | 
|---|
| 164 | # ------------------------------------------------------------------------- | 
|---|
| 165 | # Setup the trigger | 
|---|
| 166 | # ------------------------------------------------------------------------- | 
|---|
| 167 | # This line could be omitted but then the discriminator would be | 
|---|
| 168 | # evaluated for all pixels not just for the pixels which are | 
|---|
| 169 | # later "connected" in the trigger (used in the coincidence map) | 
|---|
| 170 | # MSimTrigger.FileNameRouteAC:         resmc/magic-trigger-1NN.txt | 
|---|
| 171 |  | 
|---|
| 172 | # HEGRA like single pixel above threshold trigger | 
|---|
| 173 | #MSimTrigger.DiscriminatorThreshold:  10.00 | 
|---|
| 174 | # Is this an option for a single pixel trigger? | 
|---|
| 175 | #MSimTrigger.DigitalSignalLength:     -1 | 
|---|
| 176 | #MSimTrigger.CoincidenceTime:          3 | 
|---|
| 177 |  | 
|---|
| 178 | # Magic like 2NN trigger (inner 396 pixel) | 
|---|
| 179 | #MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-2NN.txt | 
|---|
| 180 | #MSimTrigger.DiscriminatorThreshold:  7.00 | 
|---|
| 181 | #MSimTrigger.DigitalSignalLength:     8 | 
|---|
| 182 | #MSimTrigger.CoincidenceTime:         0.5 | 
|---|
| 183 |  | 
|---|
| 184 | # Magic like 3NN trigger (inner 396 pixel) | 
|---|
| 185 | #MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-3NN.txt | 
|---|
| 186 | #MSimTrigger.DiscriminatorThreshold:  6.0 | 
|---|
| 187 | #MSimTrigger.DigitalSignalLength:     8 | 
|---|
| 188 | #MSimTrigger.CoincidenceTime:         0.5 | 
|---|
| 189 |  | 
|---|
| 190 | # Magic like 4NN trigger (inner 396 pixel) | 
|---|
| 191 | #MSimTrigger.FileNameCoincidenceMap:  resmc/magic-trigger-4NN.txt | 
|---|
| 192 | #MSimTrigger.DiscriminatorThreshold:  5.0 | 
|---|
| 193 | #MSimTrigger.DigitalSignalLength:     8 | 
|---|
| 194 | #MSimTrigger.CoincidenceTime:         0.5 | 
|---|
| 195 |  | 
|---|
| 196 | MSimTrigger.FileNameRouteAC:         resmc/magic-trigger-3NN.txt | 
|---|
| 197 | MSimTrigger.DiscriminatorThreshold:  11000 | 
|---|
| 198 | MSimTrigger.DigitalSignalLength:     8 | 
|---|
| 199 | MSimTrigger.CoincidenceTime:         0.5 | 
|---|
| 200 |  | 
|---|
| 201 | IntendedPulsePos.Val: 40 | 
|---|
| 202 |  | 
|---|
| 203 | PulseShape.Function.Name: exp(-(x/2)^2/2) | 
|---|
| 204 |  | 
|---|
| 205 | # ------------------------------------------------------------------------- | 
|---|
| 206 | # Description how a pedestal/calibration signal is produced | 
|---|
| 207 | # ------------------------------------------------------------------------- | 
|---|
| 208 |  | 
|---|
| 209 | #MSimCalibrationSignal.NumEvents:  1000 | 
|---|
| 210 | #MSimCalibrationSignal.NumPhotons:    5 | 
|---|
| 211 | #MSimCalibrationSignal.TimeJitter:  1.0 | 
|---|
| 212 |  | 
|---|
| 213 |  | 
|---|
| 214 | # ------------------------------------------------------------------------- | 
|---|
| 215 | # Setup the FADC | 
|---|
| 216 | # ------------------------------------------------------------------------- | 
|---|
| 217 |  | 
|---|
| 218 | # Currently only 1GHz is supported | 
|---|
| 219 | MRawRunHeader.SamplingFrequency: 1000 | 
|---|
| 220 | MRawRunHeader.NumSamples:         150 | 
|---|
| 221 | MRawRunHeader.NumBytesPerSample:    2 | 
|---|
| 222 | MRawRunHeader.FadcResolution:      12 | 
|---|
| 223 |  | 
|---|
| 224 | #MSimReadout.fConversionFactor: 1 | 
|---|
| 225 |  | 
|---|
| 226 | # The number of sampling points is almost irrelevant because they | 
|---|
| 227 | # are equidistant, i.e. calculated and no search is necessary. | 
|---|
| 228 | # Nevertheless, you must make sure that there are enough points | 
|---|
| 229 | # to sample the function accuratly enough. | 
|---|
| 230 | #MPulseShape.Function.Name:  3.51308*exp(-1.4105*(exp(-0.5*x)+0.310942*x)) + 4.33521e-3*exp(-1.4105*(exp(-0.5*x)+6.09265e-3*x)) | 
|---|
| 231 | #MPulseShape.Function.Npx:   250 | 
|---|
| 232 | #MPulseShape.Function.Xmin:   -5 | 
|---|
| 233 | #MPulseShape.Function.Xmax:   45 | 
|---|
| 234 |  | 
|---|
| 235 | # Old values | 
|---|
| 236 | # Baseline at 15 like in MAGIC | 
|---|
| 237 | # 1.5 bit noise for a gain of 64 | 
|---|
| 238 | # This allows a maximum of 200phe/pix | 
|---|
| 239 | MSimCamera.DefaultOffset: 960 | 
|---|
| 240 | MSimCamera.DefaultNoise:   96 | 
|---|
| 241 | MSimCamera.DefaultGain:   256 | 
|---|
| 242 |  | 
|---|
| 243 | # New values | 
|---|
| 244 | #MSimCamera.DefaultOffset: 1000 | 
|---|
| 245 | #MSimCamera.DefaultNoise:    30 | 
|---|
| 246 | #MSimCamera.DefaultGain:    190 | 
|---|
| 247 |  | 
|---|
| 248 |  | 
|---|
| 249 | # ------------------------------------------------------------------------- | 
|---|
| 250 | # Setup an image cleaning on the pure gamma signal (without noise) | 
|---|
| 251 | # The default is to removed signals in isolated pixels. No time constraint | 
|---|
| 252 | # is applied by default. | 
|---|
| 253 | # ------------------------------------------------------------------------- | 
|---|
| 254 |  | 
|---|
| 255 | #MImgCleanStd.CleanLevel1:   6.0 | 
|---|
| 256 | #MImgCleanStd.CleanLevel2:   6.0 | 
|---|
| 257 |  | 
|---|
| 258 | # ------------------------------------------------------------------------- | 
|---|
| 259 | # This is a cut executed after the calculation of the image parameters | 
|---|
| 260 | # ------------------------------------------------------------------------- | 
|---|
| 261 | #Cut.Inverted: Yes | 
|---|
| 262 | #Cut.Condition: MHillas.fSize>10 | 
|---|
| 263 |  | 
|---|
| 264 | #MSimTrigger.SimulateElectronics: Off | 
|---|