source: fact/tools/pyscripts/simulation/030/ceres_without_afterpulse.rc@ 14805

Last change on this file since 14805 was 14805, checked in by neise, 12 years ago
initial commit
File size: 10.4 KB
Line 
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
45BinningImpact.Raw: 40 0 1000
46# BinningHeight.Raw: 50 0 12
47# BinningAz.Raw: 360 -360 360
48# BinningZd.Raw: 70 0 70
49# BinningViewCone.Raw: 155 0 31
50BinningTrigPos.Raw: 300 -25 275
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# -------------------------------------------------------------------------
61RandomNumberGenerator: 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# -------------------------------------------------------------------------
95Reflector.Constructor: MReflector
96
97# For the file definition see MReflector::ReadFile
98
99Reflector.FileName: /magic/simulated/setup/ceres/028/reflector_1.8.txt
100# Units mm: ~0.02°
101#Reflector.SetSigmaPSF: 1.8
102# Units mm: ~0.03°
103#Reflector.SetSigmaPSF: 2.6
104Reflector.SetSigmaPSF: 1.66
105
106
107# --- DWARF ---
108# distance from mirror to camera [cm]
109#focal_distance 489.73
110# TRUE focal of the paraboloid (must correspond to that of the mirror positions defined below!)
111#paraboloid_focal 488.87
112
113#MGeomCam.Constructor: MGeomCamDwarf(189.8, 9.5, 4.8887);
114MGeomCam.Constructor: MGeomCamFACT();
115
116#MSimBundlePhotons.FileName: resmc/dwarf-fact.txt
117
118# Set the APD type (1: 30x30 <default>, 2: 60x60, 3:60x60(ct=15%))
119MSimAPD.Type: 3
120MSimExcessNoise.ExcessNoise: 0.12
121
122# -------------------------------------------------------------------------
123# Setup the absorption, conversion efficiency and angular acceptance
124# -------------------------------------------------------------------------
125MirrorReflectivity.FileName: /magic/simulated/setup/ceres/013/dwarf-reflectivity-measured.txt
126PhotonDetectionEfficiency.FileName: /magic/simulated/setup/ceres/013/fact-pde-1.4V.txt
127ConesAngularAcceptance.FileName: /magic/simulated/setup/ceres/013/fact-cones-sample2.txt
128ConesTransmission.FileName: /magic/simulated/setup/ceres/013/fact-cones-trans-sample2.txt
129
130# -------------------------------------------------------------------------
131# Setup what in MMCS would be called "additional spot size"
132# -------------------------------------------------------------------------
133#MSimPSF.Sigma: -1
134#MSimReflector.DetectorMargin: 0
135
136
137# -------------------------------------------------------------------------
138# Setup the dark counts (FrequencyFixed) and the NSB noise per cm^2
139# -------------------------------------------------------------------------
140# Dark Counts per APD: ~4MHz
141#MSimRandomPhotons.FrequencyFixed: 0.004
142# NSB photon rate per cm^2 ~40MHz (folded with the cones' angular
143# acceptance and the wavelength acceptance of the camera (window, apd, etc)
144#MSimRandomPhotons.FrequencyNSB: 8.26e-4
145
146# FIXME: With a class describing the cones we could give NSB as
147# per sr and cm^2
148
149# -------------------------------------------------------------------------
150# Setup the trigger
151# -------------------------------------------------------------------------
152# This line could be omitted but then the discriminator would be
153# evaluated for all pixels not just for the pixels which are
154# later "connected" in the trigger (used in the coincidence map)
155# MSimTrigger.FileNameRouteAC: resmc/magic-trigger-1NN.txt
156
157MSimTrigger.FileNameRouteAC: /magic/simulated/setup/ceres/013/fact-trigger-sum.txt
158MSimTrigger.DiscriminatorThreshold: 13081
159
160# HEGRA like single pixel above threshold trigger
161#MSimTrigger.DiscriminatorThreshold: 10.00
162# Is this an option for a single pixel trigger?
163#MSimTrigger.DigitalSignalLength: -1
164#MSimTrigger.CoincidenceTime: 3
165
166# Magic like 2NN trigger (inner 396 pixel)
167#MSimTrigger.FileNameCoincidenceMap: resmc/magic-trigger-2NN.txt
168#MSimTrigger.DiscriminatorThreshold: 7.00
169#MSimTrigger.DigitalSignalLength: 8
170#MSimTrigger.CoincidenceTime: 0.5
171
172# Magic like 3NN trigger (inner 396 pixel)
173#MSimTrigger.FileNameCoincidenceMap: resmc/magic-trigger-3NN.txt
174#MSimTrigger.DiscriminatorThreshold: 6.0
175#MSimTrigger.DigitalSignalLength: 8
176#MSimTrigger.CoincidenceTime: 0.5
177
178# Magic like 4NN trigger (inner 396 pixel)
179#MSimTrigger.FileNameCoincidenceMap: resmc/magic-trigger-4NN.txt
180#MSimTrigger.DiscriminatorThreshold: 5.0
181#MSimTrigger.DigitalSignalLength: 8
182#MSimTrigger.CoincidenceTime: 0.5
183
184#MSimTrigger.FileNameRouteAC: resmc/fact-7map.txt
185#MSimTrigger.DiscriminatorThreshold: 14040
186#MSimTrigger.DigitalSignalLength: 8
187#MSimTrigger.CoincidenceTime: 0.5
188
189# Every Pixel(!) should see the same signal independant of its size
190MSimCalibrationSignal.NumPhotons: 24
191MSimCalibrationSignal.NumEvents: 1000
192
193IntendedPulsePos.Val: 40
194
195#PulseShape.Function.Name: exp(-(x/2)^2/2)
196PulseShape.FileName: /magic/simulated/setup/ceres/013/dwarf-pulse.txt
197
198# -------------------------------------------------------------------------
199# Description how a pedestal/calibration signal is produced
200# -------------------------------------------------------------------------
201
202#MSimCalibrationSignal.NumEvents: 1000
203#MSimCalibrationSignal.NumPhotons; 5
204#MSimCalibrationSignal.TimeJitter; 1.0
205
206
207# -------------------------------------------------------------------------
208# Setup the FADC
209# -------------------------------------------------------------------------
210
211# Currently only 1GHz is supported
212MRawRunHeader.SamplingFrequency: 1000
213MRawRunHeader.NumSamples: 150
214MRawRunHeader.NumBytesPerSample: 2
215MRawRunHeader.FadcResolution: 12
216
217# Old values
218# Baseline at 15 like in MAGIC
219# 1.5 bit noise for a gain of 64
220# This allows a maximum of 200phe/pix
221#MSimCamera.DefaultOffset: 960
222#MSimCamera.DefaultNoise: 96
223#MSimCamera.DefaultGain: 256
224
225# New values
226MSimCamera.DefaultOffset: 1000
227MSimCamera.DefaultNoise: 30
228MSimCamera.DefaultGain: 190
229
230
231
232#MSimReadout.fConversionFactor: 1
233
234# The number of sampling points is almost irrelevant because they
235# are equidistant, i.e. calculated and no search is necessary.
236# Nevertheless, you must make sure that there are enough points
237# to sample the function accuratly enough.
238#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))
239#MPulseShape.Function.Npx: 250
240#MPulseShape.Function.Xmin: -5
241#MPulseShape.Function.Xmax: 45
242
243# -------------------------------------------------------------------------
244# Setup an image cleaning on the pure gamma signal (without noise)
245# -------------------------------------------------------------------------
246
247#MImgCleanStd.CleanLevel1: 6.0
248#MImgCleanStd.CleanLevel2: 6.0
249
250# -------------------------------------------------------------------------
251# This is a cut executed after the calculation of the image parameters
252# -------------------------------------------------------------------------
253Cut.Inverted: Yes
254
255#Cut.Condition: MNewImagePar.fNumUsedPixels>3 && MHillas.fSize>6
256Cut.Condition: MHillas.fSize>10
257#&& MHillas.fSize>30
258#MSimTrigger.SimulateElectronics: Off
259
260# Does not trigger anyway
261ContEmpty3.Condition: MPhotonEvent.GetNumPhotons<10
Note: See TracBrowser for help on using the repository browser.