source: trunk/MagicSoft/Mars/ganymed_wobble.rc@ 8721

Last change on this file since 8721 was 8721, checked in by tbretz, 17 years ago
*** empty log message ***
File size: 8.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# -------------------------------------------------------------------------
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# For details see the class reference of MPointingDevCalc
48# -------------------------------------------------------------------------
49#MPointingDevCalc.MaxAbsDev: 15
50#MPointingDevCalc.NumMinStars: 8
51#MPointingDevCalc.NsbLevel: 3.0
52#MPointingDevCalc.NsbMin: 30
53#MPointingDevCalc.NsbMax: 60
54#MPointingDevCalc.Dx -2
55#MPointingDevCalc.Dy -12
56#MPointingDevCalc.MaxAge 1.0
57
58# -------------------------------------------------------------------------
59# Setup misfocussing correction (see class reference for MSrcPosCorrect)
60# -------------------------------------------------------------------------
61#MSrcPosCorrect.Dx: 0
62#MSrcPosCorrect.Dy: 0
63
64# -------------------------------------------------------------------------
65# Setup fit mode and ranges
66# -------------------------------------------------------------------------
67#MAlphaFitter.SignalIntegralMax: 15
68#MAlphaFitter.SignalFitMax: 25
69#MAlphaFitter.BackgroundFitMin: 35
70#MAlphaFitter.BackgroundFitMax: 75
71#MAlphaFitter.ScaleMin: 35
72#MAlphaFitter.ScaleMax: 80
73#MAlphaFitter.PolynomOrder: 2
74#MAlphaFitter.ScaleMode: None
75
76# -------------------------------------------------------------------------
77# Define here which histogram class to use to determin the signal.
78# Currently availyble: MHAlpha, MHTheta <default>
79# -------------------------------------------------------------------------
80#MJCut.NameHist: MHAlpha
81
82# -------------------------------------------------------------------------
83# Define here the number of off-source regions used in wobble mode
84# -------------------------------------------------------------------------
85MJCut.NumOffSourcePositions: 3
86
87# -------------------------------------------------------------------------
88# To get a meaningfull false source plot in wobble mode use magic cuts
89# and the following two lines.
90# -------------------------------------------------------------------------
91MJCut.NameHistFS: MHDisp
92
93MHDisp.Wobble: Yes
94MHDisp.Smearing: 0.06
95#MHDisp.ScaleMin: 0.325
96#MHDisp.ScaleMax: 0.475
97
98# -------------------------------------------------------------------------
99# Use this to set the number of bins corresponding to the signal region
100# and if you use a Anti-Theta cut the second one has to be enabled
101# -------------------------------------------------------------------------
102#MHPhi.NumBinsSignal: 2
103#MHPhi.UseAntiPhiCut: No
104
105# -------------------------------------------------------------------------
106# There are three cuts:
107# CutQ: Cut after reading file
108# Cut0: After calculation of src dependant parameters, energy estimation
109# and disp calculation, before writing summary file
110# Cut1: After writing summary file before filling false source plots
111# Cut2: After filling false source plots before filling alpha plots
112# Cut3: After filling alpha plots (eg. Alpha cuts) for image parameter
113# display, eg. write only events after alpha cut to ganymed file
114# -------------------------------------------------------------------------
115CutQ.Inverted: Yes
116Cut0.Inverted: Yes
117Cut1.Inverted: Yes
118Cut2.Inverted: Yes
119Cut3.Inverted: Yes
120
121# Quality-cuts (remove unphysical and obvious non-gamma events)
122CutQ.Condition: {0} && {1} && {2} && {3} && {4} && {5}
123CutQ.0: MImagePar.fNumIslands<3
124CutQ.1: MNewImagePar.fNumUsedPixels>5
125CutQ.2: MNewImagePar.fLeakage1 < 0.3
126CutQ.3: log10(MNewImagePar.fConcCOG)<-0.45+0.08*(log10(MHillas.fSize)<3.9)*(log10(MHillas.fSize)-3.9)^2
127CutQ.4: log10(MNewImagePar.fConc1) <-0.75+0.10*(log10(MHillas.fSize)<3.8)*(log10(MHillas.fSize)-3.8)^2
128CutQ.5: MHillas.fLength>-(log10(MHillas.fSize)-4.7)^2*5+50
129
130# -------------------------------------------------------------------------
131# Such a cut could be used to exclude strange pointing positions. like
132# the camera center in wobble mode. Note, that a cut in the poiting
133# position directly influences the effective observation time and should
134# only be applied if the events are lost anyhow. In both cases you must
135# correct for the loss of observation time calculating your flux!
136# -------------------------------------------------------------------------
137#Cut0.Condition: MSrcPosCam.GetDist*MGeomCam.fConvMm2Deg>0.3
138
139# ---------- SETUP FOR WOBBLE-MODE -----------
140#MAlphaFitter.ScaleMode: none
141MAlphaFitter.BackgroundFitMin: 0.09
142MAlphaFitter.BackgroundFitMax: 0.25
143MAlphaFitter.PolynomOrder: 1
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# This cut is applied exclusively to the plots in the tab CutT. It is
176# resonable to show the events within your signal region here to
177# see if your signal region is clean from strange events (e.g. sparks)
178# -------------------------------------------------------------------------
179CutT.Condition: ThetaSquared.fVal < ThetaSquaredCut.fVal
180
181# -------------------------------------------------------------------------
182# Use this to executa a task (eg to calc hadronness) before Cut1
183# -------------------------------------------------------------------------
184# CalcHadronness: MRanForestCalc
185# CalcHadronness.FileName: rf-separation.root
186# CalcHadronness.NameOutput: Hadronness
187# CalcHadronness.Debug: No
188
189# -------------------------------------------------------------------------
190# Use this to executa a task (eg to calc disp) before Cut1
191# -------------------------------------------------------------------------
192# CalcDisp: MRanForestCalc
193# CalcDisp.FileName: rf-disp.root
194# CalcDisp.NameOutput: Disp
195# CalcDisp.Debug: No
196# Cut1.CalcDisp: No
197
198# CalcDisp: MParameterCalc
199# CalcDisp.Rule: 1.15*(1-MHillas.fWidth/MHillas.fLength)
200# CalcDisp.NameOutput: Disp
201# Cut1.CalcDisp: No
202
203# -------------------------------------------------------------------------
204# Use this to executa a task (eg to estimate energy) after all Cuts
205# -------------------------------------------------------------------------
206# EstimateEnergy: MRanForestCalc
207# EstimateEnergy.NameOutput: MEnergyEst
208# EstimateEnergy.FileName: ranforest.root
209# EstimateEnergy.Debug: No
Note: See TracBrowser for help on using the repository browser.