source: branches/AddingGoogleTestEnvironment/ceres.rc@ 18233

Last change on this file since 18233 was 18009, checked in by smueller, 10 years ago
New feature: Fix temporal offsets in between the pixels can be simulated and defined in a text file. This is solving ticket #9
File size: 9.7 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# -------------------------------------------------------------------------
137# Setup what in MMCS would be called "additional spot size"
138# -------------------------------------------------------------------------
139#MSimPSF.Sigma: -1
140#MSimReflector.DetectorMargin: 0
141
142# -------------------------------------------------------------------------
143# Setup the dark counts (FrequencyFixed) and the NSB noise per cm^2
144# -------------------------------------------------------------------------
145# Dark Counts per APD: ~4MHz
146#MSimRandomPhotons.FrequencyFixed: 0.004
147# NSB photon rate per cm^2 ~40MHz (folded with the cones' angular
148# acceptance and the wavelength acceptance of the camera (window, apd, etc)
149# 0.040 1/ns/cm^2 NSB-rate:
150#MSimRandomPhotons.FrequencyNSB: 0.025
151
152# FIXME: With a class describing the cones we could give NSB as
153# per sr and cm^2
154
155# -------------------------------------------------------------------------
156# Setup the trigger
157# -------------------------------------------------------------------------
158# This line could be omitted but then the discriminator would be
159# evaluated for all pixels not just for the pixels which are
160# later "connected" in the trigger (used in the coincidence map)
161# MSimTrigger.FileNameRouteAC: resmc/fact/magic-trigger-1NN.txt
162
163MSimTrigger.FileNameRouteAC: resmc/fact/fact-trigger-sum.txt
164
165# DiscriminatorThreshold is 9*offset(-1850)+21*gain(22.375)=16180.125
166MSimTrigger.DiscriminatorThreshold: -16180.125
167
168# Every Pixel(!) should see the same signal independant of its size
169MSimCalibrationSignal.NumPhotons: 24
170MSimCalibrationSignal.NumEvents: 1000
171
172IntendedPulsePos.Val: 25
173
174#PulseShape.Function.Name: exp(-(x/2)^2/2)
175#PulseShape.FileName: resmc/fact/dwarf-pulse.txt
176
177# -------------------------------------------------------------------------
178# Description how a pedestal/calibration signal is produced
179# -------------------------------------------------------------------------
180
181#MSimCalibrationSignal.NumEvents: 1000
182#MSimCalibrationSignal.NumPhotons: 5
183#MSimCalibrationSignal.TimeJitter: 1.0
184
185
186# -------------------------------------------------------------------------
187# Setup the FADC
188# -------------------------------------------------------------------------
189
190MRawRunHeader.SamplingFrequency: 2000
191MRawRunHeader.NumSamples: 300
192MRawRunHeader.NumBytesPerSample: 2
193MRawRunHeader.FadcResolution: 12
194
195MSimCamera.DefaultOffset: -1850.0
196MSimCamera.DefaultNoise: 2.8125
197MSimCamera.DefaultGain: 22.375
198
199# Value for the fudgefactor in the calculation of the accoupling:
200MSimCamera.ACFudgeFactor: 0.3367
201MSimCamera.ACTimeConstant: 20
202
203#MSimReadout.fConversionFactor: 1
204
205# The number of sampling points is almost irrelevant because they
206# are equidistant, i.e. calculated and no search is necessary.
207# Nevertheless, you must make sure that there are enough points
208# to sample the function accuratly enough.
209# Attention: x in the function is given in slices, so if you change the sampling
210# frequency you have to change also this function
211PulseShape.Function.Name: (1.626*(1-exp(-0.3803*0.5*x))*exp(-0.0649*0.5*x))
212PulseShape.Function.Npx: 300
213PulseShape.Function.Xmin: 0
214PulseShape.Function.Xmax: 300
215
216# -------------------------------------------------------------------------
217# Setup an image cleaning on the pure gamma signal (without noise)
218# -------------------------------------------------------------------------
219
220#MImgCleanStd.CleanLevel1: 6.0
221#MImgCleanStd.CleanLevel2: 6.0
222
223# -------------------------------------------------------------------------
224# This is a cut executed after the calculation of the image parameters
225# -------------------------------------------------------------------------
226Cut.Inverted: Yes
227
228#Cut.Condition: MNewImagePar.fNumUsedPixels>3 && MHillas.fSize>6
229Cut.Condition: MHillas.fSize>10
230#&& MHillas.fSize>30
231#MSimTrigger.SimulateElectronics: Off
232
233# Does not trigger anyway
234ContEmpty3.Condition: MPhotonEvent.GetNumPhotons<10
235
236MFixTimeOffset.FileName: resmc/fact/pixel_delays_ALL_ZERO.csv
237# MFixTimeOffset.FileName: resmc/fact/AllPhidoFiles_delays.csv
238
239# last line comment
Note: See TracBrowser for help on using the repository browser.