source: branches/Mars_IncreaseNsb/ceres.rc@ 19882

Last change on this file since 19882 was 18333, checked in by Jens Buss, 9 years ago
Reintegrated private branch for the simulation of a gapd time jitter to the trunk
File size: 10.3 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# -------------------------------------------------------------------------
13MLog.VerbosityLevel: 4
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/fact/atmopshere-aerosols.txt
80#MSimAtmosphere.FileOzone: resmc/fact/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: resmc/fact/fact-reflector.txt
100# Units mm: ~0.02°
101#Reflector.SetSigmaPSF: 1.8
102# Units mm: ~0.03°
103#Reflector.SetSigmaPSF: 2.6
104#Reflector.SetSigmaPSF: 1.66
105
106# new Value from 7.12.2012:
107# 0.95 of the reflected light was inside a circle with a radius of 2.25mm.
108# This corresponds to a SigmaPSF of 1.3 mm
109# This value is based on a direct measurement of the mirrors. There
110# is no way it can be wrong. Only the ray-tracing algorithm could be wrong.
111Reflector.SetSigmaPSF: 1.3
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#MGeomCam.Constructor: MGeomCamDwarf(189.8, 9.5, 4.8887);
120MGeomCam.Constructor: MGeomCamFACT();
121
122#MSimBundlePhotons.FileName: resmc/fact/dwarf-fact.txt
123
124# Set the APD type (1: 30x30 <default>, 2: 60x60, 3:60x60(ct=15%))
125MSimAPD.Type: 4
126MSimExcessNoise.ExcessNoise: 0.12
127
128# -------------------------------------------------------------------------
129# Setup the absorption, conversion efficiency and angular acceptance
130# -------------------------------------------------------------------------
131MirrorReflectivity.FileName: resmc/fact/MirrorReflectivity_Lustermann_FACT_bearbeitet.txt
132PhotonDetectionEfficiency.FileName: resmc/fact/fact-pde-1.0V.txt
133ConesAngularAcceptance.FileName: resmc/fact/fact-cones-angular-acceptance.txt
134ConesTransmission.FileName: resmc/fact/Transmittance_1439Cones_FACT_bearbeitet.txt
135
136# A backward motivated overall PDE adjustment. Introduced by Fabian T. to produce the ICRC2015 Crab spectrum. Fabian, please comment a bit more on this. In case this is only about the additional shielding of our camera support structure, then we schould actually name it like this.
137
138AdditionalPhotonAcceptance.Function.Name: 0.8
139AdditionalPhotonAcceptance.Function.Npx: 100L
140AdditionalPhotonAcceptance.Function.Xmin: 290L
141AdditionalPhotonAcceptance.Function.Xmax: 900L
142
143# -------------------------------------------------------------------------
144# Setup what in MMCS would be called "additional spot size"
145# -------------------------------------------------------------------------
146#MSimPSF.Sigma: -1
147#MSimReflector.DetectorMargin: 0
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# NSB photon rate per cm^2 ~40MHz (folded with the cones' angular
155# acceptance and the wavelength acceptance of the camera (window, apd, etc)
156# 0.040 1/ns/cm^2 NSB-rate:
157#MSimRandomPhotons.FrequencyNSB: 0.025
158
159# FIXME: With a class describing the cones we could give NSB as
160# per sr and cm^2
161
162# -------------------------------------------------------------------------
163# Setup the trigger
164# -------------------------------------------------------------------------
165# This line could be omitted but then the discriminator would be
166# evaluated for all pixels not just for the pixels which are
167# later "connected" in the trigger (used in the coincidence map)
168# MSimTrigger.FileNameRouteAC: resmc/fact/magic-trigger-1NN.txt
169
170MSimTrigger.FileNameRouteAC: resmc/fact/fact-trigger-sum.txt
171
172# DiscriminatorThreshold is 9*offset(-1850)+21*gain(22.375)=16180.125
173MSimTrigger.DiscriminatorThreshold: -16180.125
174
175# Every Pixel(!) should see the same signal independant of its size
176MSimCalibrationSignal.NumPhotons: 24
177MSimCalibrationSignal.NumEvents: 1000
178
179IntendedPulsePos.Val: 25
180
181#PulseShape.Function.Name: exp(-(x/2)^2/2)
182#PulseShape.FileName: resmc/fact/dwarf-pulse.txt
183
184# -------------------------------------------------------------------------
185# Description how a pedestal/calibration signal is produced
186# -------------------------------------------------------------------------
187
188#MSimCalibrationSignal.NumEvents: 1000
189#MSimCalibrationSignal.NumPhotons: 5
190#MSimCalibrationSignal.TimeJitter: 1.0
191
192
193# -------------------------------------------------------------------------
194# Setup the FADC
195# -------------------------------------------------------------------------
196
197MRawRunHeader.SamplingFrequency: 2000
198MRawRunHeader.NumSamples: 300
199MRawRunHeader.NumBytesPerSample: 2
200MRawRunHeader.FadcResolution: 12
201
202MSimCamera.DefaultOffset: -1850.0
203MSimCamera.DefaultNoise: 2.8125
204MSimCamera.DefaultGain: 22.375
205
206# Value for the fudgefactor in the calculation of the accoupling:
207MSimCamera.ACFudgeFactor: 0.3367
208MSimCamera.ACTimeConstant: 20
209
210#MSimReadout.fConversionFactor: 1
211
212# The number of sampling points is almost irrelevant because they
213# are equidistant, i.e. calculated and no search is necessary.
214# Nevertheless, you must make sure that there are enough points
215# to sample the function accuratly enough.
216# Attention: x in the function is given in slices, so if you change the sampling
217# frequency you have to change also this function
218PulseShape.Function.Name: (1.626*(1-exp(-0.3803*0.5*x))*exp(-0.0649*0.5*x))
219PulseShape.Function.Npx: 300
220PulseShape.Function.Xmin: 0
221PulseShape.Function.Xmax: 300
222
223# -------------------------------------------------------------------------
224# Setup an image cleaning on the pure gamma signal (without noise)
225# -------------------------------------------------------------------------
226
227#MImgCleanStd.CleanLevel1: 6.0
228#MImgCleanStd.CleanLevel2: 6.0
229
230# -------------------------------------------------------------------------
231# This is a cut executed after the calculation of the image parameters
232# -------------------------------------------------------------------------
233Cut.Inverted: Yes
234
235#Cut.Condition: MNewImagePar.fNumUsedPixels>3 && MHillas.fSize>6
236Cut.Condition: MHillas.fSize>10
237#&& MHillas.fSize>30
238#MSimTrigger.SimulateElectronics: Off
239
240# Does not trigger anyway
241ContEmpty3.Condition: MPhotonEvent.GetNumPhotons<10
242
243MFixTimeOffset.FileName: resmc/fact/pixel_delays_ALL_ZERO.csv
244# MFixTimeOffset.FileName: resmc/fact/AllPhidoFiles_delays.csv
245
246ResidualTimeSpread.Val: 0.0
247GapdTimeJitter.Val: 0.0
248
249# last line comment
Note: See TracBrowser for help on using the repository browser.