source: trunk/MagicSoft/Mars/ganymed_onoff.rc@ 8709

Last change on this file since 8709 was 8668, checked in by tbretz, 17 years ago
*** empty log message ***
File size: 8.0 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# Cuts
21# ==========================================================================
22#############################################################################
23# ==========================================================================
24
25# -------------------------------------------------------------------------
26# Use this if you want to write output to somewhere here you can give
27# the output path
28# -------------------------------------------------------------------------
29#MJCuts.PathOut: .
30
31# -------------------------------------------------------------------------
32# Use this to setup binnings. For more details see: MBinning::ReadEnv
33# -------------------------------------------------------------------------
34BinningAlpha.Raw: 36 0 90
35BinningFalseSource.Raw: 91 -1.5 1.5
36BinningWidth.Raw: 50 0 1
37BinningLength.Raw: 25 0 1
38BinningDist.Raw: 25 0 2
39BinningAsym.Raw: 51 -0.7 0.7
40BinningM3Long.Raw: 51 -0.7 0.7
41BinningM3Trans.Raw: 51 -0.7 0.7
42BinningSlope.Raw: 51 -7.5 7.5
43
44# -------------------------------------------------------------------------
45# Using the starguider for pointing correction.
46# To switch it off use "MPointingDevCalc.MaxAbsDev: -1"
47# -------------------------------------------------------------------------
48#MPointingDevCalc.MaxAbsDev: 15
49#MPointingDevCalc.NumMinStars: 8
50#MPointingDevCalc.NsbLevel: 3.0
51#MPointingDevCalc.NsbMin: 30
52#MPointingDevCalc.NsbMax: 60
53#MPointingDevCalc.Dx -7
54#MPointingDevCalc.Dy 16
55#MPointingDevCalc.MaxAge 1.0
56
57# -------------------------------------------------------------------------
58# Setup the misfocussing correction
59# -------------------------------------------------------------------------
60#MSrcPosCorrect.Dx: 0
61#MSrcPosCorrect.Dy: 0
62
63# -------------------------------------------------------------------------
64# Setup fit mode and ranges
65# -------------------------------------------------------------------------
66#MAlphaFitter.SignalIntegralMax: 15
67#MAlphaFitter.SignalFitMax: 25
68#MAlphaFitter.BackgroundFitMin: 35
69#MAlphaFitter.BackgroundFitMax: 75
70#MAlphaFitter.ScaleMin: 35
71#MAlphaFitter.ScaleMax: 80
72#MAlphaFitter.PolynomOrder: 2
73#MAlphaFitter.ScaleMode: None
74
75# -------------------------------------------------------------------------
76# Define here which histogram class to use to determin the signal.
77# Currently availyble: MHAlpha, MHTheta <default>
78# -------------------------------------------------------------------------
79#MJCut.NameHist: MHAlpha
80
81# Be carefull: The spectrum might be done with a different binning
82# This might change the scale factor
83#MHThetaSq.NumBinsSignal: 3
84#MHThetaSq.NumBinsTotal: 75
85
86# -------------------------------------------------------------------------
87# To get a meaningfull false source plot in wobble mode use magic cuts
88# and the following two lines.
89# -------------------------------------------------------------------------
90MJCut.NameHistFS: MHDisp
91
92MHDisp.Smearing: 0.06
93#MHDisp.ScaleMin: 0.325
94#MHDisp.ScaleMax: 0.475
95
96# -------------------------------------------------------------------------
97# To get use a random source position in the off data with the distribution
98# in the camera of the on-data
99# -------------------------------------------------------------------------
100MJCut.RandomSourcePosition: Yes
101
102# -------------------------------------------------------------------------
103# There are three cuts:
104# CutQ: Cut after reading file
105# Cut0: After calculation of src dependent parameters, energy estimation
106# and disp calculation, before writing summary file
107# Cut1: After writing summary file before filling false source plots
108# Cut2: After filling false source plots before filling alpha plots
109# Cut3: After filling alpha plots (eg. Alpha cuts) for image parameter
110# display, eg. write only events after alpha cut to ganymed file
111# -------------------------------------------------------------------------
112CutQ.Inverted: Yes
113Cut0.Inverted: Yes
114Cut1.Inverted: Yes
115Cut2.Inverted: Yes
116Cut3.Inverted: Yes
117
118# Get rid of triangular events...
119CutQ.Condition: {0} && {1} && {2} && ({3} || {4})
120#CutQ.Condition: {0} && {1} && {2} && ({3} || {4}) && {5}
121CutQ.0: MImagePar.fNumIslands<3
122CutQ.1: MNewImagePar.fNumUsedPixels>5
123CutQ.2: MNewImagePar.fLeakage1 < 0.3
124CutQ.3: MNewImagePar.fConcCOG<0.25
125CutQ.4: log10(MNewImagePar.fConcCOG)<-0.3*(log10(MHillas.fSize)-2.5)-0.24
126CutQ.5: MImagePar.fNumSatPixelsLG < 2
127
128# -------------------------------------------------------------------------
129# Such a cut could be used to exclude starnge pointing positions. like
130# the camera center in wobble mode. However this directly influences the
131# effective observation time, which must then be corrected manually!
132# It is currently not recommended to use such a cut except for tests!
133# -------------------------------------------------------------------------
134#Cut0.Condition: MSrcPosCam.GetDist*MGeomCam.fConvMm2Deg>0.3
135
136
137# ---------- SETUP FOR ONOFF-MODE -----------
138MAlphaFitter.ScaleMin: 0.137
139MAlphaFitter.ScaleMax: 0.640
140MAlphaFitter.BackgroundFitMin: 0.137
141MAlphaFitter.BackgroundFitMax: 1.000
142MAlphaFitter.PolynomOrder: 1
143MAlphaFitter.ScaleMode: OffRegion
144MAlphaFitter.SignalFunction: ThetaSq
145
146# For more details on the magic cuts see its class reference
147Cut1.Condition: MFMagicCuts
148Cut1.ThetaCut: None
149# Parametrization of Disp
150Cut1.Param0: 1.15136
151Cut1.Param8: 0.0681437
152Cut1.Param9: 2.62932
153Cut1.Param10: 1.51279
154Cut1.Param11: 0.0507821
155# Parametrization for sign of disp (m3long, slope)
156Cut1.Param5: -0.07
157Cut1.Param6: 7.2
158Cut1.Param7: 0.5
159# ThetaSq-Cut
160Cut1.Param1: 0.215
161# Area-Cut
162Cut1.Param2: 0.215468
163Cut1.Param3: 5.63973
164Cut1.Param4: 0.0836169
165
166# To switch on random forest uncomment the following lines
167#Cut1.HadronnessCut: Hadronness
168#Cut1.Param14: 0.5
169#Cut1.Param15: 100
170
171# To use both, hadronness and area cut do
172#Cut1.HadronnessCut: All
173
174# -------------------------------------------------------------------------
175# Use this to executa a task (eg to calc hadronness) before Cut1
176# -------------------------------------------------------------------------
177# CalcHadronness: MRanForestCalc
178# CalcHadronness.FileName: rf-separation.root
179# CalcHadronness.NameOutput: Hadronness
180# CalcHadronness.Debug: No
181
182# -------------------------------------------------------------------------
183# Use this to executa a task (eg to calc disp) before Cut1
184# -------------------------------------------------------------------------
185# CalcDisp: MRanForestCalc
186# CalcDisp.FileName: rf-disp.root
187# CalcDisp.NameOutput: Disp
188# CalcDisp.Debug: No
189# Cut1.CalcDisp: No
190
191# -------------------------------------------------------------------------
192# Use this to executa a task (eg to estimate energy) after all Cuts
193# -------------------------------------------------------------------------
194# EstimateEnergy: MRanForestCalc
195# EstimateEnergy.NameOutput: MEnergyEst
196# EstimateEnergy.FileName: ranforest.root
197# EstimateEnergy.Debug: No
Note: See TracBrowser for help on using the repository browser.