source: trunk/Mars/resmc/hawcseye/ceres.rc@ 19660

Last change on this file since 19660 was 19660, checked in by tbretz, 5 years ago
New files
File size: 10.9 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: 60 0 600
46# BinningHeight.Raw: 50 0 12
47# BinningAz.Raw: 360 -360 360
48# BinningZd.Raw: 70 0 70
49BinningViewCone.Raw: 56 0 14
50BinningTrigPos.Raw: 100 -5 45
51BinningTotLength.Raw: 150 0 150
52# BinningEvtWidth.Raw: 150 0 25
53# BinningDist.Raw: 100 0 2.5
54# BinningDistC.Raw: 100 0 2.5
55# BinningThreshold.Raw: 35 0.9 90000 log
56# BinningEnergyEst.Raw: 100 0.9 90000 log
57
58#BinningAlpha.Raw: 36 0 90
59BinningWidth.Raw: 50 0 3
60BinningLength.Raw: 25 0 3
61BinningDist.Raw: 25 0 15
62
63
64# -------------------------------------------------------------------------
65# Initialize random number generator (see MJob::InitRandomNumberGenerator)
66# -------------------------------------------------------------------------
67RandomNumberGenerator: TRandom3
68#RandomNumberSeedValue: 0
69
70
71MRead.CorsikaInputCard: <your-corsika-input-card>
72
73# -------------------------------------------------------------------------
74# Ceres general setup
75# -------------------------------------------------------------------------
76
77# Switch off the camera "electronics"
78#Camera: Off
79
80# Force the use of the "hardware" trigger for calibration data
81#ForceTrigger: Yes
82
83
84# -------------------------------------------------------------------------
85# Some setup for the atmosphere. The default should be well suited.
86# -------------------------------------------------------------------------
87#MSimAtmosphere.FileAerosols: resmc/fact/atmopshere-aerosols.txt
88#MSimAtmosphere.FileOzone: resmc/fact/atmopshere-ozone.txt
89
90
91# -------------------------------------------------------------------------
92# Here you can control the poiting of the telescope. To switch on
93# off-target observations set a value for the distance !=0 [deg].
94# For details see MSimPointingPos
95# -------------------------------------------------------------------------
96#MSimPointingPos.OffTargetDistance: 0.4
97#MSimPointingPos.OffTargetPhi: -1
98
99
100# -------------------------------------------------------------------------
101# Setup the reflector and camera geometry
102# -------------------------------------------------------------------------
103#Reflector.Constructor: MReflector();
104Reflector.Constructor: MFresnelLens();
105
106# For the file definition see MReflector::ReadFile
107
108Reflector.FileName: resmc/hawcseye/fake-reflector.txt
109# Units mm: ~0.02°
110#Reflector.SetSigmaPSF: 1.8
111# Units mm: ~0.03°
112#Reflector.SetSigmaPSF: 2.6
113#Reflector.SetSigmaPSF: 1.66
114
115# new Value from 7.12.2012:
116# 0.95 of the reflected light was inside a circle with a radius of 2.25mm.
117# This corresponds to a SigmaPSF of 1.3 mm
118# This value is based on a direct measurement of the mirrors. There
119# is no way it can be wrong. Only the ray-tracing algorithm could be wrong.
120Reflector.SetSigmaPSF: 5
121
122# --- DWARF ---
123# distance from mirror to camera [cm]
124#focal_distance 489.73
125# TRUE focal of the paraboloid (must correspond to that of the mirror positions defined below!)
126#paraboloid_focal 488.87
127
128#MGeomCam.Constructor: MGeomCamDwarf(189.8, 9.5, 4.8887);
129MGeomCam.Constructor: MGeomCamFAMOUS(0.502);
130
131#MSimBundlePhotons.FileName: resmc/fact/dwarf-fact.txt
132
133# Set the APD type (1: 30x30 <default>, 2: 60x60, 3:60x60(ct=15%))
134MSimAPD.Type: 5
135MSimExcessNoise.ExcessNoise: 0.12
136
137# -------------------------------------------------------------------------
138# Setup the absorption, conversion efficiency and angular acceptance
139# -------------------------------------------------------------------------
140MirrorReflectivity.FileName: resmc/hawcseye/reflectivity.txt
141PhotonDetectionEfficiency.FileName: resmc/hawcseye/pde.txt
142ConesAngularAcceptance.FileName: resmc/hawcseye/cones-angular-acceptance.txt
143ConesTransmission.FileName: resmc/fact/Transmittance_1439Cones_FACT_bearbeitet.txt
144
145# Skipped otherwise due to CEFFIC option
146SimPhotonDetectionEfficiency.Force: Yes
147SimMirrorReflectivity.Force: Yes
148
149
150# 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.
151
152AdditionalPhotonAcceptance.Function.Name: 0.8
153AdditionalPhotonAcceptance.Function.Npx: 100
154AdditionalPhotonAcceptance.Function.Xmin: 290
155AdditionalPhotonAcceptance.Function.Xmax: 900
156
157# -------------------------------------------------------------------------
158# Setup what in MMCS would be called "additional spot size"
159# -------------------------------------------------------------------------
160#MSimPSF.Sigma: -1
161#MSimReflector.DetectorMargin: 0
162
163# -------------------------------------------------------------------------
164# Setup the dark counts (FrequencyFixed) and the NSB noise per cm^2
165# -------------------------------------------------------------------------
166# Turn off some checks: ONLY(!!!) for testing purposes
167MSimRandomPhotons.Force: Yes
168# Dark Counts per APD: ~4MHz
169#MSimRandomPhotons.FrequencyFixed: 0.004
170# NSB photon rate per cm^2 ~40MHz (folded with the cones' angular
171# acceptance and the wavelength acceptance of the camera (window, apd, etc)
172# 0.040 1/ns/cm^2 NSB-rate:
173#MSimRandomPhotons.FrequencyNSB: 0.025
174
175# FIXME: With a class describing the cones we could give NSB as
176# per sr and cm^2
177
178# -------------------------------------------------------------------------
179# Setup the trigger
180# -------------------------------------------------------------------------
181# This line could be omitted but then the discriminator would be
182# evaluated for all pixels not just for the pixels which are
183# later "connected" in the trigger (used in the coincidence map)
184# MSimTrigger.FileNameRouteAC: resmc/fact/magic-trigger-1NN.txt
185
186MSimTrigger.FileNameRouteAC: resmc/hawcseye/trigger.txt
187
188# DiscriminatorThreshold is 9*offset(-1850)+21*gain(22.375)=16180.125
189MSimTrigger.DiscriminatorThreshold: -16180.125
190
191# Every Pixel(!) should see the same signal independant of its size
192MSimCalibrationSignal.NumPhotons: 24
193MSimCalibrationSignal.NumEvents: 1000
194
195# This is in nano-seconds (Mars-new) to be independent of the sampling frequency
196# This is in samples (Mars-new2) to be independent of the sampling frequency
197IntendedPulsePos.Val: 150
198
199#PulseShape.Function.Name: exp(-(x/2)^2/2)
200#PulseShape.FileName: resmc/fact/dwarf-pulse.txt
201
202# -------------------------------------------------------------------------
203# Description how a pedestal/calibration signal is produced
204# -------------------------------------------------------------------------
205
206#MSimCalibrationSignal.NumEvents: 1000
207#MSimCalibrationSignal.NumPhotons: 5
208#MSimCalibrationSignal.TimeJitter: 1.0
209
210
211# -------------------------------------------------------------------------
212# Setup the FADC
213# -------------------------------------------------------------------------
214
215MRawRunHeader.SamplingFrequency: 2000
216MRawRunHeader.NumSamples: 1024
217MRawRunHeader.NumBytesPerSample: 2
218MRawRunHeader.FadcResolution: 12
219
220MSimCamera.DefaultOffset: -1850.0
221MSimCamera.DefaultNoise: 2.8125
222MSimCamera.DefaultGain: 22.375
223
224# Value for the fudgefactor in the calculation of the accoupling:
225MSimCamera.ACFudgeFactor: 0.3367
226MSimCamera.ACTimeConstant: 20
227
228#MSimReadout.fConversionFactor: 1
229
230# The number of sampling points is almost irrelevant because they
231# are equidistant, i.e. calculated and no search is necessary.
232# Nevertheless, you must make sure that there are enough points
233# to sample the function accuratly enough.
234# Attention: x in the function is given in slices, so if you change the sampling
235# frequency you have to change also this function
236PulseShape.Function.Name: (1.626*(1-exp(-0.3803*0.5*x))*exp(-0.0649*0.5*x))
237PulseShape.Function.Npx: 900
238PulseShape.Function.Xmin: 0
239PulseShape.Function.Xmax: 300
240
241# -------------------------------------------------------------------------
242# Setup an image cleaning on the pure gamma signal (without noise)
243# -------------------------------------------------------------------------
244
245#MImgCleanStd.CleanLevel1: 6.0
246#MImgCleanStd.CleanLevel2: 6.0
247
248# -------------------------------------------------------------------------
249# This is a cut executed after the calculation of the image parameters
250# -------------------------------------------------------------------------
251Cut.Inverted: Yes
252
253#Cut.Condition: MNewImagePar.fNumUsedPixels>3 && MHillas.fSize>6
254Cut.Condition: MHillas.fSize>10
255#&& MHillas.fSize>30
256#MSimTrigger.SimulateElectronics: Off
257
258# Does not trigger anyway
259ContEmpty3.Condition: MPhotonEvent.GetNumPhotons<10
260
261MFixTimeOffset.FileName: resmc/fact/pixel_delays_ALL_ZERO.csv
262# MFixTimeOffset.FileName: resmc/fact/AllPhidoFiles_delays.csv
263
264ResidualTimeSpread.Val: 0.0
265GapdTimeJitter.Val: 0.0
266
267# last line comment
Note: See TracBrowser for help on using the repository browser.