source: trunk/Mars/ganymed_wobble.rc@ 10107

Last change on this file since 10107 was 9448, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 9.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# 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 -0.001
55#MPointingDevCalc.Dy -0.004
56#MPointingDevCalc.MaxAge 1.0
57
58MPointingDevCalc.PointingModels: 1 81855 83722 89180 267253 291104 328198 1000534
59
60# -------------------------------------------------------------------------
61# Setup misfocussing correction (see class reference for MSrcPosCorrect)
62# -------------------------------------------------------------------------
63#MSrcPosCorrect.Dx: 0
64#MSrcPosCorrect.Dy: 0
65
66# -------------------------------------------------------------------------
67# Setup fit mode and ranges
68# -------------------------------------------------------------------------
69#MAlphaFitter.SignalIntegralMax: 15
70#MAlphaFitter.SignalFitMax: 25
71#MAlphaFitter.BackgroundFitMin: 35
72#MAlphaFitter.BackgroundFitMax: 75
73#MAlphaFitter.ScaleMin: 35
74#MAlphaFitter.ScaleMax: 80
75#MAlphaFitter.PolynomOrder: 2
76#MAlphaFitter.ScaleMode: None
77
78# -------------------------------------------------------------------------
79# Define here which histogram class to use to determin the signal.
80# Currently availyble: MHAlpha, MHTheta <default>
81# -------------------------------------------------------------------------
82#MJCut.NameHist: MHAlpha
83
84# -------------------------------------------------------------------------
85# Define here the number of off-source regions used in wobble mode
86# -------------------------------------------------------------------------
87#MJCut.NumOffSourcePositions: 3
88
89# -------------------------------------------------------------------------
90# To get a meaningfull false source plot in wobble mode use magic cuts
91# and the following two lines.
92# -------------------------------------------------------------------------
93MJCut.NameHistFS: MHDisp
94
95MHDisp.Wobble: Yes
96MHDisp.Smearing: 0.06
97#MHDisp.ScaleMin: 0.325
98#MHDisp.ScaleMax: 0.475
99
100# -------------------------------------------------------------------------
101# Use this to set the number of bins corresponding to the signal region
102# and if you use a Anti-Theta cut the second one has to be enabled
103# -------------------------------------------------------------------------
104#MHPhi.NumBinsSignal: 2
105#MHPhi.UseAntiPhiCut: No
106
107# -------------------------------------------------------------------------
108# There are three cuts:
109# CutQ: Cut after reading file
110# Cut0: After calculation of src dependent parameters, energy estimation
111# and disp calculation, before writing summary file
112# Cut1: After writing summary file before filling false source plots
113# Cut2: After filling false source plots before filling alpha plots
114# Cut3: After filling alpha plots (eg. Alpha cuts) for image parameter
115# display, eg. write only events after alpha cut to ganymed file
116# -------------------------------------------------------------------------
117CutQ.Inverted: Yes
118Cut0.Inverted: Yes
119Cut1.Inverted: Yes
120Cut2.Inverted: Yes
121Cut3.Inverted: Yes
122
123# Quality-cuts (remove unphysical and obvious non-gamma events)
124CutQ.Condition: {0} && {1} && {2} && {3} && {4} && {5}
125CutQ.0: MImagePar.fNumIslands<3
126CutQ.1: MNewImagePar.fNumUsedPixels>5
127CutQ.2: MNewImagePar.fLeakage1 < 0.3
128CutQ.3: log10(MNewImagePar.fConcCOG)<-0.45+0.08*(log10(MHillas.fSize)<3.9)*(log10(MHillas.fSize)-3.9)^2
129CutQ.4: log10(MNewImagePar.fConc1) <-0.75+0.10*(log10(MHillas.fSize)<3.8)*(log10(MHillas.fSize)-3.8)^2
130CutQ.5: MHillas.fLength>-3.6*(log10(MHillas.fSize)-6.0)^2+70
131
132# -------------------------------------------------------------------------
133# Such a cut could be used to exclude strange pointing positions. like
134# the camera center in wobble mode. Note, that a cut in the poiting
135# position directly influences the effective observation time and should
136# only be applied if the events are lost anyhow. In both cases you must
137# correct for the loss of observation time calculating your flux!
138# -------------------------------------------------------------------------
139#Cut0.Condition: MSrcPosCam.GetDist*MGeomCam.fConvMm2Deg>0.3
140
141# ---------- SETUP FOR WOBBLE-MODE -----------
142#MAlphaFitter.ScaleMode: none
143MAlphaFitter.BackgroundFitMin: 0.09
144MAlphaFitter.BackgroundFitMax: 0.25
145MAlphaFitter.PolynomOrder: 1
146MAlphaFitter.SignalFunction: ThetaSq
147
148# For more details on the magic cuts see its class reference
149Cut1.Condition: MFMagicCuts
150Cut1.ThetaCut: None
151# Parametrization of Disp
152Cut1.Param0: 1.15136
153Cut1.Param8: 0.0681437
154Cut1.Param9: 2.62932
155Cut1.Param10: 1.51279
156Cut1.Param11: 0.0507821
157# Parametrization for sign of disp (m3long, slope)
158Cut1.Param5: -0.07
159Cut1.Param6: 7.2
160Cut1.Param7: 0.5
161# ThetaSq-Cut
162Cut1.Param1: 0.215
163# Area-Cut
164Cut1.Param2: 0.215468
165Cut1.Param3: 5.63973
166Cut1.Param4: 0.0836169
167
168# To switch on random forest uncomment the following lines
169#Cut1.HadronnessCut: Hadronness
170#Cut1.Param13: 0.5
171#Cut1.Param14: 100
172
173# To use both, hadronness and area cut do
174#Cut1.HadronnessCut: All
175
176# -------------------------------------------------------------------------
177# This cut is applied exclusively to the plots in the tab CutT. It is
178# resonable to show the events within your signal region here to
179# see if your signal region is clean from strange events (e.g. sparks)
180# -------------------------------------------------------------------------
181CutT.Condition: ThetaSquared.fVal < ThetaSquaredCut.fVal
182
183# -------------------------------------------------------------------------
184# Use this to executa a task (eg to calc hadronness) before Cut1
185# -------------------------------------------------------------------------
186# CalcHadronness: MRanForestCalc
187# CalcHadronness.FileName: rf-separation.root
188# CalcHadronness.NameOutput: Hadronness
189# CalcHadronness.Debug: No
190
191# -------------------------------------------------------------------------
192# Use this to executa a task (eg to calc disp) before Cut1
193# -------------------------------------------------------------------------
194# CalcDisp: MRanForestCalc
195# CalcDisp.FileName: rf-disp.root
196# CalcDisp.NameOutput: Disp
197# CalcDisp.Debug: No
198# Cut1.CalcDisp: No
199
200# CalcDisp: MParameterCalc
201# CalcDisp.Rule: 1.15*(1-MHillas.fWidth/MHillas.fLength)
202# CalcDisp.NameOutput: Disp
203# Cut1.CalcDisp: No
204
205# -------------------------------------------------------------------------
206# Use this to executa a task (eg to estimate energy) after all Cuts
207# -------------------------------------------------------------------------
208# EstimateEnergy: MRanForestCalc
209# EstimateEnergy.NameOutput: MEnergyEst
210# EstimateEnergy.FileName: ranforest.root
211# EstimateEnergy.Debug: No
Note: See TracBrowser for help on using the repository browser.